You have a long set of numbers. More than 400k. How would you search if a specific number is in set? They expect a better solution than looping the set until you find the number.
Software Engineer Interview Questions
466,457 software engineer interview questions shared by candidates
Implement the toLowerCase() method
If you have all the numbers from 1 to 1'000,000, except one of them. How would you find out which number is missing?
Print out, from small to big, of a sequence intergers, without sorting.
1st round was apti round then 2nd round was they give an question we have to write progamme to solve this one and also wrrite a flow chart for the same programme
Write a method that counts how many elements in an unsorted array are out of order.
Given a string of numbers, you can interpolate basic operations (+, -, * and /) to create an equation that can be evaluated using simple math. Given a string of numbers and a value, write a method that prints all of the equations that can be generated using that string that evaluate to the given value. ex- f("323",3) will print out "3 * 2 - 3"
The question was to write a simple program in any language that allows a user to guess a 4 digit pin containing only the numbers 1 - 5, If the user did not get the correct answer the program was to tell then how many digits they guessed correctly in the correct place and how many digits they guessed that were in the computers guess but not in the correct place....
A few questions on basic command-line syntax in Unix shells: 1. How would you log output and error messages from a command to a file? 2. How would you run the same command on every file in a directory? 3. How would you find the PID of a named process (say if you wanted to kill it)?
Merging of Sets: Sets Users which reference other user groups.
Viewing 361 - 370 interview questions