Given 8 balls and one of them is heavier than the other and also given you a balance. What's the minimum ways to find the heavier ball using the balance?
Software Engineer 2 Interview Questions
420,469 software engineer 2 interview questions shared by candidates
How to arrange an array of strings in the groups of the same strings which can be obtained by permutating characters in them.
The interviewer asked a question about sorting cards. Given a complete set of cards, you should sort them without using extra space.
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?
Sorting Algorithms Optimizations from 2 loops to just 1 loop
What is stack?
Write a method to compute if a string is a palindrome, disregarding spaces.
Reverse words in a sentence so like ex: to be or not to be return be to not or be to Note: I'm a freshman in college and he knows I don't know much so I got an easy question
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.
Questions related to project, dbms, oops and data structures
Viewing 1761 - 1770 interview questions