Tip 1 : Practice easy and medium problems on code studio
Tip 2 : Deep understanding of Core Java concepts
Tip 1 : Have some projects
Tip 2 : Add crisp and precise information



Solution 1: We can solve this type of problem by recursion by making a decision tree but there are some paths in decision tree which are overlap so we can memoize the recursive solution.
Solution 2: Dynamic Programming
A database table was given, we have to write a SQL query to fetch data based on two conditions.
This interview was taken by a Software Engineer. The interviewer was helpful.



Given 'S' : abcdg
Then output will be : 1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1. Split the string from spaces into array of string.
2. Use Hashmap to find frequency of each string.



If A = [3, 2, 3], and K = 2.
Then max of [3, 2] = 3 and max of [2, 3] = 3
So, the answer will be [3, 3]
If A = [3, 2, 3, 5, 1, 7] and K = 3.
Then max of [3, 2, 3] = 3
Then max of [2, 3, 5] = 5
Then max of [3, 5, 1] = 5
Then max of [5, 1, 7] = 7
So the answer will be [3, 5, 5, 7]
Can you solve the problem in O(N) time complexity and O(K) space complexity?
Solution 1: use two nested loops to calculate sum of every window of size k and update the global sum accordingly.
Solution 2. Use sliding window to solve the problem in O(N) time.
Managerial Round
Core Java Question
Relational vs Non-Relational Databases
Discussion on Projects.
Discussion on OOPs concepts and Core Java
Deep discussion on Mutability of a class in Java
SQL query form three database tables
Use of Joins in DBMS

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?