Filter interviews by
Clear (1)
I applied via Recruitment Consulltant and was interviewed in Mar 2024. There were 2 interview rounds.
Top trending discussions
Function to return mutual friends given two ids and getFriends(id) function
Call getFriends(id) for both ids to get their respective friend lists
Iterate through both lists and compare to find mutual friends
Return the list of mutual friends
Function to return list of friends of friends in decreasing order of mutual friends
Use a set to store all friends of friends
Iterate through the list of friends of the given id
For each friend, iterate through their list of friends and count mutual friends
Sort the set of friends of friends by decreasing number of mutual friends
Given time slots, find a specific time with maximum overlap. Prove solution.
Create a list of all start and end times
Sort the list in ascending order
Iterate through the list and keep track of the number of overlaps at each time
Return the time with the maximum number of overlaps
Prove solution by testing with different input sizes and edge cases
Find the longest sub-array with increasing order of integers.
Iterate through the array and keep track of the current sub-array's start and end indices.
Update the start index whenever the current element is smaller than the previous element.
Update the end index whenever the current element is greater than or equal to the next element.
Calculate the length of the sub-array and compare it with the longest sub-array found s
Find the length of longest increasing subsequence and print the sequence from an array of integers.
Use dynamic programming to solve the problem
Create an array to store the length of longest increasing subsequence ending at each index
Traverse the array and update the length of longest increasing subsequence for each index
Print the sequence by backtracking from the index with the maximum length
Time complexity: O(n^2)
Exam...
Code to find a given integer in a rotated sorted array.
Use binary search to find the pivot point where the array is rotated.
Divide the array into two subarrays and perform binary search on the appropriate subarray.
Handle edge cases such as the target integer not being present in the array.
Use a min-heap to keep track of the largest K numbers seen so far.
Create a min-heap of size K.
For each incoming integer, add it to the heap if it's larger than the smallest element in the heap.
If the heap size exceeds K, remove the smallest element.
At the end, the heap will contain the largest K numbers in the input.
LRU Cache is a data structure that stores the most recently used items and discards the least recently used items.
Use a doubly linked list to keep track of the order of items in the cache
Use a hash map to store the key-value pairs for fast access
When an item is accessed, move it to the front of the linked list
When the cache is full, remove the least recently used item from the back of the linked list and the hash map
Developed a web-based project management tool for a software development company.
Used Agile methodology for development
Implemented user authentication and authorization using JWT
Integrated with GitHub for version control
Used React for front-end and Node.js for back-end
Implemented real-time chat feature using Socket.io
I appeared for an interview before Jul 2016.
I appeared for an interview in Sep 2016.
Area of square except inscribed circle
Find area of square
Subtract area of circle from square
Area of square = L^2, Area of circle = pi*(L/2)^2
Answer = L^2 - pi*(L/2)^2
A program to find factorial using recursion.
Define a function that takes an integer as input.
Check if the input is 0 or 1, return 1 in that case.
Otherwise, call the function recursively with input-1 and multiply it with the input.
Indexes are data structures that improve the speed of data retrieval operations in a database. Views are virtual tables created from queries.
Indexes are used to quickly locate data in a database by creating a sorted structure that allows for efficient searching.
Views are virtual tables that are created by executing a query and storing the result set as a named object.
Indexes can be created on one or more columns of a t...
Indexes are implemented using B Trees and B+ Trees.
B Trees and B+ Trees are data structures used to organize and efficiently search data in databases.
B Trees are balanced search trees that store data in nodes with multiple children.
B+ Trees are similar to B Trees but have additional features like leaf nodes that form a linked list.
Indexes are created on specific columns of a database table to improve query performance.
...
Other than indexes and tables, a DBMS also includes views, stored procedures, triggers, and functions.
Views: Virtual tables that are based on the result of a query. They provide a way to simplify complex queries and restrict access to data.
Stored Procedures: Precompiled sets of SQL statements that can be executed with a single command. They enhance performance and allow for code reusability.
Triggers: Special types of s...
A database administrator manages and maintains databases, ensuring their security, performance, and availability.
Designing and implementing database structures
Installing and configuring database software
Monitoring and optimizing database performance
Ensuring data integrity and security
Backing up and restoring databases
Troubleshooting and resolving database issues
Collaborating with developers and system administrators
Pla...
Types of integrity in DBMS include foreign, referential, and domain.
Foreign integrity ensures that foreign key values in a table match primary key values in another table.
Referential integrity ensures that relationships between tables are maintained, preventing orphaned or invalid data.
Domain integrity ensures that data in a column adheres to specified data types, formats, or constraints.
For example, in a database for ...
SDLC is a process followed by software development teams to design, develop and test high-quality software.
SDLC stands for Software Development Life Cycle
It consists of several phases including planning, analysis, design, implementation, testing, and maintenance
Each phase has its own set of activities and deliverables
The goal of SDLC is to produce high-quality software that meets customer requirements and is delivered ...
Agile methodology is an iterative and incremental approach to software development.
Agile methodology emphasizes collaboration, flexibility, and customer satisfaction.
It involves breaking down the project into small, manageable tasks called user stories.
Teams work in short iterations called sprints, typically 1-4 weeks long.
Regular meetings like daily stand-ups and sprint reviews are held to track progress and gather fe...
In 3-5 years, I see myself as a senior software engineer leading a team of developers on innovative projects.
Advancing to a senior software engineer role
Leading a team of developers on projects
Working on innovative and challenging projects
Continuing to learn and grow in the field
I am a passionate software engineer with experience in developing web applications using various technologies.
Experienced in full-stack web development
Proficient in languages such as JavaScript, Python, and Java
Familiar with frameworks like React, Node.js, and Django
Strong problem-solving skills and ability to work in a team
Completed projects like e-commerce website using MERN stack
I want to learn how to play the piano.
I have always been fascinated by music and the piano in particular.
Learning to play an instrument can be a great way to relax and unwind.
Playing the piano can also improve cognitive skills and memory.
I believe learning to play the piano will bring me joy and fulfillment.
My strengths include problem-solving skills and attention to detail. My weaknesses include public speaking and time management.
Strengths: problem-solving skills, attention to detail
Weaknesses: public speaking, time management
I appeared for an interview in Nov 2016.
Activity flow diagrams for Ola cabs management system and washing machine.
Ola cabs management system: User books a cab -> Driver accepts the ride -> User gets picked up -> User reaches destination -> Payment is made.
Washing machine: User selects wash cycle -> Machine fills with water -> Detergent is added -> Machine agitates clothes -> Water drains -> Clothes are rinsed -> Machine spins clothes -> Cycle ends.
based on 1 interview
Interview experience
Application Development Analyst
11
salaries
| ₹11 L/yr - ₹16 L/yr |
Senior Claims Representative
10
salaries
| ₹4 L/yr - ₹6.5 L/yr |
Senior Analyst
10
salaries
| ₹12 L/yr - ₹25 L/yr |
Architect
9
salaries
| ₹42.8 L/yr - ₹46.3 L/yr |
Senior Customer Service Representative
8
salaries
| ₹4 L/yr - ₹5.4 L/yr |
Anthem
UnitedHealth
Aetna
Humana