Filter interviews by
Be the first one to contribute and help others!
posted on 13 Sep 2024
Island Perimeter and Number of Provinces. Basic Leetcode question
HackerEarth / Hacker rank Test
Using dynamic programming to find the lowest cost for metro passes based on given days.
Create an array to store the minimum cost for each day.
Iterate through each day and calculate the minimum cost based on 1, 7, or 30 day pass.
Update the minimum cost for each day using dynamic programming.
Return the minimum cost for the total number of days needed.
I applied via Campus Placement
Coding round consisted of three problems with easy to moderate level difficulty.
Minimum number of platforms required for a railway station depends on the maximum number of trains arriving and departing at the same time.
Calculate the maximum number of trains arriving and departing at the same time.
Determine the time intervals for each train's arrival and departure.
Add extra platforms for buffer and unexpected delays.
Consider factors like train length, frequency, and scheduling conflicts.
Example: If...
Rearrange array with negative numbers at the beginning
Iterate through the array and move negative numbers to the beginning
Use two pointers approach to swap elements
Maintain the order of negative numbers while shifting them to the beginning
A simple program using multithreading can be implemented to demonstrate parallel execution of tasks.
Create a class that implements the Runnable interface in Java.
Override the run() method to define the task that will run in a separate thread.
Create instances of the class and start them using the Thread class.
Use synchronization mechanisms like locks or semaphores to manage shared resources in a thread-safe manner.
Java Collections API provides a set of classes and interfaces to store and manipulate collections of objects.
Includes interfaces like List, Set, and Map for different types of collections
Provides classes like ArrayList, HashSet, and HashMap for implementing collections
Offers utility classes like Collections for common operations on collections
Introduced in Java 2 and has been expanded in subsequent versions
Behavioural and culture fit
I applied via Naukri.com and was interviewed in May 2024. There were 3 interview rounds.
DSA , LLD on bar raiser
DSA, SQL and discussions around projects
A notification system to alert users of important events or updates.
Define types of notifications (e.g. email, SMS, push notifications)
Implement a user preference setting for notification frequency
Include a notification history for users to review past alerts
I applied via Job Portal and was interviewed in Dec 2023. There was 1 interview round.
Basic code to be written
Prime numbers are numbers that are only divisible by 1 and themselves.
Start by checking if the number is less than 2, as prime numbers start from 2.
Iterate from 2 to the square root of the number and check if the number is divisible by any of these numbers.
If the number is not divisible by any number in the range, then it is a prime number.
Leetcode medium questions using priority queue. I don't remeber exact now
I applied via Naukri.com and was interviewed before Jun 2023. There was 1 interview round.
Assistant Manager
120
salaries
| ₹3 L/yr - ₹11 L/yr |
Manager
60
salaries
| ₹4 L/yr - ₹15 L/yr |
Assistant Vice President
57
salaries
| ₹10.6 L/yr - ₹25 L/yr |
Vice President
46
salaries
| ₹18 L/yr - ₹32 L/yr |
Deputy Manager
35
salaries
| ₹4.8 L/yr - ₹13.5 L/yr |
State Bank of India
ICICI Bank
HDFC Bank
Axis Bank