Given an array of items of three different colors red, green, blue. How would you sort the items in the array so that all the items with a certain color would be grouped together.
Enginner Interview Questions
844,385 enginner interview questions shared by candidates
find duplicated item from an array, output the duplicated item with their times
You have a box of red balls, a box of blue balls, and a box of red and blue balls. What is the minimum number of boxes you can open and know what is the contents of each box?
On a revenue loss of a client
Find the character with longest repitition in the string e.g. aaacccddddeefffffffg the result should be 'f'.
Write a function to find the maximum sum of sub array where the array can have negative and positive numbers.
In a BST write a program to find 2 nodes x and y such that X+y=k
what was a technical difficulty and how have you overcome it.
Print a binary tree level by level in zigzag order
What are different types of interrupts?
Viewing 1231 - 1240 interview questions