Tip 1 : Do at least 1 new question daily
Tip 2 : Have a very clear idea about your resume
Tip 3 : Be consistent
Tip 1 : Do not put any false thing on resume
Tip 2 : Be very clear and confident about whatever things you have mentioned.



1. Left - (i, j-1)
2. Right - (i, j+1)
3. Up - (i-1, j)
4. Down - (i+1, j)
This was a 20 marks question of easy level that I solved using HashSet



The length of the path is the number of steps required to reach from the first column of the field to the last column i.e., one less than the number of cells in the path.
Consider the field of size 4*4, shown below. The cells containing landmine are marked with 0 and red colour. The cells near the landmine which are unsafe are marked with a light red colour.
The shortest safe route for Ninja, starting from any cell in the first column to any cell in the last column of the field is marked with green colour. The length of the path is 3.
I gave around 30 mins to this problem alone.
I used backtracking to solve it.
First I marked all adjacent cells of the landmines as unsafe, then for each safe cell of first column of the matrix, moved fwd in all allowed directions and recursively checks if it leads to the destination.. Update the value of shortest path, if destination is found, else return false.
This was a thorough technical round that lasted for around an hour. It was a mixup of data structures, oops, DBMS and OS. I was asked questions about my resume very deeply.
What is thread in OS?
Tip 1 : To the point description
Tip 2 : Use easy language to give answers of theoretical questions
Difference between runtime and compile time polymorphism
Tip 1 : One line description of both types
Tip 2 : Real life example so that it can be easily related
Different types of languages in DBMS and its uses
Tip 1 : Don't give long answers (Be to the point)
Tip 2 : After giving name of each type, try giving one small example.
eg: DML is acronym for data manipulation language. select, update, insert, delete etc comes under this type.
It is used as "select * from table"



The interviewer basically wants to know your concept and in how optimised way can you solve the question.
I just used a loop from n to 0 to print array in reverse order. It took O(N) complexity with no space complexity.
I was asked, if I know any other approach to solve this question.
I said, we can use a stack to store all the elements of array in it and then pop each element to get reverse array, but it would increase space compelxity.
All the skills mentioned in the resume were touched
I was asked which project I would like to talk about, I gave the name of the one about which I was most confident about.
I was then asked about my past experience. DevOps, Ansible, loadbalancer were mentioned in my resume so I was asked questions on these topics.
he asked me about my fav programming language. I said I was most comfortable in java, so next few questions were about basics of java.
Tip 1 : The interviewer was a VP at barclays. All the interviewers are of Vice president level only in most of the cases. so, DO NOT LIE in your resume.
RISES concept of Barclays.
Tip 1 : Go through each of the RISES value
Tip 2 : Have one real life example regarding each of these value ready.
Tip 3 : Be ready to answer questions like how would you react in a particular situation (If a colleague calls you during your vacation to ask about a problem only you could solve.)
Why are you a good fit for this role?
Tip 1 : Have points ready highlighting your achievements that include your skill, coding profile and interest.
Tip 2 : Mention your skills and how that skills are useful for the company. (My specialization is in Big data Analytics and as Barclays is a financial institution, it deals with a lot of data on daily basis, so I think I will be an asset to the company)

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