• 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

Maximum sum contiguous subarray of an Array

SAP Off Campus Hiring_ March 2015 Verbal Skills

Binary Tree Isomorphic to each other

Mirror of Tree

Find two non repeating elements in an array of repeating elements

CodeChef Code SGARDEN

LeetCode: Binary Tree Maximum Path Sum

Flipkart SDET Interview Experience

Reversal of LinkedList

Binary Tree in Java

Implement LRU Cache

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

Reverse a Linked List in groups of given size

Check a String is SUBSEQUENCE of another String Find Minimum length for that ( DNA Matching )

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

Subset Sum Problem Dynamic programming

Microsoft BING Interview Experience

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

Advanced SQL Injection

Serialise Deserialise N-ary Tree

Password Predictor

Closed Parentheses checker

Wrong Directions given find minimum moves so that he can reach to the destination

Memory Efficient LinkedList

Reliance Jio Software Developer Interview Experience

CodeChef’ RRCOPY

Find and print longest consecutive number sequence in a given sequence in O(n)

Code Chef PRGIFT Solution

Find next greater number with same set of digits

strtok()

Copyright © 2025 · Genesis Framework · WordPress · Log in