I said suffix tree is the best way to go, so he asked me how will a node of that tree will look like?
Programmer Trainee Interview Questions
712,660 programmer trainee interview questions shared by candidates
Given a binary tree, print the average of each level.
Find the two largest numbers in an array
Why Accenture?
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
There was only one question. How to compress a string? If "AAABBAAA" the resultant string should be 3A2B3A.
1. Given a string, find the smallest window with greatest no. of distinct characters 2. k sorted array. 3. longest distance between a node and its ancestor.
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.
Write a program to find the square root of a double.
Viewing 901 - 910 interview questions