i
Bajaj
Finserv
Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards
Filter interviews by
The longest common subsequence of two strings is the longest sequence of characters that appear in the same order in both strings.
Use dynamic programming to solve this problem efficiently.
Create a 2D array to store the lengths of the longest common subsequences.
Iterate through the characters of both strings and update the array based on the matching characters.
Trace back the array to find the longest common subseq...
Given a string of length N
, reverse the string word by word. Ensure that the output reversed string has a single space between two words and does not contain lea...
Reverse the words in a string while ensuring single spaces and no leading or trailing spaces.
Input Handling: Read multiple test cases, each containing a string to be reversed word by word.
Trimming Spaces: Use string manipulation to remove leading and trailing spaces before processing.
Splitting Words: Split the string into words based on spaces, ensuring to handle multiple spaces correctly.
Reversing Words: Reverse ...
Compute the skyline of given rectangular buildings in a 2D city, eliminating hidden lines and forming the outer contour of the silhouette when viewed from a distance. Each building is d...
The Skyline Problem involves computing the outer contour of buildings in a 2D cityscape based on their coordinates and heights.
Input Format: Each building is represented as [LEFT_i, RIGHT_i, HEIGHT_i], indicating its position and height.
Output Format: The skyline is represented as a list of key points, e.g., [[x1, y1], [x2, y2], ...], marking the silhouette.
Example: For buildings [[2, 9, 10], [3, 7, 15]], the outp...
You are provided with a sorted dictionary (by lexical order) in an alien language. Your task is to determine the character order of the alien language from this dictionar...
Determine the character order of an alien language from a sorted dictionary of words.
Graph Representation: Treat each character as a node and establish directed edges based on the order derived from adjacent words.
Topological Sorting: Use topological sorting to determine the order of characters, ensuring that for every directed edge from character A to B, A comes before B.
Example: For words ['caa', 'aaa', 'aab'], ...
Assist Ninja in altering the color of a specific region in his photo. Given the image as a 2D array where each pixel is a positive integer, update the color of a specified pixel a...
The Flood Fill Algorithm updates the color of a pixel and its adjacent same-colored pixels in a 2D image array.
Input Parameters: The function takes the image dimensions (M, N), the image matrix, starting coordinates (X, Y), and the new color (C).
Color Change: The algorithm changes the color of the pixel at (X, Y) and all adjacent pixels with the same original color to the new color C.
Depth-First Search (DFS) or Br...
Determine if a given word 'W' is present in the sentence 'S' as a complete word. The word should not merely be a substring of another word.
The first line contains an int...
Check if a given word is present in a sentence as a complete word.
Split the sentence into words using spaces as delimiter.
Check if the given word matches any of the words in the sentence.
Ensure the word is not a substring of another word in the sentence.
You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N mat...
Find all possible paths for a rat in a maze from source to destination.
Use backtracking to explore all possible paths in the maze.
Keep track of visited cells to avoid revisiting them.
Explore all possible directions ('U', 'D', 'L', 'R') from each cell.
Return the list of valid paths sorted in alphabetical order.
I applied via Referral and was interviewed in Jul 2024. There was 1 interview round.
Calaender based questions
I appeared for an interview before Jun 2024, where I was asked the following questions.
Spring IoC manages object creation and dependencies through Inversion of Control, promoting loose coupling and easier testing.
IoC stands for Inversion of Control, a design principle that transfers the control of object creation to a container.
Spring uses a container to manage the lifecycle of beans (objects) and their dependencies.
Beans are defined in configuration files (XML or Java annotations) and can be injected in...
I applied via Campus Placement and was interviewed in Mar 2022. There were 4 interview rounds.
First round was an API challenge in which we need to submit our names Reg No. and other details by using an API provided by the company .
Then the second round was coding round in which there were 19 coding multiple choice questions and 2 coding questions based on the profile we applied for . It was 1 hour and 15 mins long test
I applied via Campus Placement and was interviewed before Jan 2023. There were 3 interview rounds.
This round consisted of multiple choice questions based on angular and java. I was asked to design a 3X3 grid that should listen to the click event and the selected grid should change the color to green.
I applied via Naukri.com and was interviewed before May 2023. There was 1 interview round.
I appeared for an interview in Feb 2021.
Round duration - 120 minutes
Round difficulty - Medium
Round duration - 120 minutes
Round difficulty - Medium
You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...
Find all possible paths for a rat in a maze from source to destination.
Use backtracking to explore all possible paths in the maze.
Keep track of visited cells to avoid revisiting them.
Explore all possible directions ('U', 'D', 'L', 'R') from each cell.
Return the list of valid paths sorted in alphabetical order.
Determine if a given word 'W' is present in the sentence 'S' as a complete word. The word should not merely be a substring of another word.
The first line contains an in...
Check if a given word is present in a sentence as a complete word.
Split the sentence into words using spaces as delimiter.
Check if the given word matches any of the words in the sentence.
Ensure the word is not a substring of another word in the sentence.
Tip 1 : Knowledge of api
Tip 2 : Practice Data Structure based questions.
Tip 3 : Do at least 1 project.
Tip 1 : Keep it short.
Tip 2 : Do not mention participation certificates.
I appeared for an interview in Dec 2020.
You are provided with a sorted dictionary (by lexical order) in an alien language. Your task is to determine the character order of the alien language from this dictiona...
Determine the character order of an alien language from a sorted dictionary of words.
Graph Representation: Treat each character as a node and establish directed edges based on the order derived from adjacent words.
Topological Sorting: Use topological sorting to determine the order of characters, ensuring that for every directed edge from character A to B, A comes before B.
Example: For words ['caa', 'aaa', 'aab'], the o...
Compute the skyline of given rectangular buildings in a 2D city, eliminating hidden lines and forming the outer contour of the silhouette when viewed from a distance. Each building is ...
The Skyline Problem involves computing the outer contour of buildings in a 2D cityscape based on their coordinates and heights.
Input Format: Each building is represented as [LEFT_i, RIGHT_i, HEIGHT_i], indicating its position and height.
Output Format: The skyline is represented as a list of key points, e.g., [[x1, y1], [x2, y2], ...], marking the silhouette.
Example: For buildings [[2, 9, 10], [3, 7, 15]], the output is...
Given a string of length N
, reverse the string word by word. Ensure that the output reversed string has a single space between two words and does not contain le...
Reverse the words in a string while ensuring single spaces and no leading or trailing spaces.
Input Handling: Read multiple test cases, each containing a string to be reversed word by word.
Trimming Spaces: Use string manipulation to remove leading and trailing spaces before processing.
Splitting Words: Split the string into words based on spaces, ensuring to handle multiple spaces correctly.
Reversing Words: Reverse the o...
Assist Ninja in altering the color of a specific region in his photo. Given the image as a 2D array where each pixel is a positive integer, update the color of a specified pixel ...
The Flood Fill Algorithm updates the color of a pixel and its adjacent same-colored pixels in a 2D image array.
Input Parameters: The function takes the image dimensions (M, N), the image matrix, starting coordinates (X, Y), and the new color (C).
Color Change: The algorithm changes the color of the pixel at (X, Y) and all adjacent pixels with the same original color to the new color C.
Depth-First Search (DFS) or Breadth...
Silent environment
Evening
One on one interview
Interviewer was friendly by nature
Tip 1 : Be well versed with all the coding projects on your resume.
Tip 2 : Practice questions on the above mentioned topics from popular coding websites, like geegsforgeeks, interviewbit, etc, whichever suits you.
Tip 3 : Be familiar with the job profile you are applying for, go through the requirements of that profile and focus more on the skills it requires.
Tip 4 : Some courses like data structures and algorithms, if done, would be given more preference by interviewer over other candidates.
Tip 1 : Mention high points during your life till now relevant to job profile.
Tip 2 : Mention internships, job experience, academics projects, coding projects precisely relevant to job profile.
Tip 3 : Review you resume by as many people as you can.
Tip 4 : Follow a proper syntax while preparing your resume.
Top trending discussions
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.
I worked on several projects, including a web app for task management and a machine learning model for sentiment analysis.
Developed a task management web app using React and Node.js, allowing users to create, update, and delete tasks.
Implemented a machine learning model using Python and scikit-learn to analyze customer reviews and predict sentiment.
Created a personal portfolio website to showcase my projects and skills...
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 interviewSelectedposted on 20 May 2017
I appeared for an interview in May 2017.
Yes, the string class can be extended in most programming languages.
Inheritance can be used to extend the functionality of the string class.
By creating a new class that inherits from the string class, additional methods and properties can be added.
Extending the string class allows for customization and adding specific functionality to strings.
Example: In Python, the string class can be extended by creating a new class ...
Implicit objects in JSP are predefined objects that are available for use without any declaration or initialization.
Implicit objects in JSP include request, response, session, application, out, config, pageContext, page, exception, and others.
These objects provide access to various aspects of the JSP environment and can be used to perform common tasks.
For example, the request object allows access to HTTP request parame...
A hash map is a data structure that uses a hash function to map keys to values.
Hash map stores key-value pairs
It uses a hash function to compute an index for each key
Collisions can occur when two keys hash to the same index
Hash maps provide fast access to values based on their keys
StringBuffer and StringBuilder are both used to manipulate strings, but StringBuffer is thread-safe while StringBuilder is not.
StringBuffer is synchronized, making it safe for use in multi-threaded environments.
StringBuilder is not synchronized, making it faster but not thread-safe.
StringBuffer is preferred when multiple threads are involved, while StringBuilder is preferred for single-threaded scenarios.
Both classes p...
Annotations used in RESTful web services
1. @Path - Specifies the URI path for the resource
2. @GET - Specifies that the method handles HTTP GET requests
3. @POST - Specifies that the method handles HTTP POST requests
4. @PUT - Specifies that the method handles HTTP PUT requests
5. @DELETE - Specifies that the method handles HTTP DELETE requests
6. @PathParam - Binds the value of a URI template parameter to a method paramete...
based on 6 interview experiences
Difficulty level
Duration
based on 16 reviews
Rating in categories
Sales Officer
1.3k
salaries
| ₹1.5 L/yr - ₹4.2 L/yr |
Assistant Manager
1.3k
salaries
| ₹2.6 L/yr - ₹6.6 L/yr |
Sales Executive
1.2k
salaries
| ₹1.5 L/yr - ₹4.5 L/yr |
Sales Manager
1.1k
salaries
| ₹3.5 L/yr - ₹8 L/yr |
Manager
954
salaries
| ₹4 L/yr - ₹9 L/yr |
Wells Fargo
JPMorgan Chase & Co.
HSBC Group
Cholamandalam Investment & Finance