i
UBS
Filter interviews by
Function overloading is having multiple functions with the same name but different parameters. Function overriding is having a derived class implement a method with the same name and parameters as a method in the base class.
Function overloading is a compile-time polymorphism concept.
Function overriding is a run-time polymorphism concept.
Function overloading is used to provide different ways of calling the same fun...
Polymorphism is the ability of an object to take on many forms.
Polymorphism allows objects of different classes to be treated as if they are of the same class.
It is achieved through method overriding and method overloading.
Examples include method overriding in inheritance and implementing interfaces in Java.
Polymorphism helps in achieving loose coupling and flexibility in code design.
Function overloading allows multiple functions with the same name but different parameters.
Functions with the same name but different parameters can be defined in the same scope
The compiler determines which function to call based on the number and types of arguments passed
Overloading can improve code readability and reduce the need for multiple function names
Example: void print(int x), void print(float x), void pr...
Managers may face various scenarios in their work. Here are some pointers to handle them.
Identify the problem and its root cause
Develop a plan of action
Communicate effectively with team members
Delegate tasks appropriately
Monitor progress and adjust plan as needed
Provide feedback and recognition
Handle conflicts and difficult conversations
Stay organized and prioritize tasks
A NULL pointer is a pointer that does not point to any memory location.
It is represented by the value 0 or NULL.
Dereferencing a NULL pointer results in a segmentation fault.
It is commonly used to indicate the end of a linked list or array.
A V-table is a virtual table used in programming languages to implement polymorphism.
It is used in object-oriented programming languages like C++ and Java.
It contains pointers to functions that can be overridden by derived classes.
It allows objects of different classes to be treated as if they are of the same class.
It is used to implement dynamic binding or late binding.
It is also known as a virtual function table...
Templates are pre-designed documents or files that serve as a starting point for creating new documents or files.
Templates can be used for various purposes such as creating resumes, business cards, invoices, and presentations.
They save time and effort by providing a pre-designed layout and structure.
Templates can be customized to fit specific needs and preferences.
They are commonly used in software applications li...
A virtual function is a function in a base class that is overridden in a derived class.
Virtual functions allow polymorphism in C++
They are declared using the virtual keyword
The function is resolved at runtime based on the object type
Virtual functions can be pure virtual, meaning they have no implementation in the base class
Example: virtual void print() = 0; // pure virtual function
To convert a Minheap to a Maxheap, we can use a bottom-up approach to adjust the heap properties.
1. Start from the last non-leaf node and move upwards.
2. For each node, apply the heapify process to ensure the Maxheap property.
3. Swap the node with its largest child if it violates the Maxheap property.
4. Repeat the process until the root node is reached.
5. Example: For array [1, 3, 5, 7, 9], after conversion, it be...
A dangling pointer is a pointer that points to a memory location that has been deallocated or freed. Dereferencing it can cause a program to crash.
Dangling pointers occur when memory is freed or deallocated, but the pointer still points to that memory location.
Dereferencing a dangling pointer can cause a segmentation fault or access violation.
Dangling pointers can be avoided by setting the pointer to NULL after fr...
A NULL pointer is a pointer that does not point to any memory location.
It is represented by the value 0 or NULL.
Dereferencing a NULL pointer results in a segmentation fault.
It is commonly used to indicate the end of a linked list or array.
A dangling pointer is a pointer that points to a memory location that has been deallocated or freed. Dereferencing it can cause a program to crash.
Dangling pointers occur when memory is freed or deallocated, but the pointer still points to that memory location.
Dereferencing a dangling pointer can cause a segmentation fault or access violation.
Dangling pointers can be avoided by setting the pointer to NULL after freeing...
A V-table is a virtual table used in programming languages to implement polymorphism.
It is used in object-oriented programming languages like C++ and Java.
It contains pointers to functions that can be overridden by derived classes.
It allows objects of different classes to be treated as if they are of the same class.
It is used to implement dynamic binding or late binding.
It is also known as a virtual function table or d...
To convert a Minheap to a Maxheap, we can use a bottom-up approach to adjust the heap properties.
1. Start from the last non-leaf node and move upwards.
2. For each node, apply the heapify process to ensure the Maxheap property.
3. Swap the node with its largest child if it violates the Maxheap property.
4. Repeat the process until the root node is reached.
5. Example: For array [1, 3, 5, 7, 9], after conversion, it becomes...
Polymorphism is the ability of an object to take on many forms.
Polymorphism allows objects of different classes to be treated as if they are of the same class.
It is achieved through method overriding and method overloading.
Examples include method overriding in inheritance and implementing interfaces in Java.
Polymorphism helps in achieving loose coupling and flexibility in code design.
Templates are pre-designed documents or files that serve as a starting point for creating new documents or files.
Templates can be used for various purposes such as creating resumes, business cards, invoices, and presentations.
They save time and effort by providing a pre-designed layout and structure.
Templates can be customized to fit specific needs and preferences.
They are commonly used in software applications like Mi...
A virtual function is a function in a base class that is overridden in a derived class.
Virtual functions allow polymorphism in C++
They are declared using the virtual keyword
The function is resolved at runtime based on the object type
Virtual functions can be pure virtual, meaning they have no implementation in the base class
Example: virtual void print() = 0; // pure virtual function
Runtime polymorphism is implemented through virtual functions and dynamic binding.
Virtual functions are declared in base class and overridden in derived class
Dynamic binding is used to determine which function to call at runtime
Compiler uses virtual function table to understand runtime polymorphism
Function overloading is having multiple functions with the same name but different parameters. Function overriding is having a derived class implement a method with the same name and parameters as a method in the base class.
Function overloading is a compile-time polymorphism concept.
Function overriding is a run-time polymorphism concept.
Function overloading is used to provide different ways of calling the same function...
Function overloading allows multiple functions with the same name but different parameters.
Functions with the same name but different parameters can be defined in the same scope
The compiler determines which function to call based on the number and types of arguments passed
Overloading can improve code readability and reduce the need for multiple function names
Example: void print(int x), void print(float x), void print(c...
I am a Business Technology Analyst with experience in analyzing data and developing solutions to improve business processes.
Experienced in data analysis and solution development
Skilled in identifying business process improvements
Proficient in using technology to drive business growth
Equity refers to ownership in a company, while derivatives are financial contracts based on the value of an underlying asset.
Equity represents ownership in a company and can be in the form of stocks or shares.
Derivatives are financial contracts that derive their value from an underlying asset such as stocks, bonds, or commodities.
Examples of derivatives include futures, options, and swaps.
Derivatives are often used for...
I am a highly analytical and tech-savvy individual with a passion for problem-solving and a track record of delivering results.
I have a strong background in technology and business analysis, which allows me to bridge the gap between IT and business stakeholders.
I am a quick learner and can adapt to new technologies and processes easily.
I am a team player and can work collaboratively with cross-functional teams to achie...
The desire to learn and grow every day.
I am driven by the opportunity to learn new things and expand my knowledge.
I am motivated by the chance to make a positive impact on the world through my work.
I am inspired by the people around me who are passionate about what they do.
I am energized by the challenge of solving complex problems and finding innovative solutions.
I am excited by the prospect of personal and profession...
My favourite book is 'The Alchemist' by Paulo Coelho.
I love the book's message about following your dreams and finding your purpose in life.
The story is beautifully written and has a lot of depth and meaning.
It's a book that I can read over and over again and still find something new to take away from it.
The characters are relatable and the plot is engaging.
The book has inspired me to pursue my own passions and take ri...
Managers may face various scenarios in their work. Here are some pointers to handle them.
Identify the problem and its root cause
Develop a plan of action
Communicate effectively with team members
Delegate tasks appropriately
Monitor progress and adjust plan as needed
Provide feedback and recognition
Handle conflicts and difficult conversations
Stay organized and prioritize tasks
In conflicting scenarios where a manager does not listen or subordinates disagree, I have experience in finding common ground and communicating effectively.
I have experience in active listening and finding common ground to resolve conflicts
I am skilled in effective communication and can articulate my perspective clearly
I am open to feedback and willing to consider alternative viewpoints
I have successfully navigated sim...
I would prefer a job that challenges me and allows me to learn new skills.
I value opportunities for growth and development
I am open to new experiences and challenges
I want to work in an environment that encourages learning
Examples: a job that involves working with new technologies or a job that requires problem-solving skills
I appeared for an interview before Mar 2021.
Round duration - 60 minutes
Round difficulty - Easy
This was a technical round with questions based on OOPS Concepts.
Types of polymorphism in OOP include compile-time polymorphism (method overloading) and runtime polymorphism (method overriding).
Compile-time polymorphism: achieved through method overloading, where multiple methods have the same name but different parameters.
Runtime polymorphism: achieved through method overriding, where a subclass provides a specific implementation of a method defined in its superclass.
Example: Compi...
Function overloading is when multiple functions have the same name but different parameters or return types.
Function overloading allows multiple functions with the same name to be defined in a class or namespace.
The functions must have different parameters or return types to be considered overloaded.
Example: void print(int num) and void print(string text) are overloaded functions with the same name 'print'.
A virtual function is a function in a base class that is declared using the keyword 'virtual' and can be overridden by a function in a derived class.
Virtual functions allow for dynamic polymorphism in object-oriented programming.
They are used to achieve runtime binding and enable the implementation of the concept of function overriding.
Virtual functions are typically used in inheritance hierarchies to provide a common ...
Templates in C++ are a feature that allows for generic programming by creating reusable code.
Templates allow for writing generic functions or classes that can work with any data type.
Templates are defined using the 'template' keyword followed by the template parameter list.
Example: template <class T> T add(T a, T b) { return a + b; }
A null pointer is a pointer that does not point to any memory location.
A null pointer is typically used to indicate that the pointer does not have a valid target.
Dereferencing a null pointer can lead to a segmentation fault or program crash.
In C/C++, a null pointer is represented by the value 0 or nullptr.
Null pointers are commonly used in programming to represent the absence of a valid pointer.
Round duration - 60 minutes
Round difficulty - Easy
Technical round with OOPS based questions mainly.
A dangling pointer in C is a pointer that points to a memory location that has been deallocated, leading to potential crashes or undefined behavior.
Dangling pointers occur when memory is deallocated but the pointer is not updated or set to NULL.
Accessing a dangling pointer can result in reading or writing to invalid memory locations.
Example: int *ptr = malloc(sizeof(int)); free(ptr); *ptr = 10; // Accessing a dangling ...
A V-table is a data structure used in object-oriented programming to store virtual functions for dynamic binding.
V-table stands for virtual table.
It is used in object-oriented programming languages like C++ to implement polymorphism.
Each class with virtual functions has its own V-table.
V-table contains pointers to the virtual functions of the class.
Given an array representation of a min-heap of size 'n', your task is to convert this array into a max-heap.
The first line of input contains an int...
Convert a given min-heap array into a max-heap array.
Iterate through the given min-heap array and build a max-heap array by swapping elements.
Start from the last non-leaf node and heapify down to maintain the max-heap property.
Ensure that the output array satisfies the max-heap property.
Example: For min-heap [1,2,3,6,7,8], the max-heap would be [8,7,3,6,2,1].
Round duration - 30 minutes
Round difficulty - Easy
This was management interview round. Make sure you know everything on your resume. Most questions are based on your resume.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
Top trending discussions
I applied via Campus Placement
I applied via Walk-in and was interviewed before Jul 2021. There was 1 interview round.
Derivatives are financial instruments that derive their value from an underlying asset or security.
Types of derivatives include futures, options, swaps, and forwards.
Futures are contracts to buy or sell an asset at a predetermined price and date.
Options give the buyer the right, but not the obligation, to buy or sell an asset at a predetermined price and date.
Swaps involve exchanging cash flows based on different finan...
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
It was a cumulative test
You are given an array ARR
of long type, which represents an elevation map where ARR[i]
denotes the elevation of the ith
bar. Calculate the total amount of rainwater t...
Calculate the total amount of rainwater that can be trapped within given elevation map.
Iterate through the array to find the maximum height on the left and right of each bar.
Calculate the amount of water that can be trapped above each bar by taking the minimum of the maximum heights on the left and right.
Sum up the trapped water above each bar to get the total trapped water for the elevation map.
Round duration - 90 minutes
Round difficulty - Medium
It was sophisticated in nature and a good brain buster.
Prateek is a kindergarten teacher with a mission to distribute candies to students based on their performance. Each student must get at least one candy, and if two s...
Determine the minimum number of candies needed to distribute to students based on their performance and ratings.
Iterate through the array of student ratings and assign 1 candy to each student initially.
Then iterate from left to right and check if the current student's rating is higher than the previous student, if so, assign candies accordingly.
Similarly, iterate from right to left to handle cases where the current stu...
Round duration - 1 hour
Round difficulty - Medium
It revolved around basic concepts
DBMS is a software system that manages databases and allows users to interact with data stored in them.
DBMS stands for Database Management System
It helps in creating, updating, and managing databases
Examples of DBMS include MySQL, Oracle, SQL Server
It ensures data integrity, security, and efficient retrieval
Round duration - 70 minutes
Round difficulty - Hard
It was a great experience
Tip 1 : Stay consistent with your efforts
Tip 2 : Work hard with honesty
Tip 3 : Try to set goal of +1 level from the goal you want to achieve
Tip 1 : Present yourself with honesty
Tip 2 : Mention about the Workshops, hackathons, achievements, and the projects.
I appeared for an interview before Sep 2020.
Round duration - 30 minutes
Round difficulty - Easy
It was in the day time. I was asked the programming language of my choice. It was mostly focused on programming fundamentals. I was asked 2 questions based on Data Structures and Algorithms.
A loop in a linked list can be detected using Floyd's Cycle Detection Algorithm.
Use two pointers - slow and fast, where slow moves one step at a time and fast moves two steps at a time.
If there is a loop, the two pointers will eventually meet at some point within the loop.
To detect the start of the loop, reset one pointer to the head and move both pointers one step at a time until they meet again.
Round duration - 30 minutes
Round difficulty - Easy
This round was mostly focused on my resume and projects.
Round duration - 30 minutes
Round difficulty - Easy
It was in the evening. I went to their office in Gurgaon. It was taken by one of the technology director who had a lot of experience.
Do practice a lot of data structures questions as mostly questions in interviews are based on them. Also, do prepare for projects mentioned in your resume and skills which you have mentioned. Coding ninjas has a big hand in making my interview clear as I have taken a course from the coding Ninjas which helped me a lot to make my concepts clear.
Application resume tips for other job seekersKeep it short and crisp. Go through it properly before the interview. Make sure that you haven't put anything in it that can cause you problems during the interview.
Final outcome of the interviewSelectedI 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 applied via Campus Placement and was interviewed before Sep 2020. There were 5 interview rounds.
I applied via Recruitment Consultant and was interviewed before Jun 2020. There were 3 interview rounds.
Some of the top questions asked at the UBS Business Technology Analyst interview -
Associate Director
3.8k
salaries
| ₹15 L/yr - ₹55.8 L/yr |
Assistant Vice President
2.3k
salaries
| ₹16 L/yr - ₹50.3 L/yr |
Authorized Officer
2k
salaries
| ₹10 L/yr - ₹30 L/yr |
Exempt NON Officer
1.5k
salaries
| ₹7.2 L/yr - ₹29 L/yr |
ENO
1.2k
salaries
| ₹6.7 L/yr - ₹25 L/yr |
Wells Fargo
JPMorgan Chase & Co.
HSBC Group
Cholamandalam Investment & Finance