i
UBS
Filter interviews by
I applied via Referral and was interviewed before Feb 2023. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in May 2021. There were 5 interview rounds.
I applied via Approached by Company and was interviewed in Sep 2024. There were 5 interview rounds.
Use two threads to print odd and even numbers in sync
Create two threads, one for printing odd numbers and one for printing even numbers
Use synchronization mechanisms like mutex or semaphore to ensure output is in sync
Example: Thread 1 prints odd numbers (1, 3, 5, ...) and Thread 2 prints even numbers (2, 4, 6, ...)
Find the largest common prefix among an array of strings.
Iterate through the characters of the first string and compare with the corresponding characters of other strings.
Stop when a mismatch is found or when reaching the end of any string.
Return the prefix found so far.
Saga pattern is a design pattern used in microservices architecture to manage distributed transactions.
Saga pattern breaks down a transaction into a series of smaller, independent steps.
Each step in the saga is a separate transaction that can be rolled back if needed.
If one step fails, compensating transactions can be executed to undo the changes made by previous steps.
Saga pattern helps maintain data consistency in a ...
Hash map and hash set are data structures that use hashing to store key-value pairs and unique values respectively.
Hash map uses key-value pairs where keys are hashed to find the corresponding value
Hash set stores unique values using hashing to quickly check for duplicates
Example: HashMap
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Singleton pattern involves a private constructor, a static method to access the instance, and a static variable to hold the instance.
To break the singleton pattern, one can use reflection to access the private constructor and create multiple instances.
Another way to break the singleton pattern is by using serialization a
I am excited about the innovative projects and collaborative team environment at this company.
Opportunity to work on cutting-edge projects
Collaborative team environment
Strong company culture and values
Room for growth and advancement
Positive reputation in the industry
I applied via Company Website and was interviewed in Jul 2020. There were 4 interview rounds.
Java 8 introduced several new features including lambda expressions, streams, and default methods.
Lambda expressions allow for functional programming and concise code.
Streams provide a way to process collections of data in a parallel and functional manner.
Default methods allow for adding new functionality to interfaces without breaking existing implementations.
Method references provide a way to refer to methods without...
Customised immutable java class can be written by declaring all fields as final and not providing any setters.
Declare all fields as final
Do not provide any setters
Provide a constructor to initialize all fields
Override equals() and hashCode() methods
Make the class final
I applied via Naukri.com and was interviewed before Oct 2022. There were 3 interview rounds.
Bigdata systems architecture involves distributed storage, processing, and analysis of large volumes of data.
Utilize distributed file systems like HDFS for storage
Use parallel processing frameworks like Apache Spark or Hadoop for data processing
Implement data pipelines for ETL processes
Leverage NoSQL databases like Cassandra or MongoDB for real-time data querying
Consider data partitioning and replication for fault tole
Big data system distribution for storage and compute involves partitioning data across multiple nodes for efficient processing.
Data is partitioned across multiple nodes to distribute storage and processing load.
Hadoop Distributed File System (HDFS) is commonly used for storage distribution.
Apache Spark utilizes a cluster computing framework for distributed computing.
Data locality is important to minimize data transfer ...
I applied via Referral and was interviewed in May 2021. There were 4 interview rounds.
posted on 14 Mar 2015
I applied via Referral and was interviewed before Sep 2019. There were 3 interview rounds.
I approach dynamic objects by analyzing their behavior and adapting my approach accordingly.
I start by understanding the nature of the dynamic object and its expected behavior
I then analyze its movement patterns and any potential obstacles or hazards
Based on this analysis, I adapt my approach to ensure safe and efficient interaction with the dynamic object
For example, when working with a moving conveyor belt, I would e...
Implicit and explicit wait are two types of wait in Selenium used to synchronize the test execution with the application.
Implicit wait is used to set a default waiting time for the web elements to load before throwing an exception.
Explicit wait is used to wait for a specific condition to occur before proceeding with the test execution.
Implicit wait is set globally for the entire test script while explicit wait is set f...
I applied via LinkedIn and was interviewed before Aug 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.8k
salaries
| ₹9.9 L/yr - ₹29.1 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