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.
Desarrollador Backend Java Interview Questions
711,816 desarrollador backend java interview questions shared by candidates
Write a function that takes in an array and repeats an integer that appears the most.
How immediately you can join
Make recipe APIs for HelloFresh
read in a string and output it backwards
How are you?
Give an example of when you had a angry customer in front of you, and how did handle it?
Give an algorithm to find the kth largest element in an unsorted vector of integers.
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.
Given a race track with 5 lanes, 25 bunnies, and no timer, how many races are required to find the top 3 fastest bunnies?
Viewing 981 - 990 interview questions