Look for a string in a very long string - a needle in a haystack. Write the program in pseudo-code.
Software Engineers Interview Questions
419,174 software engineers interview questions shared by candidates
Use singly linked list to implement the cache (LRU) algorithm. How would you do?
Find the length of the longest chain of consecutive integers in an unsorted set in linear time.
Given array of stick lengths, return number of turns it takes to have no sticks left. Each turn you remove sticks of smallest length and cut that length from the rest of the sticks.
Find the two largest numbers in an array
Given a log of users visit to a site for a day, how would you find returning users given the log visit for another day
Using only putchar how would you print out the ascii values for each digit in an integer. For example if the integer was 123, then you would want to print the ascii values for 1, 2, and 3.
Given an infinite stream of numbers, find the top 50 integers. What's the data structure to use, and what's the time complexity.
There was only one question. How to compress a string? If "AAABBAAA" the resultant string should be 3A2B3A.
Write a program to find the square root of a double.
Viewing 691 - 700 interview questions