out of 25 horses select the fastest three in minimum number of races where in each race there would be exactly five horses.
Software Development Interview Questions
36,965 software development interview questions shared by candidates
Design data-structures, dynamic programming questions
Given a list of n numbers. All numbers except one are unique. Find the number with duplicate entry.
List all anagrams in a file. Assumptions: case-insensitive, a-z characters only, one word per line. For example, if the file contains dog, cat, ddd, goo, act, god -- output dog, god, act, cat
Given an array of integer in which all numbers occur even times except for one number occurs odd times, find it.
Data structures and Algorithms related
Find from alist of numbers where each number is repeating even number of times except one. Find that number ?
You are given an array with n positive integers where all values in the array are repeated except for one. Return the one that is not repeated.
+-----------+ | 1 | 2 | 3 | +-----------+ | 4 | 5 | 6 | +-----------+ | 7 | 8 | 9 | +-----------+ | * | 0 | # | +-----------+ +---+ | U | +---+ +---+ +---+ +---+ | L | | S | | R | +---+ +---+ +---+ +---+ | D | +—+ Input String: "180*", output is the number of minimum operations needed to dial the input */ 2)How do you test login page?
Implement a function to validate whether a given binary tree is a BST (i.e. write an isBST() function).
Viewing 31 - 40 interview questions