Filter interviews by
SOLID principles are a set of design principles that help in creating maintainable and scalable software.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open-Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Subtypes must be substitutable for their base types.
I - Interface Segregation Principle: Clients ...
Java 8 introduced several new concepts including lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions enable functional programming and simplify code.
Functional interfaces are interfaces with a single abstract method, used for lambda expressions.
Streams provide a way to process collections of data in a functional and parallel manner.
Default methods allow adding new methods to exist...
collect is a method in Java 8 Stream API used to accumulate elements into a collection, while collections is a package in Java that provides various data structures and algorithms for working with collections.
collect is a method in Java 8 Stream API
collect is used to accumulate elements into a collection
collections is a package in Java
collections provides data structures and algorithms for working with collections
Multiple inheritance is not directly supported in Java, but it can be achieved using interfaces and abstract classes.
Java supports single inheritance, where a class can only extend one superclass.
To achieve multiple inheritance, we can use interfaces to define additional behaviors and abstract classes to provide common implementation.
A class can implement multiple interfaces, inheriting their methods and constants.
An a...
JPA Repository is an interface provided by Spring Data JPA that provides CRUD operations for working with databases.
JPA Repository is part of the Spring Data JPA framework.
It provides an abstraction layer for working with databases.
It allows developers to perform CRUD (Create, Read, Update, Delete) operations without writing SQL queries.
JPA Repository uses the Java Persistence API (JPA) to interact with the database.
It...
I was interviewed before Sep 2020.
Round duration - 120 minutes
Round difficulty - Easy
It was a mix of mathematical aptitude, logical ability, and puzzles along with 2 programming questions of easy and medium level. Time was enough and no sectional time was present. 1-2 MCQs on SQL were also present.
This round was immediately followed by an SHL aptitude test which was basically a quick limited time check of your verbal ability and math because many questions were to be done in 1 hour.
Given a 2-dimensional boolean matrix mat
of size N x M, your task is to modify the matrix such that if any element is 1, set its entire row and column to 1. Specifi...
Modify a boolean matrix such that if any element is 1, set its entire row and column to 1.
Iterate through the matrix and mark rows and columns to be modified
Use additional arrays to keep track of rows and columns to be modified
Update the matrix in-place based on the marked rows and columns
Round duration - 60 minutes
Round difficulty - Easy
It was an online video interview round on HackerEarth with simultaneous code option. It was mostly justifying your resume in the first 15 minutes. After that OOPS was majorly asked. Basics of programming including questions on STL were asked. A class which required inheritance was asked by the interviewer to write. I was helped by the interviewer if i got stuck somewhere, Some questions on implementation of hashmaps and priority queues were also asked. A puzzle was asked which luckily struct to me at that moment.
Tip 1 : Never give up
Tip 2 : When u start a topic, don't move on to next topic before you are 100% confident in previous topic
Tip 3 : Try to give maximum time on basics of a topic especially OOPS
Tip 4 - Practice Atleast 250 Questions
Tip 5 - Ex- Do atleast 2 projects
Tip 1 : Write only those things in resume in which you are 100% confident
Tip 2 : Write maximum projects you have and be ready to explain them thoroughly
Tip 3 : Don't make any silly spelling mistakes on resume
I applied via Job lever and was interviewed before Sep 2021. There were 2 interview rounds.
Easy leetcode code 2 questions , HTML5 css javascript simple screen design
I was interviewed before May 2021.
Round duration - 60 Minutes
Round difficulty - Easy
It was an coding round
Compute the skyline of given rectangular buildings in a 2D city, eliminating hidden lines and forming the outer contour of the silhouette when viewed from a distance. Each building is ...
Compute the skyline of given rectangular buildings in a 2D city, eliminating hidden lines and forming the outer contour of the silhouette.
Iterate through the buildings and create a list of critical points (x, y) where the height changes.
Sort the critical points based on x-coordinate and process them to form the skyline.
Merge consecutive horizontal segments of equal height into one to ensure no duplicates.
Return the fin...
You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...
Find all possible paths for a rat in a maze from source to destination.
Use backtracking to explore all possible paths in the maze.
Keep track of visited cells to avoid revisiting them.
Recursively try moving in all directions (up, down, left, right) until reaching the destination.
Return a list of strings representing valid paths sorted in alphabetical order.
Round duration - 30 Minutes
Round difficulty - Easy
It was an HR round with some general questions. it was just for formality.
Tip 1 : Stay focused
Tip 2 : Practice coding questions.
Tip 3 : View previous interviews of the companies
Tip 1 : Don't lie on resume
Tip 2 : Just write in format that is catchy
I applied via Job Portal and was interviewed before Nov 2023. There were 3 interview rounds.
Use a user table with a column for user type (free, gold, platinum)
Create a user table with columns for user ID, name, email, user type
Use a separate table for user types with columns for type ID and type name
Establish a one-to-many relationship between user and user type tables
Example: user table - user_id, name, email, type_id; user_type table - type_id, type_name
High-level design for a live rank dashboard for a live test with millions of users.
Use a scalable architecture to handle millions of users concurrently.
Implement real-time data processing to update ranks dynamically.
Utilize caching mechanisms to improve performance and reduce load on the database.
Design a user-friendly interface with intuitive data visualization.
Include features for filtering, sorting, and searching to
Coding test around front end using react
posted on 22 Nov 2024
I applied via LinkedIn and was interviewed in May 2024. There was 1 interview round.
Request lifecycle in Rails involves routing, controller actions, rendering views, and responding to the client.
1. Request comes in through the browser or API endpoint.
2. Rails router determines which controller and action to route the request to.
3. Controller action processes the request, interacts with the model, and prepares data for the view.
4. View template is rendered with the data from the controller.
5. Response ...
Implement Merge Sort algorithm in Ruby
Divide the array into two halves recursively
Merge the sorted halves back together
Use a helper method to merge the two halves
I applied via LinkedIn and was interviewed in May 2021. There was 1 interview round.
I applied via Referral and was interviewed before Aug 2022. There were 4 interview rounds.
Event loop is a mechanism that allows for asynchronous programming by handling events and callbacks.
Event loop is responsible for handling and executing events and callbacks in a non-blocking manner.
It continuously checks the event queue and processes events one by one.
Event loop is commonly used in JavaScript for handling asynchronous operations like setTimeout, setInterval, and AJAX requests.
Ask to create a database design and API for a todo list app
based on 1 interview
Interview experience
based on 5 reviews
Rating in categories
Academic Counsellor
112
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Academic Counsellor
92
salaries
| ₹0 L/yr - ₹0 L/yr |
Business Development Associate
35
salaries
| ₹0 L/yr - ₹0 L/yr |
Business Development Manager
24
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
24
salaries
| ₹0 L/yr - ₹0 L/yr |
BYJU'S
Unacademy
upGrad
MeritNation