Tip 1 : Go through Basic concept of Object Oriented programming
Tip 2 : Medium level of data structure like tree, basic graph and linked list practice question at least 300
Tip 3 : If you want to grab good opportunity then Focus on DBMS and mysql as well till advance level
Tip 1 : Build a simple and crisp resume that should reflect your Skill set don't lie on it
Tip 2 : Mention your projects with full technology stack and practiced platforms and stars you earned
It was coding round consists of two question the first one was easy and second was medium level



For example:
If the given array is {1, 5, 2, 3, 4}, the output will be 2 (which is GCD of 2 and 4, all other pairs have a GCD of 1)



A palindrome is a word, number, phrase, or other sequences of characters which read the same backwards and forwards.
If the input string happens to be, "malayalam" then as we see that this word can be read the same as forward and backwards, it is said to be a valid palindrome.
The expected output for this example will print, 'true'.
It was 50 minutes round on skype platform , In this round they ask concept about Object Oriented Programming , Medium level
DSA , two coding problems , basic level SQL
• Self Introduction
• Explain Oops
I explained
• Polymorphism , encapsulation, Data hiding , Abstraction, Overloading , Overriding
He asked all the concepts of OOPs which i was familiar of so I answered easily then he came to DSA
• Linked List and its types, Stack , queue and its types, deque and its types , Binary search trees, Heap
Definition of each data structure and practical application where they are used , I answered all of them easily then he came on DBMS
• Normalization, 2NF , 3NF , BCNF , partial dependency , Transitive dependency , Joins and its types
Definition of each and everything i was familiar of the things so i answered quickly
These questions took around 15-20 minutes in theory question then he moved to coding problems



‘ARR1’ = [3 6 9 0 0]
‘ARR2’ = [4 10]
After merging the ‘ARR1’ and ‘ARR2’ in ‘ARR1’.
‘ARR1’ = [3 4 6 9 10]



1. write a query to find the name which has at least three character
2. He gave me to tables student and course and ordered me to apply primary key on student table and foreign key on course table
Just clear your basics in SQL
1. You have one 7L bucket , one 4 L bucket and infinite amount of water. You have to measure 6L water by using these 2 buckets you can empty bucket any number of times but can't use third container ?
I didn't get the logic so I honestly said... I don't know
2. A men fell into 30 m deep well, Daily he try to climb 4 m and fell down 3 m. How many days are required by men to come out of the well ?
I got the logic of this problem, The answer is 27 days. and it was correct
Tip 1 : Solve aptitude and reasoning question
Tip 2 : Try to read frequently asked riddles and puzzles in interviews
It was 30 minutes round on skype platform in this round the interviewer asked me medium level problems and Data structures
• Tell me something about yourself ?
• What do you know about hexaview technologies
I replied both the answer quickly so he asked me to start with OOPs
• What is Abstraction in Object Oriented Programming and give real life example of it ?
I answered so he asked me few more important things about abstraction encapsulation and data hiding
• What is Anti- Abstraction and give real life example of it ?
I didn't know answer of this question so I honestly said I don't have any idea
• DBMS : 2NF , 3NF , Types of dependencies , properties of transaction
Then he gave me a table and ordered me to normalize in 2NF , I was getting confusion so he helped me little bit . I was finally able to normalize the table
• DSA : Binary search Tree , Queues and its types
In this round he asked me about graph also, like which algorithms are used for generating minimum spanning tree for graph .
I answered all the question quickly. then he gave me a query in sql
• SQL : Write query for inner join
I easily wrote the query.
Then he moved to coding problems






You are given ‘ARR’ = {-2, 1, 2, -1, 0}. The sorted array will be {-2, -1, 0, 1, 2}.
He asked me about brief description of my project and which database I used . The main focus was on database because the interviewer wanted to know that i had worked on database or not ?
I briefly explained my project then he asked me few questions from my project like which technology or algorithm i used for building it how many modules are there in project
Tip 1 : Build a mid level project with SQL database because they are preferred in industry
Tip 2 : clear your concepts about whole project doesn't matter what your role was
It was 35 minutes round taken on Skype, The level of interview was hard suddenly interviewer increased the level of questions the mail focus was on SQL and Database so he asked me advance queries in SQL which were tough
• Self Introduction
• Why do you want to join Hexaview technologies



1 2 3
4 5 6
For the above 2*3 matrix , possible paths are (1 2 3 6) , (1 2 5 6) , (1 4 5 6).
You can return the paths in any order.
He asked me advance queries of SQL
First he gave a table Student which contains name of the student , subject , marks of student in that subject , there was composite primary key name + subject. It means student name can be repeated because one student can be enrolled in multiple subjects .
• Find total marks from the table
I made it easily
• calculate total marks of each student from all subject and display it on console
I used the aggregate function and group by clause and made it easily
• Then he said to me to print the name of student who failed in exams where passing marks should be 33%
I thinked firstly then i wrote the query to get the name of student who failed, firstly i calculated marks then percentage and then I printed the name where percentage < 33.
• Then he asked me final question on this table which was very tough
the question was to find topper in each and every subject, for example if there are subjects like hindi , english , mathematics then we have to print the name of topper in each subject
I was not able to write the query, so i said no i am not getting me but the interviewer was very amazing and polite so he motivated me to build the logic like don't give up ...... think more
Then i took 2-3 minutes to build the query and the answer was correct so he was impressed with me
Tip 1 : Read advance topic in SQL like aggregate functions , Group by, Order by , Having clause and foreign key , super key
Tip 2 : Be confident and don't give up easily
Then he also asked me about my project and databases
So i give brief introduction of my project and he asked me question on how i am fetching data
I am very efficient in C++, so he said to me that our company do not work on C++ will you switch over different technologies
I simply said Yes, and currently i am working on python
At last as usual Do you have any question for me ?
So I asked one question
Then he answered and he also explained me training procedure of the company. We talked around 4-5 minutes on these topics because the interviewer was quite impressed with me
Be confident and have faith in yourself . Firstly think about your problem then jump to the solution .
Take your time don't hesitate and try to write the efficient approach in first attempt

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