Write a code for finding a certain element in an unsorted array assuming element definitely exists. How can we improve the efficiency?
Software Developer Engineer Interview Questions
467,228 software developer engineer interview questions shared by candidates
What is stack?
You have to measure exactly 4 liters of water, but you only have a 3-liter bottle and a 5-liter bottle. How do you do it?
Print a Binary Tree level by level
Given an array A, find the count of the ordered pairs. An ordered pair is defined as any number A[j], such that A[j]>A[i] and j>i. You have to do this in optimal time.
You are given 8 identical looking balls. One of them is heavier than the rest of the 7 (all the others weigh exactly the same). You a provided with a simple mechanical balance and you are asked to find out the minimum amount of weighings necessary to identify the heavier ball.
Questions related to project, dbms, oops and data structures
The programming questions were all series problems.
how to calculate size of integer without using sizeof function ?
Print 11,41,102, 196,325......
Viewing 1741 - 1750 interview questions