i
UBS
Filter interviews by
I applied via Approached by Company and was interviewed before Oct 2022. There were 3 interview rounds.
Finding smallest of 4 numbers without using >.< and min function in Java.
Initialize a variable with the first number
Compare it with the remaining numbers using if-else statements
If a smaller number is found, update the variable
Repeat until all numbers are compared
The final value of the variable will be the smallest number
Code for palindrome checking
Convert the input to lowercase to ignore case sensitivity
Use two pointers, one at the start and one at the end of the string
Compare the characters at both pointers and move them towards each other
If all characters match, it's a palindrome
Javascript code to display 'Hello World!' on the webpage
Create a new HTML file
Add a script tag with 'type' attribute set to 'text/javascript'
Inside the script tag, use document.write() to display 'Hello World!'
Swap two numbers without using a temporary variable.
Use addition and subtraction to swap the values
Use XOR operator to swap the values
Use multiplication and division to swap the values
To add 2 tables, we need to use a join operation on a common column.
Identify the common column between the tables
Choose the appropriate join type (inner, outer, left, right)
Write the SQL query to join the tables
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Union combines and removes duplicates, Union All combines all rows including duplicates.
Union is used to combine the result sets of two or more SELECT statements and remove duplicates.
Union All is used to combine the result sets of two or more SELECT statements and includes all rows, including duplicates.
Union is slower than Union All as it has to remove duplicates.
Union requires the same number of columns in all SELEC...
Being assigned a project with unrealistic deadlines and minimal guidance
Received a project with tight deadlines and unclear requirements
Struggled to meet the deadlines due to lack of guidance and support
Had to work long hours and weekends to try to complete the project
Learned the importance of clear communication and setting realistic expectations
I applied via Campus Placement and was interviewed in Mar 2021. There was 1 interview round.
I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.
String builder is faster but not thread-safe, while string buffer is slower but thread-safe.
String builder is mutable and can be modified without creating a new object
String buffer is synchronized and can be used in multi-threaded environments
String builder is preferred for single-threaded environments where performance is critical
String buffer is preferred for multi-threaded environments where thread safety is importa
I applied via Campus Placement and was interviewed before Nov 2021. There were 3 interview rounds.
Moderate level aptitude with basics
Moderate level data structure questions
I appeared for an interview before Sep 2020.
Round duration - 40 minutes
Round difficulty - Easy
Timing: 12PM
Due to covid, the interviews happened over a video call on Zoom. They also shared an IDE link where we could write our code and the interview could see it.
The interviewer was very polite and helpful. She dropped hints in between to help me reach the final solution when I was stuck or needed some clarity. She wanted to check how analytically I could solve the problem. She focused more on my approaches towards the problem.
There was also a brief discussion on my resume and projects.
Given an N-ary tree where each node has at most 'N' child nodes, the task is to serialize the tree into a sequence of bits and then deserialize it back t...
Serialization and deserialization of an N-ary tree involves converting the tree into a sequence of bits and reconstructing the original tree from this format.
Serialize the N-ary tree by traversing it in level order and representing each node and its children using a space-separated sequence of integers.
Deserialize the serialized tree by parsing the input sequence and reconstructing the tree structure based on the provi...
Round duration - 40 minutes
Round difficulty - Medium
Timing: Mid-afternoon
Due to covid, the interviews happened over a video call on Zoom. They also shared an IDE link where we could write our code and the interview could see it.
The interviewer was very polite and helpful. He dropped hints in between to help me reach the final solution when I was stuck or needed some clarity. He wanted to check how analytically I could solve the problem. He focused more on my approaches towards the problem.
There was also a brief discussion on my resume and projects.
Create a data structure that maintains mappings between keys and values, supporting the following operations in constant time:
1. INSERT(key, value): Add or update t...
Design a constant time data structure for key-value mappings with operations like INSERT, DELETE, SEARCH, GET, GET_SIZE, and IS_EMPTY.
Use a hash table to achieve constant time complexity for operations.
Implement INSERT, DELETE, SEARCH, GET, GET_SIZE, and IS_EMPTY functions.
Ensure key is a string and value is a positive integer.
Return appropriate results based on the operation type.
Handle edge cases like key not found o
Round duration - 30 Minutes
Round difficulty - Medium
Timing: Evening
Due to covid, the interviews happened over a video call on Zoom. They also shared an IDE link where we could write our code and the interview could see it.
There was a panel of three people as interviewers in this round.
I was also asked one behaviour questions in this round.
You are provided with a directory path in Unix-style notation, and your task is to simplify it according to given rules.
In a Unix-style file system:
Given a Unix-style directory path, simplify it by following certain rules and return the simplified path.
Use a stack to keep track of directories while iterating through the input path.
Handle cases for '.', '..', and multiple slashes appropriately.
Return the simplified path by joining the directories in the stack with '/' separator.
Tip 1 : Focus on Data Structures and Algorithms. Practising questions based on them every day is the key to succeeding. You can enroll into a Data Structures and Algorithms course by Coding Ninjas. This course helped me build a strong foundation in these topics. I also recommend platforms like LeetCode and InterviewBit for further practice.
Tip 2 : During your interview THINK OUT LOUD!!! It is very important that you voice your approach towards the problem otherwise interviewer will have no clue what you are thinking.
Tip 3 : Do give mock interviews to some college senior or mentor. They help you understand how to express your thought process better (Think out loud) and also reduce the interview stress and anxiety.
Tip 1 : In order to make a strong resume you must include at least 2-3 Projects and an intern/work experience. Mention all your skills which you are confident of in your resume.
Tip 2 : Try to make it of one page only. You can use overleaf to make your resume.
I applied via Recruitment Consultant and was interviewed in Oct 2020. There were 4 interview rounds.
based on 1 interview
Interview experience
Associate Director
3.4k
salaries
| ₹14.8 L/yr - ₹53.5 L/yr |
Assistant Vice President
2.3k
salaries
| ₹16 L/yr - ₹49 L/yr |
Authorized Officer
1.7k
salaries
| ₹9.7 L/yr - ₹29 L/yr |
Exempt NON Officer
1.5k
salaries
| ₹7.5 L/yr - ₹29.1 L/yr |
ENO
1.3k
salaries
| ₹6.9 L/yr - ₹25 L/yr |
Morgan Stanley
Goldman Sachs
JPMorgan Chase & Co.
Deutsche Bank