i
Rupeek
Filter interviews by
I applied via LinkedIn and was interviewed before Nov 2021. There were 4 interview rounds.
Dsa - medium leetcode will suffice
Dosa - medium leetcode will suffice
Design a database for a food delivery system like Swiggy, focusing on scalability and efficiency.
User Management: Store user profiles, preferences, and order history.
Restaurant Management: Maintain restaurant details, menus, and ratings.
Order Management: Track order status, delivery details, and payment information.
Geolocation: Use location data to find nearby restaurants and optimize delivery routes.
Reviews and Rating...
Top trending discussions
I applied via Naukri.com and was interviewed before Nov 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Apr 2022. There were 2 interview rounds.
Assignment was given which was to be completed in a weeks time.
I appeared for an interview in May 2022.
Round duration - 90 minutes
Round difficulty - Easy
There will be 2 coding questions easy to medium based on DP and linkedlist.
You are given a number of stairs, N
. Starting at the 0th stair, you need to reach the Nth stair. Each time you can either climb one step or two steps. ...
The problem involves finding the number of distinct ways to climb to the N-th stair by taking one or two steps at a time.
Use dynamic programming to solve this problem efficiently.
The number of ways to reach the N-th stair is the sum of the number of ways to reach the (N-1)th stair and the (N-2)th stair.
Handle large inputs by taking modulo 10^9+7 of the result.
Example: For N=3, there are 3 ways to climb to the third sta...
Round duration - 60 minutes
Round difficulty - Easy
the questions will be be based on trees, linked list and stacks and queues, DP
Given a binary tree, your task is to print the left view of the tree. The left view of a binary tree contains the nodes visible when the tree is viewed from the left side.
The task is to print the left view of a binary tree, which contains the nodes visible when the tree is viewed from the left side.
Traverse the tree level by level and keep track of the leftmost node at each level
Use a queue for level order traversal and a map to store the leftmost nodes
Print the values of the leftmost nodes stored in the map as the left view of the tree
You are given an array arr
of length N
. For each element in the array, find the next greater element (NGE) that appears to the right. If there is no such greater ele...
The task is to find the next greater element for each element in an array to its right, if no greater element exists, return -1.
Use a stack to keep track of elements for which the next greater element is not found yet.
Iterate through the array from right to left and pop elements from the stack until a greater element is found.
Store the next greater element for each element in a separate array.
If the stack is empty afte...
Round duration - 60 minutes
Round difficulty - Medium
(DSA, work experience and personal projects)
Given an array/list ARR
consisting of integers where each element is either 0, 1, or 2, your task is to sort this array in increasing order.
The input sta...
Sort an array of 0s, 1s, and 2s in increasing order.
Use a three-pointer approach to partition the array into sections of 0s, 1s, and 2s.
Iterate through the array and swap elements based on their values to achieve the sorting.
Time complexity should be O(N) where N is the number of elements in the array.
Round duration - 60 minutes
Round difficulty - Medium
It started in the afternoon after the lunch.
Approach to low-level system design involves understanding requirements, breaking down components, defining interfaces, and optimizing performance.
Understand the requirements and constraints of the system
Break down the system into smaller components/modules
Define clear interfaces between components for communication
Optimize performance by considering data structures, algorithms, and resource utilization
Round duration - 25 minutes
Round difficulty - Easy
Once all the rounds were cleared. I was told that i have 1 more round with manager.
I remain calm, assess the situation, prioritize tasks, communicate effectively, and collaborate with team members to find a solution.
Remain calm and composed under pressure
Assess the situation to understand the root cause
Prioritize tasks based on urgency and impact
Communicate effectively with team members and stakeholders
Collaborate with team members to brainstorm and implement solutions
Tip 1 : If you are good with any programming Language(Java and C++ preferred but again its your choice) start with DSA directly. Learn the basic Arrays, Linked List, Stacks, Queues, Trees, Hashing, Graphs, Dynamic programming, Heaps, searching and sorting. (PS:-Courses and resources i will not mention as there are many materials available just choose the one you like and start preparing!!)
Tip 2 : Once you feel OK start practising problems try to solve by yourself, if not take hints, and at the end you can check solution if still unsolved.
Tip 3 : Try to connect with people on linkedin. Try to know the techstacks and try to get referrals. Keep on applying once feel ready 80% because you are never 100% ready for anything.
Tip 1 : Keep your resume updated with all the tech stacks you worked on, your projects, your latest experience.
Tip 2 : The resume need to be short and crisp. it takes only a min. For HR to read your resume. and align it with job requirement.
I appeared for an interview before May 2021.
Round duration - 50 minutes
Round difficulty - Easy
Problem-solving round in javascript.
Asked me questions of easy to medium level data structures and algorithm.
Two strings S1
and S2
are considered similar if either S1
equals S2
or we can swap two letters of S1
at different positions so that it equals S2
.
The first...
The problem involves determining the number of similar string groups in a given list of strings based on a specific criteria.
Iterate through each pair of strings in the list and check if they are similar based on the given criteria.
Use a hash set to keep track of visited strings to avoid counting duplicates in the same group.
Consider implementing a function to check if two strings are similar by allowing at most one sw...
Round duration - 50 minutes
Round difficulty - Medium
Javascrip specific questions
Round duration - 50 minutes
Round difficulty - Easy
Focussed on behavioural aptitude
Tip 1 : Prepare the concepts of JavaScript and react thoroughly
Tip 2 : Practice using projects
Tip 3 : Practice data structure and algorithms and practice there questions
Tip 1 : Use keywords in technologies where you want to be shortlisted in
Tip 2 : Do not put false things in your resume
I appeared for an interview in May 2022.
Round duration - 75 minutes
Round difficulty - Medium
There were 2 coding questions. One was easy to medium difficult and other was of medium difficulty.
Given two arrays arr
and queries
, your task is to determine the sum of all elements in arr
that are less than or equal to each element in queries
. The array arr
is provided i...
Find sum of elements in a sorted array less than or equal to each element in queries.
Iterate through queries and for each query, find the sum of elements in arr less than or equal to the query element.
Use binary search to efficiently find the index of the last element less than or equal to the query element.
Keep track of cumulative sum while iterating through arr to avoid recalculating sums.
Return the list of sums for ...
Given a sorted array 'A' of length 'N', and two integers 'K' and 'X', your task is to find 'K' integers from the array closest to 'X'. If two integers are at the same distance, pre...
Given a sorted array, find K integers closest to X, preferring smaller ones in case of same distance.
Use binary search to find the closest element to X in the array.
Maintain two pointers to expand around the closest element to find K closest elements.
Compare distances and values to select the K closest elements, preferring smaller ones if distances are equal.
Round duration - 60 Minutes
Round difficulty - Easy
You are given a string S
. The task is to reverse the letters of the string while keeping non-alphabet characters in their original position.
S = "...
Reverse the letters of a string while keeping non-alphabet characters in their original position.
Iterate through the string and store the non-alphabet characters in their original positions.
Reverse the letters of the string using two pointers approach.
Combine the reversed letters with the non-alphabet characters to get the final reversed string.
Given a binary tree with ‘root’, your task is to find and return the sum of all the left leaf nodes.
1 2 3 4 -1 5 6 -1 7 -1 -1 -1 -1 -1...
Find and return the sum of all the left leaf nodes in a binary tree.
Traverse the binary tree using depth-first search (DFS)
Check if a node is a leaf node and a left child
Sum up the values of all left leaf nodes
Round duration - 60 Minutes
Round difficulty - Easy
Questions related to Java, OOPs, SQL etc.
Round duration - 60 Minutes
Round difficulty - Easy
It was an HR round.Questions related to resume, Low level design, work experience, behavioural etc. This round stretched more than scheduled time so another round was scheduled which was again a DSA based technical round.
Round duration - 60 Minutes
Round difficulty - Medium
This round had 3 problems. easy, medium and hard.
Given two sorted arrays A
and B
of sizes N
and M
, find the median of the merged array formed by combining arrays A
and B
. If the total number of elements, N + M
, is even, the m...
Find the median of two sorted arrays by merging them and calculating the median of the combined array.
Merge the two sorted arrays into one sorted array.
Calculate the median of the combined array based on the total number of elements.
Return the median as the result.
Given an alphabetical string S
, determine whether it is a palindrome or not. A palindrome is a string that reads the same backward as forward.
The first line ...
Check if a given string is a palindrome or not.
Iterate through the string from both ends and compare characters.
If all characters match, return 1 indicating a palindrome.
If any characters don't match, return 0 indicating not a palindrome.
You have been provided a string STR
. Your task is to find and return the minimum number of characters that need to be deleted from STR
so that each character's...
Find the minimum number of character deletions needed to make each character's frequency unique in a given string.
Iterate through the string and count the frequency of each character.
Identify characters with the same frequency and calculate the minimum deletions needed to make them unique.
Return the total minimum deletions for each test case.
Tip 1 : Practice Daily. Consistency is the key
Tip 2 : Try to do at least 5 questions daily (LC, gfg, etc any platform u are comfortable with)
Tip 3 : Have some projects on resume related to the tech stack you want to work with.
Tip 1 : Have some projects on resume.
Tip 2 : Be prepared with in depth questions on whatever is written on resume
I applied via Referral and was interviewed before Aug 2023. There were 4 interview rounds.
Had questions on graph
Binary search can efficiently find the leftmost or rightmost occurrence of a target in a sorted array.
Binary search operates in O(log n) time complexity.
To find the leftmost occurrence, adjust the search to continue left even after finding the target.
Example: In [1, 2, 2, 2, 3], searching for 2 returns index 1 (leftmost).
To find the rightmost occurrence, adjust the search to continue right after finding the target.
Exam...
I applied via Campus Placement and was interviewed in Dec 2016. There were 3 interview rounds.
Find subset of numbers in array that sum up to zero.
Use a nested loop to iterate through all possible subsets.
Calculate the sum of each subset and check if it equals zero.
Store the subset if the sum is zero.
Optimize the solution by using a hash set to store the cumulative sum of elements.
BFS (Breadth-First Search) is a graph traversal algorithm that explores all the vertices of a graph in breadth-first order.
BFS starts at a given vertex and explores all its neighbors before moving to the next level of vertices.
It uses a queue data structure to keep track of the vertices to be visited.
BFS guarantees that it visits all the vertices of a connected graph.
It can be used to find the shortest path between two...
In 5 years, I see myself as a highly skilled software developer, leading a team and contributing to innovative projects.
Continuously improving my technical skills through learning and hands-on experience
Taking on leadership roles and mentoring junior developers
Contributing to the development of cutting-edge software solutions
Building strong relationships with clients and stakeholders
Staying updated with the latest indu...
I applied via Campus Placement
Object Oriented Programming is a programming paradigm that uses objects to represent real-world entities.
Encapsulation: bundling data and methods that operate on that data within one unit
Inheritance: creating new classes from existing ones, inheriting their properties and methods
Polymorphism: ability of objects to take on multiple forms or behaviors
Abstraction: hiding complex implementation details and providing a simp...
Abstraction is hiding implementation details while polymorphism is using a single interface for multiple types.
Abstraction: Encapsulation, Interfaces, Abstract classes
Polymorphism: Method Overloading, Method Overriding, Interfaces
Abstraction Example: Car - we don't need to know how the engine works to drive it
Polymorphism Example: Animal - different animals have different sounds but they all have a 'makeSound' method
Design classes for a simple library management system with books and users.
Class Book: Attributes include title, author, ISBN, and availability status.
Class User: Attributes include name, user ID, and a list of borrowed books.
Class Library: Methods to add/remove books, register users, and manage book loans.
Example: Book class could have a method to check availability before loaning.
PayPal is an online payment system that allows individuals and businesses to transfer funds electronically.
Allows users to make payments and money transfers online
Offers a secure and convenient way to pay for goods and services
Provides a platform for businesses to accept payments online
Offers buyer and seller protection for eligible transactions
Can be used to send and receive money internationally
Thresholding is a technique in machine learning used to classify data based on a defined cutoff value.
Thresholding converts continuous data into discrete classes.
Example: In image processing, pixels above a certain intensity are classified as 'foreground'.
In binary classification, a threshold can determine if an output is 'positive' or 'negative'.
Choosing the right threshold is crucial for model performance; it can aff...
I am excited to join PayPal because of its innovative culture and impact on the global economy.
PayPal's commitment to innovation aligns with my passion for staying up-to-date with the latest technologies.
I am impressed by PayPal's global reach and impact on the economy, and I want to be a part of that.
I appreciate PayPal's focus on diversity and inclusion, and I believe in the importance of working for a company with s...
Loan Manager
362
salaries
| ₹2.4 L/yr - ₹5 L/yr |
Sales Manager
260
salaries
| ₹2 L/yr - ₹4.6 L/yr |
Senior Relationship Manager
258
salaries
| ₹2 L/yr - ₹5 L/yr |
Team Lead
112
salaries
| ₹4 L/yr - ₹7.2 L/yr |
Relationship Manager
74
salaries
| ₹2 L/yr - ₹4.7 L/yr |
PhonePe
Fiserv
KFintech
Angel One