You have a large data file, consisting of ten-digit numbers separated by new-line characters. Write a program in C to sort it, using at most 20MB of memory. Make it efficient.
Software Developers Interview Questions
96,294 software developers interview questions shared by candidates
int i=14; if (i=15) i++; How much is i?
1. Write a function to implement the "cat" command in Linux 2. Find the first character that only appears once in the whole string
How do you write an algorithm to count all subsets of strings in a string.
you have two eggs, and a 100 storey building, find out the highest floor to throw them from so that they wont break, and in minimum number of tries.
You have 25 horses, and you want to know which are the top 3 fastest, but you don't have a stopwatch. You can race the horses, but the track is only big enough to fit 5 horses at a time. How do you find the first, second and third fastest horses using the least amount of races possible?
The two technical interviews towards the end were trying to find out if I had a particular skill set. I'm not sure what that is... The other interview with manager was broad and felt very comfortable.
There is a clock which shows false timing ie it shows 10 minutes less for each 1 hour....if the clock shows 12 noon now how many minutes will be lost when it shows 3 pm ?
implement a stack with a method which can return the minimal value in the stack without remove this value.
Viewing 161 - 170 interview questions