Write a code that show all possible permutation from a given String.
Software Interview Questions
551,241 software interview questions shared by candidates
Q: List all comments in the given segment of codes.
My processor is consuming too much power, write a program to reduce processor power consumption.
Extremely simple questions. First-round had a question like, given an object array, combine objects with one more matching fields and return the resulting array. The second round was behavioural and one question on removing trailing spaces. They don't ask any in-depth technical quesions.
Standard algorithms and data structures questions.
How to process a big number that cannot be stored in any data structure. How you would represent it.
Only one programming questions. Input a string, including numbers, operands, and brackets. Calculate the result. Test case: input: "(+ 3 3)": Output: 6 input "(* 3 3)" Output: 9 input: "(+ 1 12 (- 17 3) 5 (* 2 8 (/ 120 4)) 46)", Output: 1 + 12 + (17 - 3) + 5 + (2 * 8 * (120 / 4)) + 46 = 558
Given a message "one two three four five six seven eight nine", chop it in chunks(no exceed the give buffer size) and print out to the screen. Need to maintain the word and do not chop it off. I.E.: buffer size is 15 one two three (1/4) four five six (2/4) seven eight (3/4) nine (4/4)
java
Given a filled box inside an nXm matrix, count all boxes in contact with it, and which are filled. Return the count. A few questions on multi-threading as well.
Viewing 2371 - 2380 interview questions