1 Jug with 24 litres water is to be split into 3 Jugs, one being the 24 litres, other one being 12 litres and last one 5 litres in such a way that 24 litres Jug contains 12 Litre. You can only use the water in the 24 litre jug, nothing more nothing less.
Software Engineers Interview Questions
420,352 software engineers interview questions shared by candidates
How to get the k smallest element in O(klogk) time
How can you tell if a linked list is circular (goes on forever because it connects to a previous node)?
given an unordered list of numbers find all pairs that add up to x
1) circular linked list 2)adding index 0 to till same array {2,4,4,3,1} so ans is 2+4 = 6 3) adding positive and negative number [array] 4) put user defind value passng arguments to the define function and solving the math problem.
To implement a binary tree which has back traversing support
There is an array of 100 elements where one element is repeated. What is the complexity of finding the element?
1. write a programme to Calculate the angle between hour hand and minute hand. 2.It was related to pattern of stars(*).
Use single loop instead of two loops to print a K-shaped pattern.
what is SDLC model
Viewing 1781 - 1790 interview questions