Given a list of strings, write a function to calculate the longest common prefix (LCP) of all those strings.
MISSING VALUE Interview Questions
6,583,593 interview questions shared by candidates
how tall are you. how much I love to eat sandwiches
Biggest challenge in your personal life starting out as a flight attendant
She asked about a time when I encountered a passenger with an issue
How would you increase ice cream sales in India
Given a binary tree, write a function to find the length of the longest path in the tree.
Write a function that computes log2() using sqrt().
Given two arrays, find if the integers in array 2 are a subset of the integers in array 1.
Given an array of randomly arranged lower case letters, uppercase letters, and numbers, sort the array such that all lower case letters come before all uppercase letters, come before all numbers. The classes of characters do not need to be in order in their respective sections.
There are 50 cards of 5 different colors. It comprises of 10 Red cards, 10 blue cards, 10 orange cards, 10 green cards and 10 yellow cards. Each color will have the cards numbered between 1 to10. You pick 2 cards at random. What is the probability that they are not of same color and not of same number.
Viewing 2931 - 2940 interview questions