• 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

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

Cisco Hiring Event 21st – 22nd Feb 2015

25 horses 5 tracks Find 3 fastest puzzle

Maximum size of square sub matrix with all 1’s in a binary matrix

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

Count Possible Decodings of a given Digit Sequence

Length of the longest substring without repeating characters

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

N teams are participating. each team plays twice with all other teams. Some of them will go to the semi final. Find Minimum and Maximum number of matches that a team has to win to qualify for finals ?

C++ OOPs Part1

The greedy coins game Dynamic Programming

Naurki.com Security Breach

Level order traversal in Spiral form

Hackerearth : Counting Subarrays

Print all nodes that are at distance k from a leaf node

C++ OOPs Part2

Find min element in Sorted Rotated Array (Without Duplicates)

BlueStone E-commerce Interview Experience

Facebook Interview Question : Interleave List

Reverse a Linked List in groups of given size

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

Binary Tree in Java

Find the number ABCD such that when multipled by 4 gives DCBA.

Password Predictor

Trapping Rain Water

DFS (Depth First Search)

Fibonacci Hashing & Fastest Hashtable

There are N nuts and N bolts, u have to find all the pairs of nuts and bolts in minimum no. of iteration

Knight Tour Problem (Graph – Breadth First Search)

Reliance Jio Software Developer Interview Experience

Copyright © 2025 · Genesis Framework · WordPress · Log in