Game related to coins : There are a bunch of coins on the table (about 20 I think) and 2 players have to pick 1-5 coins at each turn. The player who picks last coin wins the game. What will be your strategy if you are given the 1st chance to pick coins ?
Softwareentwickler Backend Interview Questions
512,371 softwareentwickler backend interview questions shared by candidates
Write a routine to print the numbers 1 to 100 and back to 1 again without using any loops.
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
Given a graph node, write a code to return a copy of the sub-graph starting with that node.
Reverse all the words in a string
Given a string and a dictionary. Break the string into meaningful words.
Viewing 831 - 840 interview questions