Filter interviews by
MergeSort is a divide and conquer algorithm that sorts an array of strings.
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Chrome uses an algorithm to predict and suggest words based on user input.
Chrome's algorithm uses a combination of user history, bookmarks, and popular searches to predict and suggest words.
The algorithm also takes into account the frequency and recency of the user's input.
Chrome's suggestion feature is powered by Google's Autocomplete API, which uses machine learning to predict and suggest words.
The suggestions a...
Counting Sort is a sorting algorithm that sorts elements by counting the number of occurrences of each unique element.
Count the occurrences of each element in the array
Calculate the cumulative sum of the counts
Place each element in the sorted array based on its count and cumulative sum
Time complexity is O(n+k) where n is the number of elements and k is the range of input
Example: Sort an array of strings based on t...
Implementing a Queue using Stacks
Use two stacks to implement a queue
Push elements onto the first stack
When dequeuing, pop all elements from the first stack and push onto the second stack
Pop the top element from the second stack to dequeue
If the second stack is empty, pop all elements from the first stack and push onto the second stack
Binary Search has a time complexity of O(log n) and is derived from dividing the search space in half at each step.
Binary Search is a search algorithm that works on sorted arrays.
It starts by comparing the target value to the middle element of the array.
If the target value is smaller, the search continues on the lower half of the array.
If the target value is larger, the search continues on the upper half of the ar...
QuickSort is a sorting algorithm that uses divide and conquer approach.
Choose a pivot element from the array
Partition the array into two sub-arrays, one with elements less than the pivot and one with elements greater than the pivot
Recursively apply the above steps to the sub-arrays
Combine the sorted sub-arrays to get the final sorted array
OCR uses algorithms to recognize and convert text from images into machine-readable format.
Image Preprocessing: Enhances image quality (e.g., binarization, noise reduction).
Character Segmentation: Identifies and separates individual characters from the text.
Feature Extraction: Analyzes shapes and patterns of characters (e.g., edges, curves).
Classification: Uses machine learning models to match extracted features w...
Insert a new node after a given node in a linked list without needing the head pointer.
To insert a node, create a new node with the desired value.
Set the new node's next pointer to the current node's next pointer.
Update the current node's next pointer to point to the new node.
This operation runs in O(1) time since we only manipulate pointers.
Example: If current node is 'A' and we want to insert 'B', after insertio...
Code for Fibonacci Series using Recursion, Iteration and Dynamic Programming
Recursion: Define a function that calls itself with the previous two numbers in the series as arguments
Iteration: Use a loop to calculate the series by adding the previous two numbers in each iteration
Dynamic Programming: Store the previous two numbers in variables and use them to calculate the next number in the series
Insert a new node after a given node in a linked list without needing the head pointer.
To insert a node, create a new node with the desired value.
Set the new node's next pointer to the current node's next pointer.
Update the current node's next pointer to point to the new node.
This operation runs in O(1) time since we only manipulate pointers.
Example: If current node is 'A' and we want to insert 'B', after insertion, 'A...
Binary Search has a time complexity of O(log n) and is derived from dividing the search space in half at each step.
Binary Search is a search algorithm that works on sorted arrays.
It starts by comparing the target value to the middle element of the array.
If the target value is smaller, the search continues on the lower half of the array.
If the target value is larger, the search continues on the upper half of the array.
T...
QuickSort is a sorting algorithm that uses divide and conquer approach.
Choose a pivot element from the array
Partition the array into two sub-arrays, one with elements less than the pivot and one with elements greater than the pivot
Recursively apply the above steps to the sub-arrays
Combine the sorted sub-arrays to get the final sorted array
Code for Fibonacci Series using Recursion, Iteration and Dynamic Programming
Recursion: Define a function that calls itself with the previous two numbers in the series as arguments
Iteration: Use a loop to calculate the series by adding the previous two numbers in each iteration
Dynamic Programming: Store the previous two numbers in variables and use them to calculate the next number in the series
Implementing a Queue using Stacks
Use two stacks to implement a queue
Push elements onto the first stack
When dequeuing, pop all elements from the first stack and push onto the second stack
Pop the top element from the second stack to dequeue
If the second stack is empty, pop all elements from the first stack and push onto the second stack
MergeSort is a divide and conquer algorithm that sorts an array of strings.
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
OCR uses algorithms to recognize and convert text from images into machine-readable format.
Image Preprocessing: Enhances image quality (e.g., binarization, noise reduction).
Character Segmentation: Identifies and separates individual characters from the text.
Feature Extraction: Analyzes shapes and patterns of characters (e.g., edges, curves).
Classification: Uses machine learning models to match extracted features with k...
Counting Sort is a sorting algorithm that sorts elements by counting the number of occurrences of each unique element.
Count the occurrences of each element in the array
Calculate the cumulative sum of the counts
Place each element in the sorted array based on its count and cumulative sum
Time complexity is O(n+k) where n is the number of elements and k is the range of input
Example: Sort an array of strings based on their ...
Chrome uses an algorithm to predict and suggest words based on user input.
Chrome's algorithm uses a combination of user history, bookmarks, and popular searches to predict and suggest words.
The algorithm also takes into account the frequency and recency of the user's input.
Chrome's suggestion feature is powered by Google's Autocomplete API, which uses machine learning to predict and suggest words.
The suggestions are di...
Top trending discussions
I applied via Recruitment Consulltant and was interviewed in Sep 2021. There were 2 interview rounds.
Apti and coding
I applied via Campus Placement and was interviewed in Jun 2021. There was 1 interview round.
My dream is to create innovative software solutions that positively impact people's lives and drive technological advancement.
Building User-Centric Applications: I aspire to develop applications that prioritize user experience, like a health tracking app that motivates users to lead healthier lives.
Contributing to Open Source: I dream of contributing to open-source projects, collaborating with developers worldwide to c...
I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.
I applied via Campus Placement and was interviewed in Jun 2024. There were 3 interview rounds.
Coding test has multiple choice questions based on basics of programming and 2 coding questions.
OOP is a programming paradigm based on the concept of objects, which can contain data and code to manipulate that data.
OOP focuses on creating objects that interact with each other to solve problems.
Key concepts include classes, objects, inheritance, polymorphism, and encapsulation.
Classes are blueprints for creating objects, defining their properties and behaviors.
Inheritance allows new classes to be based on existing...
I appeared for an interview in May 2025, where I was asked the following questions.
I applied via Recruitment Consulltant and was interviewed in Feb 2024. There were 2 interview rounds.
First round was coding test in online mode which was quite easy.
I applied via Approached by Company and was interviewed in May 2024. There were 2 interview rounds.
1 hr coding round required me to solve 2 leetcode medium questions
I applied via Company Website and was interviewed in Aug 2023. There were 3 interview rounds.
I'm knowlege of c language
Create a REST API to retrieve employee data by ID
Use a GET request to /employees/{id} endpoint
Query the database for employee data based on the provided ID
Return the employee data in JSON format
Some of the top questions asked at the Medlife Software Engineer interview -
based on 2 reviews
Rating in categories
Executive Pharmacist
130
salaries
| ₹2 L/yr - ₹4 L/yr |
Pharmacist
123
salaries
| ₹1.8 L/yr - ₹4.2 L/yr |
Associate Pharmacist
119
salaries
| ₹2 L/yr - ₹3.8 L/yr |
Team Lead
58
salaries
| ₹2.1 L/yr - ₹5.5 L/yr |
MIS Executive
51
salaries
| ₹2.4 L/yr - ₹4.5 L/yr |
PharmEasy
Udaan
Swiggy
CARS24