Rivigo services pvt ltd interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

Rivigo services pvt ltd
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I completed my Engineering in Computer Science from Maharaja Agrasen Institute of Technology, Delhi. I started learning Java and DSA from Coding Ninjas in the second year. I emphasized competitive coding and participated in many coding tests. After learning DSA, I started working on projects. I was quite confident in my skills.
Application story
I applied via the company website, where there were job openings for this role. The whole process was conducted online via Zoom.
Why selected/rejected for the role?
I was selected as I had prepared for the interviews through various platforms. Also, I had looked for the previous questions that had been asked for this role by the company.
Preparation
Duration: 2 months
Topics: Trie, HashMap, Sets, Priority Queue, Stack, Advanced Topics like Fenwick Tree, Segment Trees, Game Theory, Dynamic Programming, Union Find, Graph Algorithms, Bitmasking
Tip
Tip

Tip 1: Reading others' interview experiences is one of the best ways to get yourselves ready for the next job interview. Practice daily with at least 5 questions.

Tip 2: Most commonly asked topics in Google interviews (as per the mail I received from my recruiter) are:

  • BFS/DFS/Flood fill
  • Binary Search
  • Tree traversals
  • Hash tables
  • Linked lists
  • Stacks
  • Queues
  • Two pointers/sliding window
  • Binary heaps
  • Ad hoc/string manipulations
Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1: Mention your past working experience in detail, highlighting how you were important to your previous company.
Tip 2: Try to keep your resume to one page if your work experience is less than 5 years.
Tip 3: Update your resume according to the role you are applying for, and never include false information on your resume.

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 mins
Interview date6 Apr 2021
Coding problem2

1. Min Steps to one

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

You are given a positive integer 'N’. Your task is to find and return the minimum number of steps that 'N' has to take to get reduced to 1.

You can perform any one of the following 3 steps:

1) Subtract 1 from it. (n = n - ­1) ,
2) If n is divisible by 2, divide by 2.( if n % 2 == 0, then n = n / 2 ) ,
3) If n is divisible by 3, divide by 3. (if n % 3 == 0, then n = n / 3 ).

For example:

Given:
‘N’ = 4, it will take 2 steps to reduce it to 1, i.e., first divide it by 2 giving 2 and then subtract 1, giving 1.
Problem approach

DP problem

Try solving now

2. Longest Palindromic Substring

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

You are given a string ('STR') of length 'N'. Find the longest palindromic substring. If there is more than one palindromic substring with the maximum length, return the one with the smaller start index.

Note:
A substring is a contiguous segment of a string.

For example : The longest palindromic substring of "ababc" is "aba", since "aba" is a palindrome and it is the longest substring of length 3 which is a palindrome, there is another palindromic substring of length 3 is "bab" since "aba" starting index is less than "bab", so "aba" is the answer.

Problem approach

DP concept

Try solving now
02
Round
Medium
Video Call
Duration50 mins
Interview date6 Apr 2021
Coding problem2

The round was held on Google Meet, and I was given two coding problems. For each problem, I first had to explain my approach, then write the code in a shared Google Doc, dry run the code on sample test cases, and discuss the time and space complexity. There were two interviewers, both of whom were very friendly and helpful, and they tried to bring us to our comfort level first.

1. Pattern Matching

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

You are given a pattern in the form of a string and a collection of words. Your task is to determine if the pattern string and the collection of words have the same order.

Note :
The strings are non-empty.

The strings only contain lowercase English letters.
Problem approach

Kandane's algo. (Learn)

Try solving now

2. Median in a stream

Hard
50m average time
50% success
0/120
Asked in companies
Disney + HotstarAmazonMakeMyTrip

Given that integers are read from a data stream. Your task is to find the median of the elements read so far.

Median is the middle value in an ordered integer list. If the size of the list is even there is no middle value. So the median is the floor of the average of the two middle values.

For example :
[2,3,4] - median is 3.
[2,3] - median is floor((2+3)/2) = 2.


Problem approach

Applied Heap technique to solve this problem.

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
SDET-2
2 rounds | 4 problems
Interviewed by Rivigo services pvt ltd
710 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6451 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15481 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15339 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes