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

SDE - Intern

Rupeek
upvote
share-icon
3 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Journey
I am a Computer Science graduate from 2023, preparing for jobs, coding on coding sites for the past two years, and studying CS fundamentals. I got an opportunity at Rupeek and cleared the rounds because I was well-prepared for the tests and interviews.
Application story
I was following the HR at Rupeek on LinkedIn, so I got notified about the opening through one of their posts. I filled out the form, my resume got shortlisted, and I received the email for the online assessment round. I cleared it and received interview invitations.
Why selected/rejected for the role?
I was selected for the role because of my good knowledge of varied topics and a better resume and grades compared to the competitors.
Preparation
Duration: 1 month
Topics: Data Structures, OOPS, Algorithms, Projects, Trees, LinkedList
Tip
Tip

Tip 1: Solve famous Interview Questions
Tip 2: Focus on the Brute Optimized Approach and dry run explanation
Tip 3: Do at least two projects

Application process
Where: Linkedin
Eligibility: 8.5 CGPA
Resume Tip
Resume tip

Tip 1: Include strong projects and know them in detail. 

Tip 2: Add internships and prepare for them.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration180 minutes
Interview date23 Jun 2023
Coding problem5

Online Assessment was held from 2-5 pm on July 23rd; it was conducted online with the camera on during the assessment.

1. Alien dictionary

Hard
46m average time
50% success
0/120
Asked in companies
Media.netFacebookAmazon

You have been given a sorted (lexical order) dictionary of an alien language.


Write a function that returns the order of characters as a string in the alien language. This dictionary will be given to you as an array of strings called 'dictionary', of size 'N'.


Example :
If the dictionary consists of the following words:-
["caa", "aaa", "aab"], and 'K' is 3.

Then, the order of the alphabet is -
['c', 'a', 'b']
Note:
If the language consists of four letters, the four letters should be the starting four letters of the English language. 

However, their order might differ in the alien language.
Problem approach

Explanation(with example) :-

Suppose we have the following dictionary of words:

dict = ["wrt", "wrf", "er", "ett", "rftt"]
And we have N = 5 words and K = 26 characters (from 'a' to 'z').

Adjacency List Creation: The code starts by creating an adjacency list to represent the relationships between characters. Each character will have a list of characters that come after it. For example, "w" comes before "e", "e" comes before "r", etc. The adjacency list is populated based on the dictionary of words.

Populating Adjacency List: The code iterates through the words in the dictionary. For each consecutive pair of words, it compares the characters at the same index position. If they are different, it means that the character from the first word comes before the character from the second word. Therefore, it adds an edge to the adjacency list to represent this relationship.

For our example dictionary, the adjacency list would look like this:

'w' -> ['e'] 'e' -> ['r'] 'r' -> ['t'] 't' -> ['f'] 'r' -> ['f']
Topological Sort: The code then performs a topological sort using a queue and indegree counting. It starts by initializing an array indegree that represents the number of incoming edges for each character. Characters with no incoming edges (indegree = 0) are added to the queue.

In each iteration of the while loop, the code dequeues a character from the queue, adds it to the result list, and decrements the indegree of its neighbors. If any of the neighbors have an indegree of 0 after decrementing, they are added to the queue. This process continues until the queue is empty.

Constructing the Answer: After performing the topological sort, the result list contains the characters in the correct order. The code constructs the answer by converting the character indices back to actual characters and appending them to a StringBuilder.

Returning the Answer: Finally, the constructed answer string is returned as the result.

Try solving now

2. Array partition with minimum difference

Hard
10m average time
85% success
0/120
Asked in companies
Goldman SachsSterlite Technologies LimitedIntuit

You are given an array 'arr' containing 'n' non-negative integers.


Your task is to partition this array into two subsets such that the absolute difference between subset sums is minimum.


You just need to find the minimum absolute difference considering any valid division of the array elements.


Note:

1. Each array element should belong to exactly one of the subsets.

2. Subsets need not always be contiguous.
For example, for the array : [1, 2, 3], some of the possible divisions are 
   a) {1,2} and {3}
   b) {1,3} and {2}.

3. Subset-sum is the sum of all the elements in that subset. 
Example:
Input: 'n' = 5, 'arr' = [3, 1, 5, 2, 8].

Ouput: 1

Explanation: We can partition the given array into {3, 1, 5} and {2, 8}. 
This will give us the minimum possible absolute difference i.e. (10 - 9 = 1).
Try solving now

3. MCQ Question

Procedural language among the following is __________
a) Domain relational calculus
b) Tuple relational calculus
c) Relational algebra
d) Query language

4. MCQ Question

In Operating Systems, which of the following is/are CPU scheduling algorithms?
a) Priority
b) Round Robin
c) Shortest Job First
d) All of the mentioned

Problem approach

All of the mentioned

5. MCQ Question

To access the services of the operating system, the interface is provided by the ___________
a) Library
b) System calls
c) Assembly instructions
d) API

Problem approach

System Calls

02
Round
Medium
Online Coding Test
Duration60 minutes
Interview date28 Oct 2023
Coding problem2

It was a 60 minutes round, it was basically DSA round and we have to solve 2 questions by sharing our screen

1. Remove Duplicates From an Unsorted Linked List

Moderate
15m average time
85% success
0/80
Asked in companies
IBMAdobeAmazon

You are given a linked list of N nodes. Your task is to remove the duplicate nodes from the linked list such that every element in the linked list occurs only once i.e. in case an element occurs more than once, only keep its first occurrence in the list.

For example :
Assuming the linked list is 3 -> 2 -> 3 -> 4 -> 2 -> 3 -> NULL.

Number ‘2’ and ‘3’ occurs more than once. Hence we remove the duplicates and keep only their first occurrence. So, our list becomes : 3 -> 2 -> 4 -> NULL.
Try solving now

2. Second Most Repeated Word

Easy
25m average time
70% success
0/40
Asked in companies
AdobeFacebookVisa

You are given an array of strings ‘ARR’. You have to find out the second most repeated word in the array ‘ARR’. It is guaranteed every string occurs a unique number of times in the array. If there is only one unique string in the array, return an empty string.

Example:-
N = 5
S = [‘aaa’, ‘bbb’, ‘ccc’, ‘aaa’, ‘bbb’, ‘aaa’]

ANSWER:- The answer should be ‘bbb’ as it is repeated 2 times and is the second most repeated word in the array [after the word ‘aaa’ which is repeated 3 times].
Try solving now
03
Round
Easy
HR Round
Duration45 minutes
Interview date28 Oct 2023
Coding problem1

It was a 30-45 minute round held online, taken by a company manager; the interviewer was very helpful.

1. Technical Questions

Basic questions on projects and what are the future aspects of the project.

Design a simple HLD for University Management.

What is your biggest achievement so far?

Problem approach

Tip 1: Stay optimistic with your approach 
Tip 2: Deep dive into your resume

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
Associate Software Engineer
3 rounds | 3 problems
Interviewed by Rupeek
1199 views
0 comments
0 upvotes
SDE - 1
2 rounds | 5 problems
Interviewed by Rupeek
2243 views
0 comments
0 upvotes
SDE - Intern
1 rounds | 2 problems
Interviewed by Rupeek
3983 views
0 comments
0 upvotes
SDE - 1
4 rounds | 4 problems
Interviewed by Rupeek
955 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes