Given the following list of objects {user, loginTime, logoutTime}. What is the maximum number of concurrent users logged in at the same time? Input: [ {user: A, login: 1, logout: 3}, {user: B, login: 3, logout: 4}, {user: C, login: 1, logout: 2}, {user: D, login: 123123123, logout: 987987987}, {user: E, login: 1, logout: 3} ] Output: 3
Programmer Consultant Interview Questions
711,810 programmer consultant interview questions shared by candidates
Considering a 2-dimension matrix that can only be traversed by 1 adjacent position at a time and never diagonally. Create an algorithm to traverse that matrix from its upper-left corner to its lower-right corner using the shorter possible path in the most efficient way.
given an integer, write code to list all primes preceding it.
How could you represent days and month using 2 6 sided dice
"If you were stranded on a desert island, what three development tools would you bring with you?"
first round interview
Why do you want to join Tableau? Find the smallest unique integer in a random integer array with possible duplicates.
My previous experience.
Can write a function which inputs two ints and check if it is 3 it should return 6 if input is 6 return 3, without using any condition.
Write a Java program to count the number of occurances of each number in a series of numbers.
Viewing 631 - 640 interview questions