Pegasystems interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Pegasystems
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I started my coding journey on YouTube, where I first learned about Data Structures and Algorithms. Then, I began preparing for Data Structures in earnest.
Application story
I applied through a referral from a senior.
Why selected/rejected for the role?
I was rejected because I could not give precise and optimized solutions to the questions asked.
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming, System Design, Link List and Graphs
Tip
Tip

Tip 1: Explore real-world scenarios where data structures are commonly used, such as in databases, file systems, and network protocols.

Tip 2: Understand how different data structures can be applied to solve specific problems.

Application process
Where: Referral
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1: Quantify your achievements whenever possible. Use numbers, percentages, or other metrics to demonstrate the impact of your work. This adds credibility to your accomplishments and showcases your ability to drive results.

Tip 2: Avoid using generic or overused action verbs. Instead, choose strong and specific verbs that accurately describe your actions and contributions. This helps your resume stand out and creates a more memorable impression.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date18 May 2023
Coding problem2

1. Longest Common Subsequence

Moderate
0/80
Asked in companies
AmazonVisaRed Hat

You have been given two Strings “STR1” and “STR2” of characters. Your task is to find the length of the longest common subsequence.

A String ‘a’ is a subsequence of a String ‘b’ if ‘a’ can be obtained from ‘b’ by deletion of several (possibly, zero or all) characters. A common subsequence of two Strings is a subsequence that is common to both Strings.

Problem approach

1. Draw a 2D matrix.
2. Plot the subsequent and generated pattern will get you the answer for for loop.

Try solving now

2. Best Time to Buy and Sell Stock

Moderate
20m average time
80% success
0/80
Asked in companies
IntuitOptumOYO

You are given an array/list 'prices' where the elements of the array represent the prices of the stock as they were yesterday and indices of the array represent minutes. Your task is to find and return the maximum profit you can make by buying and selling the stock. You can buy and sell the stock only once.

Note:

You can’t sell without buying first.
For Example:
For the given array [ 2, 100, 150, 120],
The maximum profit can be achieved by buying the stock at minute 0 when its price is Rs. 2 and selling it at minute 2 when its price is Rs. 150.
So, the output will be 148.
Problem approach

1. Create an array and two temp variables'
2. Travesese the array from left to right find the local maximum from left to right and store it in the array at the index.
3. Traverse the array and find the maximum to index.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date18 May 2023
Coding problem2

1. Puzzle

Two trains are on the same track and they are coming toward each other. The speed of the first train is 50 km/h and the speed of the second train is 70 km/h. A bee starts flying between the trains when the distance between two trains is 100 km. The bee first flies from the first train to the second train. Once it reaches the second train, it immediately flies back to the first train … and so on until trains collide. Calculate the total distance travelled by the bee.

Problem approach

Tip 1: Basic relative speed formula
Tip 2: Distance = Speed of bee * distance /(Speed of left left + speed of right train )

2. Return Subsets Sum to K

Moderate
40m average time
75% success
0/80
Asked in companies
Thought WorksMicrosoftUber

Given an integer array 'ARR' of size 'N' and an integer 'K', return all the subsets of 'ARR' which sum to 'K'.

Subset of an array 'ARR' is a tuple that can be obtained from 'ARR' by removing some (possibly all) elements of 'ARR'.

Note :
The order of subsets is not important. 

The order of elements in a particular subset should be in increasing order of the index.
Problem approach

Using two pointer approach.

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 5 problems
Interviewed by Pegasystems
1038 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Pegasystems
1223 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Pegasystems
705 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Pegasystems
1510 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes