What are the four pillars of OOP?
Software Interview Questions
748,239 software interview questions shared by candidates
Debugging + System design: We wrote a simple (single-threaded) web crawler. Given a starting URL, it visits every reachable page. For each page, it determines the URLs of every static asset (images, javascript, stylesheets) on that page. The crawler returns a list with an entry for each crawled page and a listing of URLs for the assets found in that page.
Find length of shortest linked list given an array of linked lists. Amongst others.
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 ?
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
Viewing 1001 - 1010 interview questions