i
Bajaj Finserv
Filter interviews by
Clear (1)
Use JavaScript to find repeating alphabets in an array of strings.
Loop through each string in the array
For each string, loop through each character and check if it is repeated
Store the repeating alphabets in a separate array
Angular lifecycle hooks are methods that allow you to tap into specific points in a component's lifecycle.
ngOnChanges: Called when an input property changes
ngOnInit: Called once the component is initialized
ngDoCheck: Called during every change detection run
ngAfterContentInit: Called after content (ng-content) has been projected into the component
ngAfterContentChecked: Called after every check of the projected content
ng...
Top trending discussions
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.
posted on 31 Oct 2022
I applied via Company Website and was interviewed before Oct 2021. There were 2 interview rounds.
I have followed the MVC, Singleton, and Factory design patterns in my past projects.
MVC pattern for separating concerns and improving maintainability
Singleton pattern for ensuring only one instance of a class is created
Factory pattern for creating objects without exposing the instantiation logic
Applications can be secured by implementing various security measures such as authentication, authorization, encryption, and regular updates.
Implement strong authentication mechanisms such as multi-factor authentication
Use authorization to restrict access to sensitive data and functionalities
Encrypt sensitive data both in transit and at rest
Regularly update the application and its dependencies to patch security vulnera...
posted on 19 Apr 2020
I applied via Company Website and was interviewed in Oct 2019. There were 4 interview rounds.
posted on 5 Jul 2021
I was interviewed before Mar 2016.
I applied via Recruitment Consulltant and was interviewed in Mar 2024. There were 3 interview rounds.
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Inheritance in object-oriented programming languages like Java allows for polymorphism.
RestController is a class in Spring framework used to handle HTTP requests and return responses as JSON or XML.
Handles HTTP requests in Spring framework
Returns responses as JSON or XML
Annotate a class with @RestController to define it as a RestController
Example: @RestController public class UserController {}
Find the number of occurrences of each element in the given ArrayList
posted on 23 Jan 2023
SOLID principles are a set of five design principles for writing maintainable and scalable code.
Single Responsibility Principle (SRP) - A class should have only one reason to change.
Open/Closed Principle (OCP) - A class should be open for extension but closed for modification.
Liskov Substitution Principle (LSP) - Subtypes should be substitutable for their base types.
Interface Segregation Principle (ISP) - A client shou...
posted on 11 Oct 2024
I applied via Referral and was interviewed before Oct 2023. There were 3 interview rounds.
Pseudo code on java problems
React coding to create login page
posted on 23 Oct 2024
Standanrd leetcode problems of medium difficulty
based on 1 interview
Interview experience
Assistant Manager
1.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Sales Officer
1.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Sales Executive
1.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Sales Manager
1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Manager
866
salaries
| ₹0 L/yr - ₹0 L/yr |
HDFC Bank
ICICI Bank
Axis Bank
State Bank of India