i
Bajaj Finserv Health
Filter interviews by
Clear (1)
Coding questions involving array and string manipulation.
Closures in JavaScript are functions that have access to variables from their outer scope even after the outer function has finished executing.
Closures allow functions to access variables from their outer scope
They are created when a function is defined within another function
Closures can be used to create private variables and functions
The event loop in JavaScript is responsible for handling asynchronous operations by continuously checking the call stack and the callback queue.
The event loop continuously checks the call stack for any functions that need to be executed.
If the call stack is empty, the event loop checks the callback queue for any asynchronous tasks that have completed.
The event loop then pushes these tasks onto the call stack for execut...
Top trending discussions
posted on 30 May 2024
Java 8 introduced lambda expressions, functional interfaces, streams, and default methods in interfaces.
Lambda expressions allow you to pass functionality as an argument to a method.
Functional interfaces have a single abstract method and can be used with lambda expressions.
Streams provide a way to work with sequences of elements efficiently.
Default methods allow interfaces to have methods with implementation.
Example: (...
posted on 25 Jul 2024
posted on 8 Feb 2024
.NET Framework is a software framework developed by Microsoft that provides a runtime environment for building and running applications.
.NET Framework is a platform for developing and running applications on Windows.
It includes a large library of pre-built code and a runtime environment for executing applications.
It supports multiple programming languages such as C#, VB.NET, and F#.
It provides features like memory mana...
Joins in SQL are used to combine rows from two or more tables based on a related column between them.
There are different types of joins in SQL: inner join, left join, right join, and full outer join.
Inner join returns only the matching rows from both tables.
Left join returns all the rows from the left table and the matching rows from the right table.
Right join returns all the rows from the right table and the matching ...
posted on 23 Jul 2024
A list of libraries used in software development.
Common libraries like React, Angular, jQuery
Backend libraries like Express, Django, Spring
Database libraries like Sequelize, SQLAlchemy, Hibernate
A physical file is a file stored on a physical storage device, such as a hard drive or solid-state drive.
Physical files are stored on physical storage devices like hard drives or SSDs.
They can be accessed and manipulated by software applications.
Examples include text documents, images, videos, and executable programs.
A batch job is a program that processes a large amount of data in a single run without user interaction.
Batch jobs are typically scheduled to run at specific times, often during off-peak hours.
They are commonly used for tasks such as data processing, report generation, and system maintenance.
Examples of batch job tools include cron in Unix/Linux systems and Task Scheduler in Windows.
An interactive job is a task or project that requires active participation and engagement from the user.
Interactive jobs involve real-time feedback and communication between the user and the system.
Examples include video games, online surveys, and interactive websites.
Users have control over the outcome of the task based on their input and decisions.
posted on 15 Oct 2023
I applied via Referral and was interviewed in Nov 2022. There were 5 interview rounds.
I am a software developer with 5 years of experience. I previously worked at XYZ Company as a full-stack developer.
5 years of experience in software development
Previous role as a full-stack developer at XYZ Company
Proficient in programming languages such as Java, Python, and JavaScript
SQL and coding questions
posted on 11 Jul 2024
I applied via Campus Placement and was interviewed in Jun 2024. There were 4 interview rounds.
There were 5 sections which included one coding question, MCQs and one question on SQL
A process is an instance of a program running on a computer, while a thread is a unit of execution within a process.
A process has its own memory space, while threads within the same process share memory.
Processes are independent of each other, while threads within the same process can communicate with each other more easily.
Processes are heavyweight in terms of resource consumption, while threads are lightweight.
Exampl...
A round manhole lid cannot fall through the opening it covers, unlike other shapes.
Round shape is the only shape that cannot fall through its own opening
Round shape is easier to move and position compared to other shapes
Round shape is more structurally sound and can support heavy loads evenly
The OSI model is a conceptual framework that standardizes the functions of a telecommunication or computing system into seven layers.
The OSI model consists of seven layers: Physical, Data Link, Network, Transport, Session, Presentation, and Application.
In real software development, layers commonly used are the Application layer, Transport layer, and sometimes the Network layer.
For example, when developing a web applica...
I applied via Recruitment Consultant and was interviewed in Oct 2020. There were 4 interview rounds.
I was interviewed before Sep 2020.
Round duration - 60 Minutes
Round difficulty - Easy
A thief is planning to rob a store and can carry a maximum weight of 'W' in his knapsack. The store contains 'N' items where the ith item has a weight of 'wi' and a value of...
Yes, the 0/1 Knapsack problem can be solved using dynamic programming with a space complexity of not more than O(W).
Use a 1D array to store the maximum value that can be stolen for each weight capacity from 0 to W.
Iterate through each item and update the array based on whether including the item would increase the total value.
The final value in the array at index W will be the maximum value that can be stolen.
Given an array or list of integers 'ARR', identify the second largest element in 'ARR'.
If a second largest element does not exist, return -1.
ARR = [2,...
Find the second largest element in an array of integers.
Iterate through the array to find the largest and second largest elements.
Handle cases where all elements are identical.
Return -1 if a second largest element does not exist.
Round duration - 60 Minutes
Round difficulty - Easy
System Design Round
Design a scalable system for Twitter with key components and architecture.
Use microservices architecture for scalability and fault isolation.
Key components include user service, tweet service, timeline service, and notification service.
Use a distributed database like Cassandra for storing tweets and user data.
Implement a message queue like Kafka for handling real-time updates and notifications.
Use a caching layer like ...
Round duration - 30 Minutes
Round difficulty - Easy
It is just a formality
Tip 1 : System Design
Tip 2 : Practice questions from leetcode
Tip 3 : Have some projects.
Tip 1 : Mention what you know
Tip 2 : Good previous work to showcase
I was interviewed in Jan 2021.
Round duration - 60 Minutes
Round difficulty - Easy
4 Questions which were of Easy, Medium, and Hard level.
The structure of a binary tree has been modified so that each node includes a reference to its parent node.
You are provided with two nodes,...
This question is about finding the lowest common ancestor of two nodes in a binary tree with parent references.
Traverse from the given nodes to their respective root nodes and store the paths in two separate lists.
Compare the two lists and find the last common node.
Return the last common node as the lowest common ancestor.
Ninja has been given an array, and he wants to find a subarray such that the sum of all elements in the subarray is maximum.
A subarray 'A' is considered greater than a...
The problem is to find a subarray with the maximum sum in a given array.
Iterate through the array and keep track of the maximum sum and the current sum.
If the current sum becomes negative, reset it to 0.
Update the maximum sum if the current sum is greater.
Also keep track of the start and end indices of the subarray with the maximum sum.
Return the subarray using the start and end indices.
Round duration - 50 Minutes
Round difficulty - Easy
Given a list of integers of size N
, your task is to determine the Next Greater Element (NGE) for every element. The Next Greater Element for an element X
is the firs...
The task is to find the next greater element for each element in an array.
Iterate through the array from right to left.
Use a stack to keep track of the elements that have a greater element to their right.
For each element, pop elements from the stack until a greater element is found or the stack is empty.
If a greater element is found, it is the next greater element for the current element.
If the stack becomes empty, the...
You are given a long type array/list ARR
of size N
, representing an elevation map. The value ARR[i]
denotes the elevation of the ith
bar. Your task is to determine th...
The question asks to find the total amount of rainwater that can be trapped in the given elevation map.
Iterate through the array and find the maximum height on the left and right side of each bar.
Calculate the amount of water that can be trapped at each bar by taking the minimum of the maximum heights on both sides and subtracting the height of the bar.
Sum up the amount of water trapped at each bar to get the total amo
Round duration - 30 Minutes
Round difficulty - Easy
It is just a formality round, asked basic questions like relocation and joining date etc
Tip 1 : Be good with all data structures and algorithms
Tip 2 : Able to explain your projects well
Tip 3 : focus on basics
Tip 1 : Try to make a single-page resume.
Tip 2 : Don't write unnecessary details like hobbies, family, etc.
based on 1 interview
Interview experience
based on 4 reviews
Rating in categories
Product Manager
117
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Development Engineer
65
salaries
| ₹0 L/yr - ₹0 L/yr |
Relationship Manager
42
salaries
| ₹0 L/yr - ₹0 L/yr |
Sales Manager
38
salaries
| ₹0 L/yr - ₹0 L/yr |
Salesforce Developer
24
salaries
| ₹0 L/yr - ₹0 L/yr |
Star Health & Allied Insurance
Niva Bupa Health Insurance Company
HDFC Ergo General Insurance
ICICI Lombard General Insurance Company