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.
Programmer Trainee Interview Questions
712,660 programmer trainee interview questions shared by candidates
You have words separated by white spaces. You need to reverse their order in place.
Reverse a string of words "Hi I am John" as "John am I Hi" without using array functions like split , reverse or join?
Use objective-c write code to return the first repeated integer from a given array, with O(n) time
Write an algorithm to verify if a tree is a binary search tree.
Divide two numbers without using / or % and return quotient.
copy ctor, operator overloading, oops concepts, puzzles, data structures.
In Round 1, Questions were like merge two Strings in alternating manner, one question on pattern matching of 50 marks.
Create a data structure that minimizes time complexity of retrieving median and inserting new element. Getting median should be O(1) and insertion should be O(log(n)).
Reverse an array without using the reverse method, without using a second array, and without duplicating any of the values.
Viewing 911 - 920 interview questions