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

SDE - 1

Spinny
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 Month
Topics: Data Structures, Algorithms, Oops, System Design, Coding
Tip
Tip

Tip 1 : Learn Oops(classes and functions)
Tip 2 : Practice Programming
Tip 3 : Read System Design

Application process
Where: Campus
Eligibility: Min 1 year experience
Resume Tip
Resume tip

Tip 1 : Include projects you have done and learnt something 
Tip 2 : Include metrics to quantify any result

Interview rounds

01
Round
Medium
Video Call
Duration60 Minutes
Interview date4 Jan 2021
Coding problem2

Interview Vector Round on video call

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

Search an element in a sorted array rotated at a pivot.
Use binary search here.

Try solving now

2. 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

Do inorder traversal of the tree and push values to a hash set and iterate on this set to check if sum can be obtained

Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date6 Jan 2022
Coding problem1

1. System Design Question

Design cricket score board system

Problem approach

Tip 1 : write modular code using classes and functions
Tip 2 : Use constants where necessary
Tip 3 : Ask clarifying questions

03
Round
Medium
Video Call
Duration60 Minutes
Interview date14 Jan 2021
Coding problem1

1. System Design Question

Design Instagram

Problem approach

Tip 1 : Read blogs on how to design a social networking app 
Tip 2 : Read blogs on Sql vs nosql databases
Tip 3 : Ask clarifying questions

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 - 1
5 rounds | 5 problems
Interviewed by Spinny
1443 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Spinny
3107 views
7 comments
0 upvotes
SDE - 1
3 rounds | 4 problems
Interviewed by Spinny
1528 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Spinny
799 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes