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
Engineer Developer Interview Questions
466,953 engineer developer interview questions shared by candidates
If we write for(i=0;i<10;i++); printf("%d",i); What will be the output?
A list with a set of integers. All elements appear even number of times while one appear odd number of times. Find this number that appear odd number of times
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.
first round interview
Why do you want to join Tableau? Find the smallest unique integer in a random integer array with possible duplicates.
String foo = "abc"; String foo1 = "abc" what does (foo == foo1) evaluate to?
hackerrank problems
How do you find 2 missing elements in an array of consecutive integers that are not sorted who's size is N-2.
Viewing 461 - 470 interview questions