i
Coding Ninjas
Filter interviews by
Clear (1)
I applied via Naukri.com and was interviewed before Oct 2022. There were 4 interview rounds.
Implement login with Google SSO, show emails in a single place
JWT can be implemented by generating a token with user information and a secret key, then verifying the token using the same secret key.
Generate a JWT token with user information and a secret key
Include necessary claims like expiration time, issuer, etc.
Verify the JWT token using the same secret key
Handle token expiration and refresh if needed
Middleware in Express is a function that has access to the request and response objects.
Create a middleware function using app.use() method in Express.
Middleware functions have access to the request object (req), the response object (res), and the next middleware function in the application's request-response cycle.
Example: app.use((req, res, next) => { console.log('This is a middleware function'); next(); });
Lazy loading in Angular delays loading of modules until they are needed
Lazy loading helps improve performance by only loading modules when they are required
It is achieved by using the loadChildren property in the route configuration
Lazy loaded modules are loaded asynchronously when the user navigates to the corresponding route
Server-side rendering (SSR) in Angular can be enabled by using Angular Universal.
Install Angular Universal using Angular CLI
Create a new Angular Universal project
Update app.module.ts to include server-side rendering
Build and run the Angular Universal project
I applied via Naukri.com and was interviewed in Jul 2022. There were 3 interview rounds.
It was on hacker rank
It was a aptitude test taken by me of the new and all the response and the of new
Top trending discussions
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 applied via Company Website and was interviewed before Jul 2023. There was 1 interview round.
Interview was problem solving
I applied via LinkedIn and was interviewed in May 2021. There was 1 interview round.
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
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
Coding test around front end using react
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
based on 2 interviews
Interview experience
Teaching Assistant
138
salaries
| ₹0 L/yr - ₹0 L/yr |
Relationship Manager
29
salaries
| ₹0 L/yr - ₹0 L/yr |
Operations Associate
26
salaries
| ₹0 L/yr - ₹0 L/yr |
Admission Counsellor
19
salaries
| ₹0 L/yr - ₹0 L/yr |
Program Manager
16
salaries
| ₹0 L/yr - ₹0 L/yr |
upGrad
Simplilearn
Unacademy
BYJU'S