puzzle : there is a island and the resident are either blue or black eyed. The residents are trapped in the island and want to leave. One day a foreigner comes and says there are few blue eyed people. He will be sending a steamer to the island every day and blue eyed people can leave. But if a black eyed person approaches the steamer, he will be killed. Constraint: No body knows their eye colour and can't even ask or say the colour to any other person. even cant see their reflection. So how many days is required for all the blue eyed person to leave the island.
Desarrollador E Learning Interview Questions
717,775 desarrollador e learning interview questions shared by candidates
Flatten a list containing n sublists. Ex: [3, 4, [4, [[55]]]] -> [3, 4, 4, 55]
4)write program to remove duplicate in an array
Difference between ArrayList and LinkedList ?
Why do you want to work for Apple
sort binary array with minimum time complexity
Write a function that determines if a tree is a BST or not
You have 25 horses but only a single 5 lane race track. Only 5 horses can race at any time. You don't have a timer or other measurement tools. How many races do you need to run to find the fastest top 3 horses?
What is your age
Problem Statement : 18 Ralway Stations from Tamil Nadu are given. A passenger need ticket. Upto the 5 stations journey, fare is 10 Rs. After the 5 stations, for every 5 stations, 5 Rs extra will be charged. For the full stretch journey i.e. From 1st to the last station, fare is 20 Rs. Input 1 : StationFrom - Guindy, StationTo - Kadambakkam Output 1 : Print ticket. i.e. StationFrom : Guindy, StationTo : Kadambakkam, Total Stops : 3, Total Fare : 10 Input 2 : StationFrom - Guindy , StationTo - Chennai Fort Output 2 : Print ticket. i.e. StationFrom : Guindy, StationTo : Chennai Fort, Total Stops : 8, Total Fare :15 Code should follow design principles, patterns. Test Driven Development would be preferable, not mandatory though.
Viewing 1411 - 1420 interview questions