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?
Senior Developer Interview Questions
94,533 senior developer interview questions shared by candidates
General Java Questions which one can see over the Internet.
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
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.
given map entries (a,1)(b, 2)(c12, 3). Resolve {c{a}{b}} => 3
Write a method that takes a string and reverse it
string to int and add them
Please read about us
How will you prevent the code in finally block from executing? The question isn't a very fair one as a good programmer would not write the code in finally block that he/she doesn't want to execute
Viewing 241 - 250 interview questions