Pergunta de entrevista da empresa Adenza

1. class vs objects in Java 2. Abstract class-related questions 3. Questions related to public, protected, and private methods 4. Guess the output for code (basic code with static variable) 5. Asked to write me code on Fibonacci without using recession and don't store it. Just print it. 6. Gave a family tree and each parent has only 2 children. Return the sibling and cousin of the desired node.

Resposta da entrevista

Sigiloso

30 de nov. de 2023

For 5th question, I wrote a code and without looking at it, the interviewer said it didn't work. After explaining the interviewer accepted that it would work For the 6th question, I wrote a basic approach and BFS approach but he was not satisfied with it.