Filter interviews by
DSA specific coding questions, arrays, stacks queues, trees mostly
I applied via Referral and was interviewed before Apr 2023. There was 1 interview round.
I applied via Instahyre and was interviewed before Oct 2022. There were 4 interview rounds.
DSA questions medium and hard
System design Notification service
PayPal interview questions for designations
I was interviewed before May 2021.
Round duration - 90 minutes
Round difficulty - Medium
late Morning
You are given ‘N’ fences. Your task is to compute the total number of ways to paint these fences using only 2 colors, such that no more than 2 adjacent fences have the sa...
First I had couple of greedy solutions in mind, later on analysis I tried applying dynamic programming approach.
It was working.
Determine if a given directed graph contains a cycle. Return true
if at least one cycle is found, otherwise return false
.
T
The first line consists of the integ...
To change a directed tree to a cyclic directed graph by adding one edge, we can choose a node that has more than zero ancestors and add an edge from that node to one of its ancestors. This can always form a complete cycle. This edge is called the back edge.
The basic idea is to traverse a graph using DFS and keep track of visited nodes and search for the back edge. If we found any back edge, we will retur...
Round duration - 30 minutes
Round difficulty - Easy
Technical Interview. The round went on for about 20 min
You are given an array/list of length 'N'. Each element of the array/list represents the length of a board. There are 'K' painters available to paint these boards. Each unit of...
All we need to do is to Divide the boards into k of fewer partitions such that the maximum sum of the elements in a partition, overall partitions is minimized.
We can put the (k - 1)th divider between the ith and (i + 1)th element where i is between 1 and N.
Now the recursive function will just require two conditions that can lead to the result and that will be out the maximum total cost:
Round duration - 30 Minutes
Round difficulty - Easy
Technical interview 2
Determine if a given singly linked list of integers forms a cycle or not.
A cycle in a linked list occurs when a node's next
points back to a previous node in the ...
solved using slow pointer and fast pointer approach.
Given a singly linked list of integers, return the head of the reversed linked list.
Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed link...
The brute force approach is to use recursion. First, we reach the end of the Linked List recursively and at last node, we return the last node, which becomes the new head of the partially reversed Linked List. While coming back from each recursion call we add the current node in the current recursion call to the last node of the partially reversed Linked List and assign the current node to null.
Steps:
&...
Round duration - 40 Minutes
Round difficulty - Medium
Hiring Manger, timing was late morning
Tip 1 : Be strong with basics
Tip 2 : Learn any one programming language end to end.
Tip 3 : Attempting Regular contests on various coding platforms
Tip 1 : Be honest and clear on the topics you know
Tip 2 : Be confident on all the projects you mentioned in resume end to end
Get interview-ready with Top PayPal Interview Questions
I was interviewed before Jan 2021.
Round duration - 60 minutes
Round difficulty - Medium
Technical interview round where the Interviewer asked me questions based on data structures and algorithms.
Create a data structure that maintains mappings between keys and values, supporting the following operations in constant time:
1. INSERT(key, value): Add or update t...
Given an integer N
, convert it to its corresponding Roman numeral representation. Roman numerals comprise seven symbols: I, V, X, L, C, D, and M.
N = 2
Round duration - 60 minutes
Round difficulty - Medium
Technical interview round where the Interviewer asked me questions based on data structures and algorithms.
Determine the total area covered by two given rectangles on a 2-D coordinate plane, which may have an overlapping area.
The first line conta...
Given a string st
, your task is to determine the length of the longest repeating subsequence such that no two subsequences have the same character at the sa...
Round duration - 60 minutes
Round difficulty - Medium
This was a system design round.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I was interviewed before Dec 2020.
Round duration - 60 Minutes
Round difficulty - Easy
The interview was held in the evening on a weekday, Interview was nice and quite experienced, he asked me about my previous experience in the area and they told me about the team and work for which they were hiring, we did some discussion on that. Meanwhile, I was also asked a few questions on Database and SQL.
Given a sorted array A consisting of N integers, your task is to find the magic index in the given array, where the magic index is defined as an index i such that A[i] = i...
Round duration - 60 minutes
Round difficulty - Medium
The interview was in the afternoon. There were some glitches with the teams meeting but it got sorted out in a few minutes. This round was purely coding based. He started with questions on arrays, linked lists, and string manipulation with an increasing level of hardness. The tricky part was that the online editor I was given for writing the code was not an IDE but a simple text editor, so I wasn't getting any help in terms of code completion or syntax errors or syntax highlighting.
Given an array of integers ARR
of length N
and an integer Target
, your task is to return all pairs of elements such that they add up to the Target
.
The first line ...
Tip 1 : Always keep your focus on learning the basics, they should be rock solid
Tip 2 : Don't try to cram things days or weeks before interviews, that never helps. Try to learn little by little every day incrementally.
Tip 3 : Don't try to target any specific company, it almost never works out, just stay true to yourself and keep doing the hard work, opportunity will come to you eventually.
Tip 4 : If you need to prepare in a short time, I would suggest doing the 30-day interview challenge on Leetcode
Tip 1 : Keep it short and simple, don't clutter with lots of text, try to convey things using bullet points instead of paragraphs
Tip 2 : Don't use fancy graphics and make sure the resume is not more than 1 page (or maybe 2 in case you have more experience)
MongoDB is scalable due to its ability to horizontally partition data across multiple servers.
MongoDB uses sharding to distribute data across multiple servers.
Sharding allows for horizontal scaling by adding more servers to the cluster.
MongoDB also supports replica sets for high availability and fault tolerance.
Indexes can be created on any field in a MongoDB document, allowing for efficient querying of large datasets.
I applied via Company Website and was interviewed in Oct 2020. There was 1 interview round.
I was interviewed before Jan 2021.
Round duration - 60 minutes
Round difficulty - Easy
Technical Interview round where the interviewer asked questions based on Data structures and algorithms.
Given a Singly Linked List of integers, your task is to reverse the Linked List by altering the links between the nodes.
The first line of input is an intege...
Given an undirected graph with ‘V’ vertices (labeled 0, 1, ... , V-1) and ‘E’ edges, where each edge has a weight representing the distance between two connected nodes (X,...
Round duration - 60 minutes
Round difficulty - Easy
Technical Interview round where the interviewer asked questions based on Data structures and algorithms.
Given a Singly Linked List of integers that are sorted based on their absolute values, the task is to sort the linked list based on the actual values.
The absolute...
Given an array containing N
distinct positive integers and a number K
, determine the Kth largest element in the array.
N = 6, K = 3, array = [2, 1, 5, 6, 3, ...
Round duration - 30 minutes
Round difficulty - Easy
HR Round that lasted for around 30 minutes. The interviewer asked questions to know more about me.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
Top trending discussions
2 Interview rounds
based on 25 reviews
Rating in categories
Software Engineer2
286
salaries
| ₹15 L/yr - ₹45 L/yr |
Software Engineer III
247
salaries
| ₹17 L/yr - ₹66 L/yr |
Software Engineer
242
salaries
| ₹13.5 L/yr - ₹50 L/yr |
Senior Software Engineer
228
salaries
| ₹15 L/yr - ₹53 L/yr |
Risk Analyst
165
salaries
| ₹4.8 L/yr - ₹11 L/yr |
Paytm
Razorpay
Visa
MasterCard