Interview Questions
Interview Questions
1.5 -> question on binary tree, heap and there time and space
complexity, which part of binary tree will have lesser value
elements -> Learn all about binary tree and heap very precisely.
1.7 -> java scanner, taking inputs from scanner, how to take
integer as input through scanner, same for string and other data
types, what happens incase wrong datatype input given to the
scanner through console
4. HR interview
4.1 Tell me about yourself
—————————————————————————————————————
————————————————————
19. Explain all access modifiers -> private public protected default
with example
20. Diff b/w string buffer and string builder, and when to use them
24. Diff b/w interface and abstract, what all types of properties,
access modifiers, attributes, static and non static, constructor we
can have in interface and abstract class?
—————————————————————————————————————
————————————————————
For all the concepts, why this concept is introduced, what problem
does it solves, already there is a concept(eg: for loops) which is
solving a problem, then why there is a need of inventing this
concept (eg: streams) for solving a same problem,
What is difference between them, how does it adds more value than
previous one eg: why to use streams for iterating and applying
business logic when we have for loops to do same thing?
For all concepts understand them by asking below and above
questions on them
1. Why it is invented?
2. What problem does it solves?
3. What are its advantages and disadvantages?
4. When we already have a concept which does something
then why should use this concept over it?
5. How to decide when and what concept to be chosen?
6. What are the difference between those concepts which can
solve similar kind of problems?
1. Your intro
2. AWS Lambda, how did you created it <- learn everything about
creating and running was lambda in java, jax-rs, java-jerry
10. How will be your working day, what do you do <- I develop java
code for given requirements and cover it with Junit test cases,
sonarqube report, sonaType report, code review, merge, deploy for
testing
11. How do you fix a reported bug <- by creating bug fix feature
branch
12. What All Data Structures You Know <- Learn All Data Structures
and Algorithms
13. What all are the time complexities we have <- O(n), O(nLogn),
O(n^2) etc…
15. What and how to use SQS, SNS, KAFKA, write code implementing
them
16. Write code to check a value form a JsonObject <- jsonObject has
List of JsonObjects from the list of json objects iterate them and
find the json object which has the value which we are looking for
convert jsonObject to java object, create endpoint for before
asked scenario(JsonObject), cover the code with Junit test case,
integration testing of an endpoint, test case for testing the api by
passing the path
1. Your intro
3. What java version are you using <- java 8, what are features
introduced in java 8 and why they are introduced and how well and
frequently you are using it?
10. What all are the sorting algorithms, which algorithms you know
well, write code of mergeSort();
11. Which sorting algorithm does collections.sort() used and its time
and space complexity ?
20. Create two entity classes and do @manyToMany Mapping <- write
code
22. What is CI/CD its abbreviation and why Jenkins is used, what is
the need of it, alternatives of Jenkins?
Feedback from round1 -> you have worked on all the requirements
we have, you good knowledge everything <- explore every concept
by asking why? When? How?
1. Java interface
2. Project Architecture
3. DSA
4. Low level system design
5. High level system design
—————————————————————————————————————
————————————————————