Write a program that takes an integer and prints out all ways to multiply smaller integers that equal the original number, without repeating sets of factors. In other words, if your output contains 4 * 3, you should not print out 3 * 4 again as that would be a repeating set. Note that this is not asking for prime factorization only. Also, you can assume that the input integers are reasonable in size; correctness is more important than efficiency. PrintFactors(12) 12 * 1 6 * 2 4 * 3 3 * 2 * 2
Engineer Interview Questions
935,577 engineer interview questions shared by candidates
They asked to write a function that takes a string and check if it is a number. The second question was given a sorted array that has been rotated, find a number in that array {6,7,1,2,3,4,5}
Basic OOP related questions and Java question about different data structures.
If 1 chocolate cost 1 INR and on returing 3 chocolates wrappers to shopkeeper you will get 1 more chocolate in return, how manychocolates (max) you can have of 15 rupees.
Questions about Manual Testing, Differences between Functional, Performance, Unit, Regression, Load, Stress, Volume testing.
why should we hire you?
What will you do if your team mate had an accident and you have to submit the assignment ofter two days.
Decorator pattern
You have two balls on different tracks, traveling without friction. Ball A is on a straight track traveling from left to right, from point a to point b. Ball B is on a track with a dip, traveling from left to right, also from point a to point b (same horizontal distance). Which ball arrives at point b first (or fastest)?
Given a list of buying and selling prices, check if by given a new price will there be any match / transaction. buyer and seller both should get the best prices.
Viewing 1971 - 1980 interview questions