given an integer, write code to list all primes preceding it.
Software Interview Questions
550,822 software interview questions shared by candidates
How could you represent days and month using 2 6 sided dice
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
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
The question was asked in the personal interview. You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. Write a program which computes in how many distinct ways can you climb to the top.
None of the questions were unexpected, at least for any candidate applying for this job. I definitely felt I could have answered few questions better.
Given a list of "threads", which contain 2 variables - starting and ending times - implement a function that will return all running threads at some time t. Optimize it. (faster than O(n) )
Viewing 591 - 600 interview questions