Got a HR call via referral
R1 (F2F) (Virtual)
1 - You can climb either(1,2,3) stairs at once, total number of ways to climb N stairs.
2 - Same question with a variation(if at any point you have taken x steps, you cannot take less than x steps again, eg. 1,1,2 will be an answer but 1,2,1 won't be, eventually you have to provide all unique ways)
Java
- Difference between abstract class and interface
- What all access specifiers are used in interface?
- There is a class with final static variable and it is not initialised yet, will it compile? If not how will you fix it?
- Different methods to create thread?
- How do we start a thread, what happens when run is called instead of start, which method start calls internally?
- Have you used any message queue?
- What type of databases have you worked on?