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.
MISSING VALUE Interview Questions
6,576,714 interview questions shared by candidates
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.
Create a linked list with 3 char (A,B,C) in it and print the list in reverse.
There's a game where you are given two fair six-sided dice and asked to roll. If the sum of the values on the dice equals seven, then you win $21. However, you must pay $5 to play each time you roll both dice. Do you play this game? And in follow-up: What is the probability of making money from this game?
Take in an Int array and move all the zeroes to the end in place. It doesn’t matter how the non-zero numbers are ordered. Preferably as efficient and as space efficient as possible. Example: Input : [ 3, 0, 2, 0, 0, 4, 1, 0 ] Accepted Output: [ 4, 2, 3, 1, 0, 0, 0, 0 ]
What drives you?
How do you calculate monthly active users, churned users and resurrected users from a user activity log with userID and DateTime
The interview took about 25 minutes. Discuss an emergency situation you have been in and how you handled it: Why a FA over any other position within Southwest? Why Southwest Airlines? Why be a FA? Why do you wish to leave your current employer? What makes you a better candidate than the others applying?
Write a C function to return the number of set bits in an integer.
Initialize a 5 by 5 array with this sequence. 1 2 3 4 5 6 4 8 9 10 11 12 9 14 15 16 17 18 16 20 21 22 23 24 25
Viewing 1821 - 1830 interview questions