Flatten a list containing n sublists. Ex: [3, 4, [4, [[55]]]] -> [3, 4, 4, 55]
Developer Intern Interview Questions
717,010 developer intern interview questions shared by candidates
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 ?
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 ?
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.
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.
Given an int array, find the sequence of elements that has the largest sum
Viewing 1441 - 1450 interview questions