They gave me a problem in which I had to find the next largest number of a given integer, where the next largest number can consist only of a combination of 3s and 5s. ex: number: 23 output: 33, number: 129 output: 333, number: 432 output: 533
Engineer Interview Questions
1,135,842 engineer interview questions shared by candidates
Business case.
Give an algorithm to find the kth largest element in an unsorted vector of integers.
Given a race track with 5 lanes, 25 bunnies, and no timer, how many races are required to find the top 3 fastest bunnies?
Was asked a very interesting tree problem.Given a tree and a number N, construct another tree such that each node of the tree has either 0 or N elements,except for one node which has between 0 to N elements.Only other constraint is that ancestry is preserved in the new tree.
Fastest way to find the middle node in a linked list
In java and using math, check if a number is a palindrome.
Write a function that takes in an array and repeats an integer that appears the most.
Given a string of Rs and Gs, design an algorithm to produce a string with Rs in the front and Gs after that. The number of flips from Rs to Gs or otherwise should be minimum. The number of Rs and Gs in the end need not be same as that in the beginning, however the length of the entire string should be the same.
Last project and how you handle the difficult situation in the project
Viewing 1271 - 1280 interview questions