Write a function that can determine if an input number is a power of 2.
Engineers Interview Questions
841,870 engineers interview questions shared by candidates
Hardest things to unit test
Linux: view a column in the csv in the command line
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 1201 - 1210 interview questions