Tip 1 : strong grasp on DSA and problem solving
Tip 2 : follow leetcode (try to do as many medium questions as possible)
Tip 3 : should focus on development also and internships
Tip 1 : good projects and coding profiles like leetcode
Tip 2 : some good internships also help
coding questions on DSA and MCQs on java
timing : late night
no camera




(X is the Knight’s current position, O is the position Knight can visit in 1 move)
Print output up to 6 decimal places.
It was a DSA round.



You need to return the head to the doubly linked list.
The doubly linked list would be: 1 2 3 4 5 and can be represented as:

i solved it using recursion.
it was a pretty straightforward question



1. All the elements are in the range 0 to N - 1.
2. The elements may not be in sorted order.
3. You can return the duplicate elements in any order.
4. If there are no duplicates present then return an empty array.
i solved the porblem using the two pointer approach , first i gave the brute force approach and after that i optimized it.
we can store the index of highest and lowest number in some two different array and then simple used two pointer approach to get the least difference.
DSA Questions were asked.



using simple brute force can give the answer
just iterate over each string in the array and whenever we get a digit add it to the number



If we are given a string "aabb", then the possible solutions are:
(i) abab
(ii) baba
We can see no two adjacent characters are the same in both strings.
So both (i) and (ii) are valid solutions.
standard approach using heaps.
store the frequency of all the characters in the heap (max heap) and after that check if it is possible to satsify the problem .after that keep poping the charcters and place them alternatively
It was a behavioural round.
questions like how do you manage conflicts , anytime you learned something more than you expected on job ,
previous internship experience, how do you keep yourseld upto date with technologies and a lot many questions related to behaviour
Tip 1 : use STAR to answer questions
Tip 2 : do not fake

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