• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to secondary sidebar

GoHired

Interview Questions asked in Google, Microsoft, Amazon

Join WeekEnd Online Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

  • Home
  • Best Java Books
  • Algorithm
  • Internship
  • Certificates
  • About Us
  • Contact Us
  • Privacy Policy
  • Array
  • Stack
  • Queue
  • LinkedList
  • DP
  • Strings
  • Tree
  • Mathametical
  • Puzzles
  • Graph

Unix

C Program for TAIL command of UNIX

April 27, 2015 by Dhaval Dave

/*
* usage: myTail [-n] [<filename>] */

#include <stdio.h>
#include <stdlib.h>

#define MAX_LINE_LEN 1024
#define DEFAULT_N 10

int main(int argc, char *argv[]) {
char **tail;
int count = DEFAULT_N, n, i, headX = 0, tailX 
… Read More

Filed Under: Adobe Interview Questions, Interview Questions, problem Tagged With: c, Unix

Primary Sidebar

Join WeekEnd Online/Offline Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

Join WeekEnd Online/Offline Batch from 4-April-2020

WhatsApp us

Secondary Sidebar

Custom Search

  • How I cracked AMAZON
  • LeetCode
  • Adobe
  • Amazon
  • Facebook
  • Microsoft
  • Hacker Earth
  • CSE Interview

Top Rated Questions

write a c program that given a set a of n numbers and another number x determines whether or not there exist two elements in s whose sum is exactly x

SAP Interview Questions

Subset Sum Problem Dynamic programming

Code Chef PRGIFT Solution

Generic Object Oriented Stack with Template

Given a float number convert it into the string WITHOUT using any inbuilt Function

Implement LRU Cache

Get Minimum element in O(1) from input numbers or Stack

N Petrol bunks or City arranged in circle. You have Fuel and distance between petrol bunks. Is it possible to find starting point so that we can travel all Petrol Bunks

Maximum path sum between two leaves

SAP Hiring Off-Campus General Aptitude

Client Server C program

Mirror of Tree

Apriori algorithm C Code Data Mining

Amazon Interview Experience – SDE Chennai

Walmart Labs Interview Experience

Find the smallest window in a string containing all characters of another string

HackeEarth Flipkart’s Drone

Length of the longest substring without repeating characters

Reverse a Linked List in groups of given size

CodeChef Code SGARDEN

Closed Parentheses checker

Generate next palindrome number

Search element in a matrix with all rows and columns in sorted order

VMWare Openings

Common Ancestor in a Binary Tree or Binary Search Tree

In Given LinkedList Divide LL in N Sub parts and delete first K nodes of each part

Find two non repeating elements in an array of repeating elements

Edit Distance ( Dynamic Programming )

‘N’ Story Building, with 1,2,3 steps how many ways can a person reach top of building.

Copyright © 2026 · Genesis Framework · WordPress · Log in