• 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

Find min element in Sorted Rotated Array (With Duplicates)

building with N steps, we can take 1,2,3 steps calculate number of ways to reach at top of building

simple sql injection

Linked List V/S Binary Search Tree

Generic Object Oriented Stack with Template

Common Ancestor in a Binary Tree or Binary Search Tree

Find an index i such that Arr [i] = i in array of n distinct integers sorted in ascending order.

Walmart Labs Interview Experience

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

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

Practo Hiring Experience

Binary Tree in Java

Add Sub Multiply very large number stored as string

Check if an array has duplicate numbers in O(n) time and O(1) space

Cisco Hiring Event 21st – 22nd Feb 2015

Convert number to words java

Edit Distance ( Dynamic Programming )

Code Chef PRGIFT Solution

Maximum difference between two elements s.t larger element appears after the smaller number

Calculate price of parking from parking start end time prices

Stickler thief

Print Power Set of a Set

Memory Efficient LinkedList

Test Cases for Round Function

Handle duplicates in Binary Search Tree

Sort an array according to the order defined by another array

Facebook Interview Question : Interleave List

Given Set of words or A String find whether chain is possible from these words or not

VMWare Openings

Printing intermediate Integers between one element & next element of array

Copyright © 2026 · Genesis Framework · WordPress · Log in