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"
Software Interview Questions
550,133 software interview questions shared by candidates
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.
Find the nth fib number
Java: how do you make n threads run at the same time?
Write a program to fetch even natural numbers
Coding questions on String, Bit manipulation, trees, etc.
5.Write a C/C++ program to print the pattern for the given value N. For example N=5 1 2 3 2 3 4 5 4 3 4 5 6 7 6 5 4 5 6 7 8 9 8 7 6 5
Given two files that has list of words (one per line), write a program to show the intersection.
Viewing 491 - 500 interview questions