There are 2 ropes which both last for 1 hour when burning. Use these 2 ropes to get 1 hour and a half.
Desarrollador Python Junior Interview Questions
716,746 desarrollador python junior interview questions shared by candidates
sort binary array with minimum time complexity
Why do you want to work for Apple
Flatten a list containing n sublists. Ex: [3, 4, [4, [[55]]]] -> [3, 4, 4, 55]
You have an array randomly filled with red, blue and green items. How do you order this list so the red items are at the beginning, followed by the blue ones, followed by the green ones? The algorithm should be in-place (no extra storage, or only constant extra storage) and the algorithm should only walk threw the array once (every position can only be read once).
4)write program to remove duplicate in an array
Given an int array, find the sequence of elements that has the largest sum
You have a pile of coins. One of them is counterfeit, and its weight is different from the other coins. All of the other coins weigh the same. You are given a balance. How would you find the counterfeit coin? Now code it up.
Write a function that determines if a tree is a BST or not
In technical round I was asked one puzzle. 3 tyres will be given whose lifetime is 5km each. For how many kilo-meters you can ride a bike ?
Viewing 1421 - 1430 interview questions