Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Nov 2022. There were 3 interview rounds.
Spring bean scope defines the lifecycle and visibility of a bean in the Spring container.
Singleton scope: Only one instance of the bean is created and shared across the application.
Prototype scope: A new instance of the bean is created every time it is requested.
Request scope: A new instance of the bean is created for each HTTP request.
Session scope: A new instance of the bean is created for each HTTP session.
Global se...
HashMap is a data structure that stores key-value pairs and uses hashing to provide constant time complexity for basic operations.
HashMap internally uses an array of linked lists called buckets to store the key-value pairs.
When a key-value pair is added, the hash code of the key is computed and used to determine the index of the bucket.
If multiple key-value pairs have the same hash code, they are stored as a linked lis...
The main difference is that Spring singleton is managed by the Spring container, while Java singleton is managed by the developer.
Spring singleton is created and managed by the Spring container, while Java singleton is created and managed by the developer.
Spring singleton is a design pattern used in Spring framework to create a single instance of a class, while Java singleton is a design pattern used in Java to create ...
No
Singleton is not inherently thread-safe
Multiple threads can access and modify the singleton instance simultaneously
To make it thread-safe, synchronization or double-checked locking can be used
Alternatively, an enum implementation of singleton is inherently thread-safe
I applied via Campus Placement and was interviewed in May 2024. There were 3 interview rounds.
It lasted for around 1hr 30 minutes, I have a nice developer profile, so they asked me simple DSA questions. I was asked to write the code on an online IDE and the question was given to me on google docs while the platform for the interview was gather.
The first question was a medium array question and the other one was a medium DP question.
It lasted to 2hrs, they asked to design a system related to a payment application, I had to write a working implementation for the task given. the requirements were 5 pages on google docs and I had to implement that on the online IDE. After this, I was asked a lot of Core concepts related to DBMS, OOPS, OS, Network security and Computer Networks.
I applied via LinkedIn and was interviewed in Nov 2023. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Sep 2023. There were 3 interview rounds.
Given a problem in DSA related to stack, queues, binary search, and binary tree
Nuclei interview questions for popular designations
I applied via Campus Placement and was interviewed before Oct 2022. There were 3 interview rounds.
I was asked 3 coding questions.
Top trending discussions
I was interviewed in Sep 2020.
posted on 29 Nov 2024
I applied via Approached by Company and was interviewed in Aug 2024. There were 2 interview rounds.
The interviewer asked me to build an accordion, the interview was 1 hour long
Rate limiting algorithm is used to control the rate of traffic sent or received by a system.
Rate limiting helps prevent abuse, protect against DoS attacks, and ensure fair usage of resources.
Common rate limiting algorithms include token bucket, leaky bucket, and fixed window.
Token bucket algorithm allows bursts of traffic up to a certain limit, while leaky bucket algorithm smooths out traffic over time.
Fixed window alg...
I applied via LinkedIn and was interviewed in Aug 2024. There were 3 interview rounds.
It was mostly around Frontend and JavaScript, asked basic questions on javascript. Then they gave me a problem to make form with multiple steps where every step has some form fields, handle state and validations for such form. After building the solution he asked follow up questions like what if form is dynamic.
I was interviewed in Aug 2021.
Round duration - 70 minutes
Round difficulty - Medium
The test started around 3 pm and was of 70 minutes. 3 coding questions were asked which were mainly on trees and number theory.
Develop a program to compute the factorial of a given integer 'n'.
The factorial of a non-negative integer 'n', denoted as n!
, is the product of all positive integ...
Program to compute factorial of a given integer 'n', with error handling for negative values.
Create a function to calculate factorial using a loop or recursion
Check if input is negative, return 'Error' if true
Handle edge cases like 0 and 1 separately
Return the calculated factorial value
Given a list of integers of size N
, your task is to determine the Next Greater Element (NGE) for every element. The Next Greater Element for an element X
is the firs...
The task is to find the Next Greater Element for each element in a list of integers.
Iterate through the list of integers from right to left
Use a stack to keep track of elements whose NGE is yet to be found
Pop elements from the stack until a greater element is found or the stack is empty
Assign the NGE as the top element of the stack or -1 if the stack is empty
Given a Binary Search Tree (BST) and an integer, write a function to return the ceil value of a particular key in the BST.
The ceil of an integer is defined as the s...
Ceil value of a key in a Binary Search Tree (BST) is the smallest integer greater than or equal to the given number.
Traverse the BST to find the closest integer greater than or equal to the given key.
Compare the key with the current node value and update the ceil value accordingly.
Recursively traverse left or right subtree based on the key value to find the ceil value.
Return the ceil value once found for each test case
Round duration - 60 minutes
Round difficulty - Medium
Interviewer was very friendly and supportive. My interview happened on google meet. What is a View? What is Denormalization? Difference between “==” and “===” operators in js.
You are given an integer array ARR
. Determine the length of the shortest contiguous subarray which, when sorted in ascending order, results in the entire array being sorted in a...
Determine the length of the shortest contiguous subarray that needs to be sorted to make the entire array sorted in ascending order.
Iterate from left to right to find the first element out of order.
Iterate from right to left to find the last element out of order.
Calculate the length of the subarray between the two out of order elements.
Given an integer array arr
of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.
The first line contains an integer 'T' representing the n...
Sort an integer array containing only 0s, 1s, and 2s in linear time complexity.
Use three pointers to keep track of 0s, 1s, and 2s while traversing the array.
Swap elements based on the values encountered to sort the array in-place.
Time complexity should be O(N) to solve the problem efficiently.
Round duration - 60 minutes
Round difficulty - Medium
What are some of the advantages of Angular over other frameworks?
Determine if two nodes in a binary tree are cousins. Nodes are considered cousins if they are at the same level and have different parents.
In a binary tree, e...
Determine if two nodes in a binary tree are cousins based on level and parent nodes.
Traverse the binary tree to find the levels and parents of the given nodes.
Check if the nodes are at the same level and have different parents to determine if they are cousins.
Return 'YES' if the nodes are cousins, 'NO' otherwise.
Example: For input '1 2 3 4 -1 5 6 -1 7 -1 -1 -1 -1 -1 -1' and nodes 4 7, output is 'YES'.
Round duration - 10 minutes
Round difficulty - Easy
I got a call from HR in the evening around 6:30 pm.
Paytm is a leading Indian digital payment platform offering a wide range of services including mobile recharges, bill payments, and online shopping.
Founded in 2010 by Vijay Shekhar Sharma
Offers services like mobile recharges, bill payments, online shopping, and digital wallet
Acquired by One97 Communications in 2013
Expanded into financial services like Paytm Payments Bank and Paytm Money
One of the largest digital paymen
Tip 1 : Practice at least 350 questions to have good hold on data structures
Tip 2 : Practice at least 100 - 150 company specific coding questions.
Tip 3 : Try to give timing contests to build up your speed.
Tip 1 : Keep your resume only of 1 page
Tip 2 : Showcase your major projects on the top
I was interviewed before Mar 2021.
Round duration - 70 minutes
Round difficulty - Easy
there was some coding questions and some mcqs related to js, html, css, java and aptitude.
Given an undirected graph with V vertices and E edges, your task is to find all the bridges in this graph. A bridge is an edge that, when removed, increases the number of...
Find all the bridges in an undirected graph by identifying edges that, when removed, increase the number of connected components.
Use Tarjan's algorithm to find bridges in the graph.
Keep track of the discovery time and low time of each vertex during DFS traversal.
An edge (u, v) is a bridge if low[v] > disc[u].
Handle multiple test cases efficiently to find bridges in each graph.
Ensure the output contains the count of
Mr. X is a professional robber with a plan to rob houses arranged in a circular street. Each house has a certain amount of money hidden, separated by a security system that ...
The task is to find the maximum amount of money Mr. X can rob from houses arranged in a circle without alerting the police.
The problem can be solved using dynamic programming.
Create two arrays to store the maximum amount of money robbed when considering the first house and when not considering the first house.
Iterate through the array and update the maximum amount of money robbed at each house.
The final answer will be
Tip 1 : Do 300+ questions on IB or leetcode or gfg
Tip 2 : Must do DSA course of coding ninjas for clear understanding
Tip 3 : Must complete CS subjects also
Tip 1 : not add too much things
Tip 2 : be confident that you write in CV
based on 6 interviews
Interview experience
Product Manager
14
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
13
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Development Engineer II
10
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Product Manager
7
salaries
| ₹0 L/yr - ₹0 L/yr |
IOS Developer
6
salaries
| ₹0 L/yr - ₹0 L/yr |
Razorpay
Paytm
PhonePe
Mobikwik