sort binary array with minimum time complexity
Programador De Python Interview Questions
712,024 programador de python interview questions shared by candidates
Why do you want to work for Apple
Flatten a list containing n sublists. Ex: [3, 4, [4, [[55]]]] -> [3, 4, 4, 55]
4)write program to remove duplicate in an array
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?
Write up and populate a linked list in C#.
Difference between ArrayList and LinkedList ?
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.
How to find that a given number is even or odd without using (if, else, any loop, conditional operator ,switch). You can use only a "%" sign.
Viewing 1411 - 1420 interview questions