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

SDE - 2

Spinny
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I always looked forward to working for a great organization, and an interview at Spinny was an on-campus opportunity for me. My road to starting practicing coding in the middle of sophomore year. To see my coding skills, I started doing basic problems on various portals, including Coding ninjas, Leetcode, Gfg. However, at that time, more was needed to solve the core problem of DSA. Then I started following a YouTube channel with about 150 issues specifically created for placements and internships. Which YouTube course or channel you choose is up to you. They started hiring candidates for our industrial semester in my seventh semester.
Application story
I have prepared for a month. I have solved around 50-60 leet code problems for DSA rounds. Also, for system design rounds, I've read Alex Xu's book on System Design Interviews.
Why selected/rejected for the role?
I was selected in both technical rounds but I was not able to clear the HR round because of lack of confidence. It hurted me a lot because I had cleared the major path for being selected
Preparation
Duration: 6 months
Topics: C, C++, Python, Web Dev, Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : DSA questions are the key, practice them daily.
Tip 2 : Do not ignore core engineering subject.
Tip 3 : Maintain a routine, do not mess around that.

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

Tip 1 : Make it a single page if possible.
Tip 2 : Always add a short description of your projects on the resume.

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 minutes
Interview date12 Jul 2022
Coding problem2

1. Longest Palindromic Subsequence

Hard
45m average time
50% success
0/120
Asked in companies
SAP LabsCIS - Cyber InfrastructureIBM

You have been given a string ‘A’ consisting of lower case English letters. Your task is to find the length of the longest palindromic subsequence in ‘A’.

A subsequence is a sequence generated from a string after deleting some or no characters of the string without changing the order of the remaining string characters. (i.e. “ace” is a subsequence of “abcde” while “aec” is not).

A string is said to be palindrome if the reverse of the string is the same as the actual string. For example, “abba” is a palindrome, but “abbc” is not a palindrome.

Try solving now

2. Minimum Number Of Taps To Water Garden

Hard
15m average time
85% success
0/120
Asked in companies
AppleBNY MellonOla

The gardener wants to water the garden by opening the minimum number of taps. The garden is one-dimensional along the x-axis of length N i.e. the garden starts from point 0 and ends at point N. There are N + 1 tap located at points [0, 1, 2, …, N] in the garden.

You are given an integer N, and an array named “ranges” of size N + 1(0-indexed). The ith tap, if opened, can water the gardener from point (i - ranges[i]) to (i + ranges[i]) including both. The task is to find the minimum number of taps that should be open to water the whole garden, return -1 if the garden can not be watered.

Example :

Watering The Garden

Follow Up:
Can you solve the problem in O(N) time?
Try solving now
02
Round
Easy
Online Coding Test
Duration50 minutes
Interview date30 Jul 2022
Coding problem2

1. Check Bipartite Graph

Moderate
50m average time
50% success
0/80
Asked in companies
UberWalmarteBay

Given a graph, check whether the graph is bipartite or not. Your function should return true if the given graph's vertices can be divided into two independent sets, ‘U’ and ‘V’ such that every edge (‘u’, ‘v’) either connects a vertex from ‘U’ to ‘V’ or a vertex from ‘V’ to ‘U’.

You are given a 2D array ‘edges’ which contains 0 and 1, where ‘edges[i][j]’ = 1 denotes a bi-directional edge from ‘i’ to ‘j’.

Note:
If edges[i][j] = 1, that implies there is a bi-directional edge between ‘i’ and ‘j’, that means there exists both edges from ‘i’ to ‘j’ and to ‘j’ to ‘i’.

For example

Given:
‘N’ = 3
‘edges’ = [[0, 1, 1], [0, 0, 1], [0,0,0]]. 

Try solving now

2. Count Complete Binary Tree Nodes

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

Given a complete binary tree, you are supposed to return the number of nodes in the given tree.

In a complete binary tree every level, except possibly the last, is completely filled, and all nodes in the last level are as far left as possible.

For example:
For the binary trees in the image below.

alt text

The left tree in the image is not a complete binary tree that’s why it is invalid and the right tree in the image is a valid complete binary tree which contains total 6 nodes.
Try solving now
03
Round
Medium
HR Round
Duration25 minutes
Interview date5 Aug 2022
Coding problem1

1. Basic HR Questions

Introduce yourself
What is the thing that you take most proud on achieving?
Why this technical line?
Why Spinny?
What are your ambitions?

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 - 2
3 rounds | 3 problems
Interviewed by Spinny
1255 views
0 comments
0 upvotes
SDE - 2
3 rounds | 3 problems
Interviewed by Spinny
1482 views
0 comments
0 upvotes
SDE - Intern
4 rounds | 6 problems
Interviewed by Spinny
1060 views
0 comments
0 upvotes
Backend Developer
3 rounds | 2 problems
Interviewed by Spinny
718 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29570 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
9584 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6677 views
1 comments
0 upvotes