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)
Software Interview Questions
550,593 software interview questions shared by candidates
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.
Given a tree of child/parent relationships, write an algorithm to find common parent
1. Describe what happens when user surf the internet 2. What's Java Object class. Name one of its method. What will be returned for equal() if two objects have same hashcode
given a sequence of strings, like A, B, C, D, A, in which A = "abcde", B = "hello world", C = "NBA", D = "CNN", A = "abcde" to remove duplicates of strings. The output is like A, B, C, D.
You're given two arrays of the same size filled with positive integers, and an integer 0 <= N <= 255. You need to determine whether N can be written as the sum of some number from the first array and some number from the second array.
Three Programs 1. Strings 2. Array subarray concepts 3. Operators
Viewing 1011 - 1020 interview questions