Filter interviews by
Clear (1)
I was interviewed in Sep 2024.
HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.
HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.
HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.
HashMap is generally preferred for non-thread-safe applications, while HashTable is used in mul
Equals method is used to compare the content of objects while hashcode method is used to generate a unique integer value for an object.
Equals method is used to compare the content of objects for equality.
Hashcode method is used to generate a unique integer value for an object.
Both methods are important for implementing proper object comparison and hashing in Java.
I am motivated to come to the office by the opportunity to work on challenging projects, collaborate with talented colleagues, and contribute to the success of the team.
Challenging projects provide a sense of accomplishment and growth
Collaborating with talented colleagues allows for learning and innovation
Contributing to the success of the team fosters a sense of purpose and fulfillment
Yes, I coached a junior developer on implementing design patterns in a project.
Provided guidance on how to apply design patterns in code
Reviewed their code and provided feedback for improvement
Encouraged them to ask questions and seek clarification
I applied via Approached by Company
It was spring boot java based online round
Eager initialization creates the instance of Singleton class at the time of class loading, while lazy initialization creates the instance only when it is required.
Eager initialization can lead to resource wastage if the instance is never used.
Lazy initialization is more efficient as it only creates the instance when needed.
Eager initialization is thread-safe by default, while lazy initialization requires synchronizatio...
I applied via Company Website and was interviewed in Nov 2024. There was 1 interview round.
Discussion and analysis on Java and System Design followed by DSA which was a live coding session.
What people are saying about NatWest Group
posted on 2 Dec 2015
I was interviewed in Dec 2016.
posted on 13 Mar 2015
posted on 10 May 2015
Multi tasking, multi processing, and multi programming are different approaches to managing tasks in an operating system.
Multi tasking allows multiple tasks to run concurrently on a single processor.
Multi processing involves multiple processors running tasks simultaneously.
Multi programming allows multiple programs to be loaded into memory and executed concurrently.
Examples of multi tasking operating systems include Wi...
Memory allocation refers to the process of assigning memory to programs during runtime.
Stack allocation is done automatically and is limited in size.
Heap allocation is done manually and is larger in size.
Stack memory is used for local variables and function calls.
Heap memory is used for dynamic memory allocation.
Memory leaks can occur if heap memory is not properly managed.
Use a shared variable and synchronization mechanisms to ensure natural order printing of numbers.
Create two threads, one for printing even numbers and the other for printing odd numbers.
Use a shared variable to keep track of the current number to be printed.
Implement synchronization mechanisms like locks or semaphores to ensure only one thread can access the shared variable at a time.
Each thread should check if it is i...
Printing a matrix in spiral order
Start from the first element and print it
Move in a spiral order towards the center of the matrix
Repeat until all elements are printed
Thread class and Runnable Interface are used for multithreading in Java.
Thread class is a predefined class in Java that provides methods to create and control threads.
Runnable interface is used to define a task that can be executed by a thread.
Thread class implements Runnable interface.
Thread class provides more control over threads than Runnable interface.
Example: Thread t = new Thread(new MyRunnable()); t.start();
Exa...
Linked List is a dynamic data structure while ArrayList is a static data structure.
Linked List is best for frequent insertion and deletion operations.
ArrayList is best for frequent access operations.
Linked List uses more memory than ArrayList.
ArrayList is faster than Linked List for accessing elements.
Use Linked List when you need to frequently add or remove elements from the list.
Use ArrayList when you need to frequen
I am not interested in a career in investment banking.
I am more interested in a career in software development
I enjoy problem-solving and creating innovative solutions through coding
Investment banking does not align with my passion and skill set
I have chosen to apply to J.P. Morgan because of their reputation, global presence, and opportunities for growth.
J.P. Morgan has a strong reputation in the financial industry.
They have a global presence with offices in multiple countries.
The company offers various opportunities for career growth and development.
J.P. Morgan is known for its innovative technology solutions in the financial sector.
I am impressed by their ...
Yes, I have made a mistake in my previous project.
I underestimated the complexity of a task and ended up missing the deadline.
I failed to properly test a feature, resulting in a bug that affected user experience.
I accidentally deleted an important file without having a backup.
I misunderstood a requirement and implemented a feature incorrectly.
I applied via Naukri.com and was interviewed in May 2020. There were 5 interview rounds.
posted on 5 Jul 2021
I was interviewed before Mar 2016.
based on 3 interviews
Interview experience
Senior Analyst
2.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
889
salaries
| ₹0 L/yr - ₹0 L/yr |
Operations Analyst
761
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Vice President
716
salaries
| ₹0 L/yr - ₹0 L/yr |
Analyst
644
salaries
| ₹0 L/yr - ₹0 L/yr |
HSBC Group
Standard Chartered Plc
Barclays PLC
JPMorgan Chase & Co.