Persistent Systems Limited interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

Persistent Systems Limited
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I would be happy to share my personal experiences and journey with you. My journey in the field of web development and machine learning began during my undergraduate studies in Computer Science. As a student, I had a keen interest in programming and was always looking to learn new skills. During my time in college, I started learning C++ and Python and became interested in their applications in various fields such as web development and machine learning.
Application story
The journey for the SDE role in Persistent Systems involves several stages. The first step is to complete an assessment exam, which tests the candidate's technical skills, including OOP, coding, and aptitude. Candidates who pass the exam may then be invited for two technical interviews, which also assess their OOP and coding abilities. Finally, a candidate who successfully completes the technical interviews will be interviewed by the HR team to evaluate their fit with the company culture and assess their soft skills. Overall, this comprehensive application process ensures that the best candidate is selected for the job, who possesses both technical skills and the right personality and attitude for the company.
Why selected/rejected for the role?
I am thrilled to have been selected for a position in Persistent Systems. I believe my three years of academic experience in data structures, specializing in web development and machine learning technologies, played a significant role in my selection. My expertise in web development technologies such as Django and NodeJS, coupled with my proficiency in programming languages like C++, C, Python, and JavaScript, has enabled me to deliver tangible results in line with project objectives and expectations. My active participation in online communities such as LinkedIn, GitHub, and LeetCode has helped me build a strong professional network and hone my technical skills
Preparation
Duration: 4 months
Topics: Data Structures and Algorithms, Object-Oriented Programming, System Design, Projects, DBMS
Tip
Tip

Tip 1 : Practice at least 200+ questions from Leetcode/GFG.
Tip 2 : Focus on core concepts like OOPS, and DBMS, and have practice of queries.
Tip 3 : Do as many mock interviews as you can.

Application process
Where: Campus
Eligibility: 7.5 CGPA
Resume Tip
Resume tip

Tip 1 : Highlight your technical skills and achievements
Tip 2 : Keep your resume simple and easy to read

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date1 Apr 2022
Coding problem2

1. The interview took place after a month of completing the subject learning and consisted of a 40-question assessment and 2 programming questions that had to be completed in a given time frame.

2. During the first interview, the interviewer asked for the candidate's resume and was impressed by their well-scripted introduction. They then proceeded to ask technical questions on the difference between C and C++, Data Structures, and their types, and an explanation of an array and linked list.

3. The second technical round took place two weeks later and lasted for 20 minutes. The interviewer appeared three minutes late for the meeting, and the session started with the candidate's introduction.

1. Valid Parentheses

Easy
10m average time
80% success
0/40
Asked in companies
OracleAmerican ExpressPayPal

You're given a string 'S' consisting of "{", "}", "(", ")", "[" and "]" .


Return true if the given string 'S' is balanced, else return false.


For example:
'S' = "{}()".

There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
Problem approach

1. Start by initializing a stack data structure, which will help in keeping track of the opening braces and their positions.

2. Next, iterate through each character of the input string and check if it is an opening brace ('{' or '['). If it is, push it onto the stack along with its position.

3. If the character is a closing brace ('}' or ']'), check if the stack is empty. If it is, return False as there is no matching opening brace.

4. If the stack is not empty, pop the top element from the stack and check if it matches the current closing brace. If it does not match, return False as the brace is not in the correct order.

5. Repeat steps 3-4 until the end of the string is reached.

6. After the iteration, check if the stack is empty. If it is, return True as all braces are in the correct order. If it is not empty, return False as there is a brace with no matching partner.

7. Additionally, add checks to handle edge cases like an empty input string, an input string with no braces, or a mismatched combination of braces like '[}', '{]', etc.

8. Test the program with various input strings to ensure it works correctly in all cases.

Try solving now

2. Paint House

Hard
20m average time
80% success
0/120
Asked in companies
AppleAmazonSamsung

You have been given ‘N’ houses, each house can be painted with any of three colours: green, red and yellow. You are also given a “cost” matrix of ‘N’ * 3 dimension which represents the cost of painting an i-th house (0-th based indexing) with j-th colour. The colour code is as follows: green - 0, red - 1 and yellow - 2. Now, you are supposed to find the minimum cost of painting all houses such that no adjacent houses are painted with the same colour.

Try solving now
02
Round
Easy
Video Call
Duration45 minutes
Interview date3 Apr 2022
Coding problem1

Timing : The interview took place in the morning.
 

1. Pair Sum

Easy
15m average time
90% success
0/40
Asked in companies
SalesforceUberPayU

You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to return the list of all pairs of elements such that each sum of elements of each pair equals 'S'.

Note:

Each pair should be sorted i.e the first value should be less than or equals to the second value. 

Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
Problem approach

One common problem in computer science is to check whether a pair exists in a given array with a specific sum, which can be approached using techniques like a two-pointer algorithm, hashing, or sorting.

1. Create an empty hash table.
2. Traverse the array, and for each element:
i. Compute the difference between the given sum and the current element.
ii. Check if the difference exists in the hash table. If it does, then a pair with the given sum exists, and we can return true.
iii. If the difference does not exist in the hash table, add the current element to the hash table.
3. If the traversal is complete and no pair with the given sum has been found, return false.
4. Repeat steps 2 and 3 for all elements in the array.
5. Return the final result indicating whether a pair with the given sum exists in the array.

Try solving now
03
Round
Easy
Video Call
Duration30 minutes
Interview date7 Apr 2022
Coding problem1

Timing : The interview took place in the morning.

1. K-th Largest Sum Subarray

Easy
10m average time
90% success
0/40
Asked in companies
AmazonOla

Given an array of integers, find the Kth largest sum subarray For example, given the array [1, -2, 3, -4, 5] and K = 2, the 2nd largest sum subarray would be [3, -4, 5], which has a sum of 4.

Please note that a subarray is the sequence of consecutive elements of the array.

Problem approach

1. Initialize two variables max_so_far and max_ending_here to 0.
2. Traverse the array arr from left to right, and for each element arr[i]:
Add arr[i] to max_ending_here.
If max_ending_here is negative, reset it to 0.
If max_ending_here is greater than max_so_far, set max_so_far to max_ending_here.
3. Return max_so_far.

This algorithm is called Kadane's algorithm and has a time complexity of O(N), where N is the size of the input array.

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
Analyst
3 rounds | 13 problems
Interviewed by Persistent Systems Limited
902 views
0 comments
0 upvotes
SDE - 1
3 rounds | 10 problems
Interviewed by Persistent Systems Limited
1342 views
0 comments
0 upvotes
Test Module Lead
3 rounds | 12 problems
Interviewed by Persistent Systems Limited
815 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by Persistent Systems Limited
945 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Arcesium
3688 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Arcesium
2650 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by BNY Mellon
2324 views
0 comments
0 upvotes