Bank of America
Interview Questions and Answers
Q1. Python coding question to find the employee with second largest income
Python code to find the employee with second largest income in a list of employees
Sort the list of employees by income in descending order
Return the employee at index 1 in the sorted list
Q2. Detect the unique characters in the substring and their length
The candidate needs to identify unique characters in a given substring and calculate their length.
Iterate through the substring and store each character in a set to keep track of unique characters
Calculate the length of the set to determine the number of unique characters
Return the set of unique characters and their length as an array of strings
Q3. Whats your understanding on regulatory reporting
Regulatory reporting involves submitting data to regulatory authorities to ensure compliance with laws and regulations.
Regulatory reporting is the process of submitting data to regulatory authorities to demonstrate compliance with laws and regulations.
It is crucial for financial institutions to report accurate and timely information to regulatory bodies such as the SEC or FINRA.
Regulatory reporting helps ensure transparency, accountability, and integrity in the financial syst...read more
Q4. Concepts of mutable and immutable in python.
In Python, mutable objects can be changed after creation, while immutable objects cannot be changed.
Mutable objects: lists, dictionaries, sets
Immutable objects: strings, tuples, numbers
Example: x = [1, 2, 3] (mutable), y = 'hello' (immutable)
Q5. Difference between bagging and boosting
Bagging and boosting are ensemble learning techniques used in machine learning to improve the performance of models by combining multiple weak learners.
Bagging (Bootstrap Aggregating) involves training multiple models independently on different subsets of the training data and then combining their predictions through averaging or voting.
Boosting involves training multiple models sequentially, where each subsequent model corrects the errors made by the previous ones. Examples ...read more
Q6. 1. Ways to create a SAS macro
Creating a SAS macro involves defining the macro, assigning parameters, and executing the macro.
Define the macro using %macro macro_name(parameters);
Assign parameters using ¶meter_name.
Execute the macro using %macro_name(parameter_values);
Q7. Trade settlement of equity
Trade settlement of equity refers to the process of transferring securities and funds between parties involved in a trade.
Trade settlement involves the delivery of securities from the seller to the buyer and the payment of funds from the buyer to the seller.
Settlement can be done through a central securities depository or directly between the parties involved.
The settlement period can vary depending on the type of security and market regulations.
Examples of trade settlement s...read more
Q8. SQL query using joins
SQL query using joins
Use JOIN keyword to combine rows from two or more tables based on a related column between them
Types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Interview Process at null
Top Assistant Manager Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month