After asking the details of my current role, he only gave me a simple coding question. Write a function using C++ or Java that is passed an integer and it returns the number of bits set to 1. Is there a way to improve your solution and make it faster and more efficient?
Sr Developer Interview Questions
94,862 sr developer interview questions shared by candidates
General Java Questions which one can see over the Internet.
For the years 1901 to 2000, count the total number of Sundays that fell on the first of a month.
Write a function to return the nth fibonacci number. The first two can be assumed to be 1 and 1. The third and fourth are then calculated to be 2 and 3.
1st phonescreen: 1) background 2) algorithmic question which i dont remember but it was average difficulty level 3) Pagination in java - Given an implemented method getFeed(userId, StartTimeStamp, EndTimeTimeStamp) which returns a List<Feed>, right an API to return feeds to a mobile client. Design the API from scratch
given map entries (a,1)(b, 2)(c12, 3). Resolve {c{a}{b}} => 3
Given 2 strings find the common words along with the time and space complexity. How would you optimize the algorithm
"Given a log file spanning multiple days, and given a page transition A -> B -> C, find all the unique users who made this page transition in the logs"
Coding challenge
Write a function that determines the divisors of an supplied parameter and which of those are prime numbers.
Viewing 241 - 250 interview questions