i
Tata 1mg
Filter interviews by
I was interviewed in Jan 2024.
Find local minima in an array in an optimized way.
Iterate through the array and compare each element with its neighbors.
If an element is smaller than both its neighbors, it is a local minima.
Handle edge cases where the first and last elements have only one neighbor.
Optimize the algorithm by using binary search instead of linear search.
Top trending discussions
I applied via Recruitment Consulltant and was interviewed in Jan 2024. There was 1 interview round.
1. Find the kth minimum value from a binary search tree
2. Find the number of operations required to convert string s1 to s2
I applied via LinkedIn and was interviewed in Aug 2024. There were 3 interview rounds.
It was an online assessment. Some coding questions. Some cs fundamental mcqs. SQL query, Rest Api question.
An assignment to create a game using nodejs/ go lang/ java.
posted on 9 Nov 2024
I applied via LinkedIn and was interviewed in May 2024. There were 3 interview rounds.
Event loop is a mechanism in programming that allows for asynchronous execution of code by continuously checking for and handling events.
Event loop is commonly used in JavaScript to handle asynchronous operations like setTimeout, setInterval, and AJAX requests.
It works by continuously checking the event queue for any pending events, executing them one by one, and then moving on to the next event.
Event loop helps in pre...
The order of output is fs, process, setTimeout, setInterval, promise.
fs module is synchronous and will output first
process is next in line
setTimeout will be executed after process
setInterval will be executed after setTimeout
promise will be executed last
JavaScript is an interpreted language.
JavaScript is an interpreted language, meaning it is executed line by line at runtime.
There is no separate compilation step in JavaScript like in languages that use compilers.
Examples of interpreted languages include Python, Ruby, and PHP.
Output comparison of for loops using var, let, and bind in JavaScript.
Using var: variable is function-scoped, may lead to unexpected behavior in loops.
Using let: variable is block-scoped, recommended for loop iterations.
Using bind: creates a new function with a specified 'this' value and initial arguments.
I work on coding, debugging, testing, and collaborating with team members. Tech stack decisions are based on project requirements, scalability, performance, and team expertise.
Daily tasks include coding, debugging, testing, and collaborating with team members
Tech stack decisions are based on project requirements, scalability, performance, and team expertise
Consider factors like language compatibility, libraries/framewo...
Design a scalable, real-time document sharing app like Google Docs.
Use websockets for real-time collaboration
Implement version control to track changes
Utilize a distributed database for scalability
Include user authentication and access control
Support offline editing with automatic sync
Utilize cloud storage for scalability, implement image compression techniques, and regularly update image processing libraries.
Utilize cloud storage for scalability
Implement image compression techniques
Regularly update image processing libraries
Questions were crayon box ,the bot and the game and happy neighbourhood for 90 mins
I applied via campus placement at Maulana Azad National Institute of Technology (NIT), Bhopal and was interviewed in Jul 2024. There were 2 interview rounds.
3 questions easy-medium level leetcode problem I solved 2 completely and 3rd question partially (9/15 test cases passed) to move on to 2nd round
posted on 26 Aug 2024
I applied via Referral and was interviewed in Apr 2024. There was 1 interview round.
posted on 15 Oct 2024
DSA Problems from leetcode
I applied via Referral and was interviewed in Mar 2024. There were 3 interview rounds.
Given some ant ui design to reacreate from scretch
based on 1 review
Rating in categories
Team Lead
298
salaries
| ₹1.8 L/yr - ₹8.5 L/yr |
Pharmacist
216
salaries
| ₹1.9 L/yr - ₹4.5 L/yr |
Senior Executive
215
salaries
| ₹2 L/yr - ₹6.1 L/yr |
Assistant Manager
168
salaries
| ₹4.3 L/yr - ₹14 L/yr |
Executive
139
salaries
| ₹1.6 L/yr - ₹4.6 L/yr |
PharmEasy
Netmeds.com
Medlife
Practo