Given a graph node, write a code to return a copy of the sub-graph starting with that node.
Software Interview Questions
550,722 software interview questions shared by candidates
give your a tree root, to find the same value in same layer
Take an array of numbers and replace each item with the product of all the other items in the array.
Serialize an array of integers in an arbitrary way. Imagine a 4x4 grid where the cells are visited in a snakelike pattern.
Write a code to find out if two string words are anagrams
Array of 100 integers from 1 to 100, shuffled. One integer is taken out, find that integer.
What is the best way to choose a random value in a stream? Given that each of them has a chance of occurring equally
Write a program to check if a number has rotational symmetry i.e is the same when rotated by 180 degrees. Ex 1691, 181, 11, 1001
If given a list (or array) of numbers 1 - 100 with a number missing. How would you find that number?
In the phone interview, they just asked about my projects on the resume. and my programming experience. A week later, I got noticed that I need to take an online assessment. This assessment had 4 parts, first is 10 quick response questions, very easy, just be quick, you have 2 minutes limit; second is math questions, not hard, but need to be very careful; third is programming learning, they first teach you some basic rules about a new programming language and then test you each point they have shown you. I think this part is to test if you are a quick learner; the last part is 4 programming questions using the languages they have provided, for me, these questions are not very easy. It took a long time. Please prepare a calculator for the test. I forget to prepare one so it took longer to figure some questions. Please keep this in mind: being fast is important, but not as important as accuracy. You can find online assessment sample questions on the website to prepare for the assessment.
Viewing 891 - 900 interview questions