Given an array of numbers, there is one number that has a duplicate. How would you find the number?
Software Engineer Interview Questions
466,586 software engineer interview questions shared by candidates
Find if there are two members of an array that sum to 10 (10 and 0 count, but 10 alone does not).
Hardest things to unit test
Given two sorted integer arrays, write an algorithm to get back the intersection.
How to find anagrams in a sentence ?
Mostly the concepts of array and string manipulation. You are given an array with distinct numbers between 1 to 100. You have to return You have to return a string which says the number's range which are not in the given array separated by comma. Eg: Input: [50,75] Output: (0-49,51-74,76-100)
Search a target number in a Rotated Sorted Array.
/* Some examples: isMatch(“aa”,”a”) ? false isMatch(“aa”,”aa”) ? true isMatch(“aaa”,”aa”) ? false isMatch(“aa”, “a*”) ? true isMatch(“aa”, “.*”) ? true isMatch(“ab”, “.*”) ? true isMatch(“aab”, “c*a*b”) ? true Write isMatch() */
Given a list of words, find whether a new word is anagram of word in list.
Please implement a function to generate the 3-digits numbers with no duplicate digits and no duplicate permutation. For example: 122 is not allowed and 123 321 is not allow, only output one of the permutations.
Viewing 781 - 790 interview questions