You have words separated by white spaces. You need to reverse their order in place.
Programmer Intern Interview Questions
716,481 programmer intern interview questions shared by candidates
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
copy ctor, operator overloading, oops concepts, puzzles, data structures.
Write an algorithm to verify if a tree is a binary search tree.
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.
Divide two numbers without using / or % and return quotient.
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 931 - 940 interview questions