Swap two integers, say a =4 and b=6, without using a third variable.
Software Trainee Interview Questions
12,672 software trainee interview questions shared by candidates
General Aptitude, SQL Queries, HTML, Advanced C (mostly pointers), OOPs, Data Structures and Algorithms
The number of lilies in a pond double every day. So, on the first day of the month there is one lily. On the second day, two lilies. Then the next day four lilies, then eight, sixteen, thirty two, etc. If the pond is full on the 30th day of the month, what day is it half full?
How to find the midpoint of linked list in a single pass?
Water Jug Problem with 5 litre and 3 Litre jug and we want 4 litre as output.
Programs are little tough. So be well prepared.
find odd numbers?
As you have used 2 for loops in your program which is correct but can u optimize your code to one for loop for complete program.
find frequency of every word in string
you are given a list of minutes to perform some tasks such as [2, 6, 3, 4, 1, 7, 2]. what least time it will take if two workers work in parallel and perform those tasks in sequential order?
Viewing 31 - 40 interview questions