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

SDE

Pegasystems
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I kept practicing DSA and CS fundamentals from the 3rd year of Engineering. Along with it, I was also learning web development and I made some good projects.
Application story
This company visited our campus for hiring, and I applied for the position. It has many rounds, starting with an online assessment.
Why selected/rejected for the role?
I faced rejection due to my inability to provide an effective solution to the posed question. My response lacked clarity and conciseness, leading to my dismissal from consideration. I acknowledge the importance of delivering precise and well-structured solutions and am actively working on improving my communication skills to better handle such situations in the future.
Preparation
Duration: 3 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Mention some good projects on your resume. Highlighting relevant projects on your resume can demonstrate your practical skills and the real-world application of your knowledge. These projects should showcase your ability to solve problems, work on meaningful tasks, and collaborate effectively.

Tip 2: Be confident. Confidence is key when presenting yourself on your resume, during interviews, and in your overall professional demeanor. However, remember that confidence should be grounded in your actual skills and experiences.

Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1: Highlight good projects showcasing your projects is a powerful way to demonstrate your practical skills and problem-solving abilities. These projects should reveal your capability to apply theoretical knowledge to real-world scenarios.

Tip 2: Showcase Achievements Highlighting your achievements can set you apart from other candidates and demonstrate your impact in various roles.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date11 Nov 2022
Coding problem2

Two coding questions were asked of medium complexity. Timing and date of the interview was according to your comfort, interviewer was very helpful.

1. Search In Rotated Sorted Array

Moderate
30m average time
65% success
0/80
Asked in companies
FreshworksExpedia GroupPayPal

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array consisting of distinct integers and rotated it clockwise by an unknown amount. For example, he took a sorted array = [1, 2, 3, 4, 5] and if he rotates it by 2, then the array becomes: [4, 5, 1, 2, 3].

After rotating a sorted array, Aahad needs to answer Q queries asked by Harshit, each of them is described by one integer Q[i]. which Harshit wanted him to search in the array. For each query, if he found it, he had to shout the index of the number, otherwise, he had to shout -1.

For each query, you have to complete the given method where 'key' denotes Q[i]. If the key exists in the array, return the index of the 'key', otherwise, return -1.

Note:

Can you solve each query in O(logN) ?
Problem approach

1. My first approach was to decide which side of the list is sorted.
2. after finding out sorted side, I applied if condition to check correct side of the element.
3. then Applied binary search in the resulted array.

Try solving now

2. Vertical Order Traversal

Moderate
35m average time
65% success
0/80
Asked in companies
MakeMyTripAppleSalesforce

Given a binary tree, return the vertical order traversal of the values of the nodes of the given tree.

For each node at position (X, Y), (X-1, Y-1) will be its left child position while (X+1, Y-1) will be the right child position.

Running a vertical line from X = -infinity to X = +infinity, now whenever this vertical line touches some nodes, we need to add those values of the nodes in order starting from top to bottom with the decreasing ‘Y’ coordinates.

Note:
If two nodes have the same position, then the value of the node that is added first will be the value that is on the left side.
For example:
For the binary tree in the image below.

alt text

The vertical order traversal will be {2, 7, 5, 2, 6, 5, 11, 4, 9}.
Problem approach

Given a binary tree, return the vertical order traversal of the values of the nodes of the given tree.
For each node at position (X, Y), (X-1, Y-1) will be its left child position while (X+1, Y-1) will be the right child position.
Running a vertical line from X = -infinity to X = +infinity, now whenever this vertical line touches some nodes, we need to add those values of the nodes in order starting from top to bottom with the decreasing ‘Y’ coordinates.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date13 Nov 2022
Coding problem2

2 questions from DSA were asked.

1. Sorted Linked List to Balanced BST

Moderate
25m average time
70% success
0/80
Asked in companies
Goldman SachsAmazonMorgan Stanley

You have been given a singly linked list in which nodes are present in increasing order. Your task is to construct a Balanced Binary Search Tree with the same data elements as the given Linked List.

A Balanced BST is defined as a BST in which the height of two subtrees of every node differs no more than 1.

Try solving now

2. Next Greater Number

Moderate
15m average time
90% success
0/80
Asked in companies
Morgan StanleySamsungArcesium

You are given a string S which represents a number. You have to find the smallest number strictly greater than the given number which contains the same set of digits as of the original number i.e the frequency of each digit from 0 to 9 should be exactly the same as in the original number.

For example:
If the given string is 56789, then the next greater number is 56798. Note that although 56790 is also greater than the given number it contains 1 '0' which is not in the original number and also it does not contain the digit '8'.

Note:

The given string is non-empty.

If the answer does not exist, then return -1.

The given number does not contain any leading zeros.
Problem approach

Use stack and check for the condition while(!st.empty()&&st.top()<= arr[i]){ st.pop()}.

Try solving now
03
Round
Easy
HR Round
Duration25 minutes
Interview date14 Nov 2022
Coding problem1

1. Basic HR Questions

Tell me about yourself.

What do you know about us?

Are you ready to relocate?

Problem approach

Tell the truth.

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 - Intern
3 rounds | 6 problems
Interviewed by Pegasystems
810 views
0 comments
0 upvotes
SDE
3 rounds | 5 problems
Interviewed by Pegasystems
914 views
0 comments
0 upvotes
SDE
3 rounds | 6 problems
Interviewed by Pegasystems
715 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Pegasystems
706 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE
3 rounds | 6 problems
Interviewed by PhonePe
0 views
0 comments
0 upvotes
company logo
SDE
5 rounds | 8 problems
Interviewed by Mathworks
1205 views
0 comments
0 upvotes
company logo
SDE
4 rounds | 7 problems
Interviewed by PhonePe
0 views
0 comments
0 upvotes