Tip 1 : Solve and answer the questions with a calm mind.
Tip 2 : You should know each and every word of your Resume.(Go through your resume before siting for interview).
Tip 3 : Prepare yourself for the question "Tell me about yourself" (Know yourself before any interview)
Tip 1 : Follow chronological resume format
Tip 2 : Include only the most relevant information and put the most important information first
This was the first round of Bank of America Recruitment. It was conducted on Hirevue Platform. The timing of the Test was 90 minutes . There were some precautions that we needed to take care off before sitting for the test like Good internet connectivity , Formal dress code. It was completely web proctored test where all the video, audio and screen is recorded.
There were 5 questions in the test. 3 questions of video recordings and 2 questions of Coding.
1) Describe about your education and work experience
---> This was the first question, we were given 30 seconds to prepare for the answer and there were a button to start video and we were given 3 minutes to answer the question.
2) Why you are a best fit for this role?
---> This was also a video Question where we were given 30 sec to prepare and 3 minutes to answer
3) This was the coding Question.
Question - Write a program that , given an integer N , sums all the whole numbers from 1 through N(both inclusive) . Do not include in your sum any of the intermediate values ( 1 and N inclusive) that are divisible by 5 or 7.
Test Input - 10
Expected output - 33
4) This was also coding question related to strings
Question - Given a string s , little Johny defined the beauty of the string as the sum of the beauty of the letters in it. The beauty of each letter is an integer between 1 to 26, inclusive , and no two letters have the same beauty. Johny does not care about whether the letters are uppercase or lowercase , so that does not affect the beauty of letter.
Test input - ABbCcc
Expected output - 152
5) Describe what approach you followed in 2nd coding question.
---> it was a video question in which we needed to define our approach for the above coding question.

I followed brute force approach to solve this question.
Step 1 : Iterate the array
Step 2 : Check the condition if each iteration integer is completely divisible by 2 or 3 or not. If divisible add to sum
Step 3 : Print total sum,.



Minimum operations to make ‘STR’ ‘0010’ beautiful is ‘1’. In one operation, we can convert ‘0’ at index ‘0’ (0-based indexing) to ‘1’. The ‘STR’ now becomes ‘1010’ which is a beautiful string.
Initially I found this difficult. But finally I did it.
Step 1 : Take an array of length 26 to count the frequency of each alphabet.
Step 2 : Take a variable answer and initialize it to 0.
Step 3 : Sort the frequency array
Step 4 : Iterate loop from i=25 to i>=0 && freq[i]>0 , i--
Step 5 : Calculate the sum
answer+=(freq[i] * (i+1));
Step 6 : Print the answer.
I got mail on 7th December at 10:30 pm about the next round which was to be held on next day at 9:40 am .
I got the link of 1st round at 9:30 am on 8th December. It was on Cisco Webex platform . This way of technical interview round was very unique for me because we only have to open video on webex and there we were given a line number to call by phone. We need to give answer on phone and video is on through webex.
My interview started by 9:45 am . First of all interviewer asked very famous question of Interview i.e.
"Tell me about yourself"
I have given proper answer of this question including my achievements , internships and education.
The interviewer was very friendly . He kept motivating me till end of interview. He took me to the right approach in many questions.



If all characters of one string are printed and some characters of other string are remaining, then you have to print the remaining characters of the other string at the end of the resulting string.
Can you solve the problem in O(N) time complexity and O(1) space complexity?
A = “abc” B = “fdh” then answer will be afbdch.
I followed brute force approach
Step 1 : Take a result string
Step 2 : One by one append characters of both given strings in alternate style.
Step 3 : Iterate loop from i=0 to i<s1.length || i<s2.length
Step 4 : Choose ith character of the first string it exists
result+=s1[i];
Step 5 : Choose ith character of the second string if it exists
result+=s2[i];
Step 6 : End loop
Step 7 : Print the result
Have you worked on Linux OS?
Tell me some commands in Linux. Which commands are used to create a file and write in it? (Learn)
If we want to print top 10 lines from a file which command will we use?
If we want to print last 10 line of file which command will we use?
Which command is used to get ip address of pc? .
What is the difference between physical address and logical address? (Learn)
If we are given a file with 1000 lines and we want to print lines from 600-700 which command will we use?
What is Process and process scheduling? (Learn)
What is deadlock? (Learn)
What are necessary conditions for deadlock? (Learn)
Tip 1 : I generally prefer last minute notes from geeks for geek for quick revision . it covers most of the topics.
Tip 2 : Refer generally asked questions in interviews for particular subject.
Tip 3 : Make notes for the main subject topics for last revision.
He asked me about my topic of interest.
I said OOPS ,
He asked me what is class and object, relation between class and object. (Learn)
What is Inheritance and types of Inheritance. along with example of inheritance. (Learn)
What are access specifier in OOPS? (Learn)
What is default access specifier of class?
What is the difference between class and structure? (Learn)
What is garbage collection? (Learn)
Different storage mediums in C++.
What is copy constructor? (Learn)
Tip 1 : Go through the main features of OOPS Encapsulation , Inheritance etc
Tip 2 : Practice examples of each feature
Tip 3 : Read E Balaguruswamy for better understanding of OOPs
1) You are at the side of a river. You are given a 3-litre jug and a 5-litre jug. Both the jugs are initially empty. The jugs don’t have markings to allow measuring smaller quantities. You have to use the jugs to measure 4 litres of water. Determine the minimum no of operations to be performed to obtain 4 litres of water in one of the jugs.
2) You have a birthday cake and have to cut it into 8 equal pieces by making 3 cuts only. How do you do it?
Tip 1 : Go through commonly asked puzzle questions from interview experiences
Tip 2 : Practice more puzzles online
I got call from HR at 1:43 Pm , she asked me to prepare 2nd round of interview at 2:00 Pm . She sent me the link . I was waiting for next round when she again called me that my interview had shifted from 2 to 3:30 PM .
I started my next round of interview with the same procedure i.e. the video is on through webex and the audio is through call on bridge line number.
This was Technical + HR both round. I were asked technical as well as HR related Questions
Again the interviewer was very friendly . He treated me very well and help me out in many questions.
I got a great experience from this interview. Overall It was a good learning for me.
1) If we toss 1 coin three times one by one then what will the probability of getting heads all the time.
2) How you will implement this through coding?
Tip 1 : Do practice these some generally asked Mathematics concepts
Tip 2 : Keep revising things.



Try solving this problem in O(N) time complexity.
Practise algorithms and coding.



Merge Sort Algorithm -
Merge sort is a Divide and Conquer based Algorithm. It divides the input array into two-parts, until the size of the input array is not ‘1’. In the return part, it will merge two sorted arrays a return a whole merged sorted array.

The above illustrates shows how merge sort works.
It is compulsory to use the ‘Merge Sort’ algorithm.
Practise algorithms and coding



Let the array = [ 4, 2, 1, 5, 3 ]
Let pivot to be the rightmost number.

Practise algorithms and coding



The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Can you solve this problem in O(N) time and O(1) space complexity?
Print Reverse LinkedList



Practise algorithms and coding



Practise data structures and algorithms especially common questions.



Used a hashmap for O(n) appproach
What is normalization?
What is BCNF?
Types of languages in DBMS
What is DML, DQL ,DDL? Which commands comes under each?
Write a query to find distinct records from a table
Write a query to find duplicate records from a table
You are given two tables Student and Subject with fields student_id , name , class , subject_id , marks and subject id , subject name . How you get the average marks of student subject wise?
Tip 1 : Do practice SQL queries
Tip 2 : Read about Normalization , Serialization and Deadlock
Tip 3 : Practice to reduce table in Normal forms
1) Why are the you best fit for this role?
2) Is this your first interview?
3) What are your strengths and weaknesses?
4) if you have given interviews previously for other companies why have you not been selected? What have you missed?
Tip 1 : Give answers honestly.
Tip 2 : Keep calm while giving answers

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