Filter interviews by
Top trending discussions
I was interviewed in Sep 2021.
Round duration - 60 Minutes
Round difficulty - Easy
Given a string A
consisting of lowercase English letters, determine the length of the longest palindromic subsequence within A
.
The main idea behind this approach is to use recursion. The idea is to compare the first character of the string A[i..j] with its last character. There are two possibilities:
Given two strings S
and T
, determine if S
follows the same pattern as T
.
A full match means there is a bijection between a letter of T
and a non-empty word of S
.
We will use two hashmaps ‘charToWord’ and ‘wordToChar’ to track which character of ‘T’ maps to which word of ‘S’ and which word of ‘S’ maps to which character of ‘T’, respectively.
Here is the algorithm:
Round duration - 40 Minutes
Round difficulty - Easy
Given a binary tree of integers, return the level order traversal of the binary tree.
The first line contains an integer 'T', representing the number of te...
In the level order traversal, we will be using queue data structure which has the property FIRST IN FIRST OUT that’s why which nodes come first in current level the children of that node will also come first for the next level. So, we visit all the nodes one by one of the current level and push into the queue so that when we will be complete with the current level, then we can start exploring nodes ...
In a set of linked ninja villages, the goal is to determine if a stronger ninja exists in the nearest village linked ahead. Given a linked list of 'N' in...
We will iterate through the given linked list of elements (nodes) with the help of two nested loops. Where we will check for every node whether there exists a next node with a value bigger than the value of current node and subsequently build the ‘ans’ list (array) and return it.
The algorithm will be-
Round duration - 15 Minutes
Round difficulty - Easy
Tip 1 : Be consistent, practice regularly whatever you read/study.
Tip 2 : Apply what you learn through code.
Tip 1 : Have some projects on your resume.
Tip 2 : If you have an internship or training explain it in a proper way like what are the techniques you learned during your training.
posted on 1 Oct 2024
I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.
I applied via Job Portal and was interviewed in Dec 2024. There was 1 interview round.
It will be a basic maths questions.
As a general topic of trend in world.
To be known for programming knowledge about us.
Java 1.8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow you to write code in a more concise and readable way.
Functional interfaces are interfaces with a single abstract method, used for lambda expressions.
Streams provide a way to work with sequences of elements and perform operations on them.
Default methods allow interfaces to h...
Program to print elements sorted using Java 8 features
Use Stream API to sort the elements
Use lambda expressions for sorting
Use the sorted() method to sort the elements
posted on 7 Apr 2024
I have 2 years of experience in ReactJS, including building interactive user interfaces and integrating with backend services.
Developed a responsive web application using ReactJS, Redux, and Material-UI
Implemented RESTful APIs to fetch and update data in the application
Utilized React Router for client-side routing and navigation
Worked on optimizing performance by using memoization and lazy loading techniques
React is a JavaScript library for building user interfaces.
React allows for building reusable UI components
It uses a virtual DOM for efficient updates
React is declarative, making it easier to reason about code
It is widely used in web development for its performance and flexibility
Redux is a predictable state container for JavaScript apps.
Redux is a state management library for React
It helps in managing the state of the application in a predictable manner
It follows a unidirectional data flow pattern
It has three main components: store, actions, and reducers
Store holds the state of the application
Actions are plain JavaScript objects that describe what happened
Reducers specify how the application's...
Create a react app with redux
I was interviewed in Aug 2021.
Round duration - 70 minutes
Round difficulty - Medium
There were 3 problems 1 was easy and 2 were of medium types.
Given a binary tree, the task is to compute the modulus of the difference between the sum of nodes at odd levels and the sum of nodes at even levels.
The first line...
oddSum: denotes sum of nodes at odd levels, initially 0.
evenSum: denotes sum of nodes at ecen levels, initially 0.
level: the level of the current node, initially 1.
void oddEvenLevelHelper(current, oddSum, evenSum, level)
You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:
The idea is very simple and naive. We will process the rotten oranges second by second. Each second, we rot all the fresh oranges that are adjacent to the already rotten oranges. The time by which there are no rotten oranges left to process will be our minimum time.
In the first traversal of the grid, we will process all the cells with value 2 (rotten oranges). We will also mark their adjacent cells ...
Round duration - 50 minutes
Round difficulty - Medium
the interviewer was very polite and straightforward, he didn't ask me to introduce myself and he directly jumps to the coding problems.
What is new about the relationship between the and tags in HTML5?
Explain Components, Modules and Services in Angular
You have a robot currently positioned at the origin (0, 0) on a two-dimensional grid, facing the north direction. You are given a sequence of moves in the form of a string ...
Initialize a variable ‘direction’ with 0 which means that the robot is initially facing towards the north.
direction: 0 -> Robot is facing towards the North
direction: 1 -> Robot is facing towards the West
direction: 2 -> Robot is facing towards the South
direction: 3 -> Robot is facing towards the West
Initialize two variables ‘x’ and ‘y’ as 0. They will represent the position ...
Round duration - 70 minutes
Round difficulty - Easy
What is a View in sql? What are the TRUNCATE, DELETE and DROP statements?
Given a square matrix 'MATRIX' of non-negative integers, rotate the matrix by 90 degrees in an anti-clockwise direction using only constant extra space.
The idea is to find the transpose of the given matrix and then reverse the columns of the transposed matrix. For example:
For the given 2D matrix:
[ [ 1, 2, 3 ],
[ 4, 5, 6 ],
[ 7, 8, 9 ] ]
After taking transpose, it will become:
[ [ 1, 4, 7 ],
[ 2, 5, 8 ],
[ 3, 6, 9 ] ]
After reversing the columns, it will ...
Given a string STR
of length N
, determine the minimum number of characters to be added to the front of the string to make it a palindrome.
The first...
Round duration - 20 minutes
Round difficulty - Easy
Tip 1 : Deep knowledge of the projects mentioned in your resume is a must.
Tip 2 : Practice as many problems as you can from leetcode.
Tip 1 : mention 1 or 2 projects in your resume.
Tip 2 : don't put false things in your resume.
I was interviewed in Sep 2021.
Round duration - 60 Minutes
Round difficulty - Easy
Given a string A
consisting of lowercase English letters, determine the length of the longest palindromic subsequence within A
.
The main idea behind this approach is to use recursion. The idea is to compare the first character of the string A[i..j] with its last character. There are two possibilities:
Given two strings S
and T
, determine if S
follows the same pattern as T
.
A full match means there is a bijection between a letter of T
and a non-empty word of S
.
We will use two hashmaps ‘charToWord’ and ‘wordToChar’ to track which character of ‘T’ maps to which word of ‘S’ and which word of ‘S’ maps to which character of ‘T’, respectively.
Here is the algorithm:
Round duration - 40 Minutes
Round difficulty - Easy
Given a binary tree of integers, return the level order traversal of the binary tree.
The first line contains an integer 'T', representing the number of te...
In the level order traversal, we will be using queue data structure which has the property FIRST IN FIRST OUT that’s why which nodes come first in current level the children of that node will also come first for the next level. So, we visit all the nodes one by one of the current level and push into the queue so that when we will be complete with the current level, then we can start exploring nodes ...
In a set of linked ninja villages, the goal is to determine if a stronger ninja exists in the nearest village linked ahead. Given a linked list of 'N' in...
We will iterate through the given linked list of elements (nodes) with the help of two nested loops. Where we will check for every node whether there exists a next node with a value bigger than the value of current node and subsequently build the ‘ans’ list (array) and return it.
The algorithm will be-
Round duration - 15 Minutes
Round difficulty - Easy
Tip 1 : Be consistent, practice regularly whatever you read/study.
Tip 2 : Apply what you learn through code.
Tip 1 : Have some projects on your resume.
Tip 2 : If you have an internship or training explain it in a proper way like what are the techniques you learned during your training.
Software Engineer2
284
salaries
| ₹15 L/yr - ₹45 L/yr |
Software Engineer
248
salaries
| ₹13.5 L/yr - ₹50 L/yr |
Software Engineer III
247
salaries
| ₹17 L/yr - ₹66 L/yr |
Senior Software Engineer
225
salaries
| ₹15 L/yr - ₹53 L/yr |
Risk Analyst
193
salaries
| ₹4.4 L/yr - ₹11 L/yr |
Paytm
Razorpay
Visa
MasterCard