Given an integer array which consists of numbers from 1 to N with 1 number missing find the missing number. What will you do if 2 numbers are missing?
Software Development Engineer Interview Questions
32,839 software development engineer interview questions shared by candidates
Two sorted arrays. you can start from any one them, and then at common element you may or may not jump to other array. Continue in this manner till you reach the end of an array. Find the path that results the maximum sum.
Implement a Queue using 2 Stacks
Given a string determine if it consist of valid concatenated words. "dogcatfish" --> true because it can be split int "dog","cat", and fish "dogecatfish" --> false
In a BST write a program to find 2 nodes x and y such that X+y=k
Reverse an integer. Looking for optimized solution and definitely no tostring type of solution
1. Reverse string except spaces. A string has mix of alphabets and spaces. Your task is to reverse the string, but preserve the positions of spaces. For example, reverse of " a if" is " f ia" 2. An array of size n has all but one numbers between 1 and n+1. Find the missing one.
Find the character with longest repitition in the string e.g. aaacccddddeefffffffg the result should be 'f'.
Write a function to find the maximum sum of sub array where the array can have negative and positive numbers.
find duplicated item from an array, output the duplicated item with their times
Viewing 141 - 150 interview questions