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

SDE - 1

Spinny
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures & Algorithms, Machine Coding, JS Fundamentals, JS Prototypes and Prototypical Inheritence, Design Principles, Polyfills, React.js, JS Architecture
Tip
Tip

Tip 1 : For frontend roles, apart from DSA be prepared with JS fundamentals, polyfills, code execution and memory management in js.
Tip 2 : Prepare Machine Coding Questions and JS interview questions like flatten a nested object or array, infinite currying etc.
Tip 3 : Be confident while interviewing, try to talk and explain the approach first, before implementation. Do not directly jump to code.

Application process
Where: Email Approach
Eligibility: 1 year experience was required
Resume Tip
Resume tip

Tip 1 : Have your resume very concise like a one page resume, and for frontend roles have some projects with their Github and live url as well.
Tip 2 : Mention your coding profiles with their links in the resume.

Interview rounds

01
Round
Medium
Video Call
Duration60 mins
Interview date30 Sep 2022
Coding problem3

It was a technical round. The interview happened on Interview Hector platform. It consisted of 1 DSA question and 2 JS based problems.

1. Technical Question

Write polyfills for Call, Apply and Bind.

Problem approach

I explained how these methods work in javascript and wrote my own implementation of it by explicitly attaching the 'this' to the calling context.

2. Technical question

Given a deeply nested array, write a function to flatten this array.Ex - I/P - [1,2,[3,4,5],[6,[7,[8],9],10],11,12]O/P - [1,2,3,4,5,6,7,8,9,10,11,12]

Problem approach

I used recursion to recursively flatted the nested arrays and then concat all the flatted array together and returned it in the O/P.

3. Sort 0 1

Moderate
0/80
Asked in companies
HCL TechnologiesMorgan StanleyOracle

You have been given an integer array/list(ARR) of size N that contains only integers, 0 and 1. Write a function to sort this array/list. Think of a solution which scans the array/list only once and don't require use of an extra array/list.

Note:
You need to change in the given array/list itself. Hence, no need to return or print anything. 
Problem approach

I used the Dutch Flag Algorithm to solve the question.

Try solving now
02
Round
Hard
Video Call
Duration60 mins
Interview date4 Oct 2022
Coding problem1

It was from 1 to 2 pm. I briefly introduced myself. He asked me about my previous experience and the tech stack that I am working on and the proceeded on with the interview. He asked me about Hoisting, Closures, How closure work with example, How to optimise network calling using Debouncing and Throttling and which one to use in which scenarios.
He then asked me about Prototypes and Prototypical Inheritance. How asynchronous Javascript works. Then he moved to react and asked some basic questions like Virtual DOM, Lifecycle methods and Hooks. After that he gave me a machine coding question.

1. Design Question

Gave me a boileplate React sandbox and asked me to write a React App which beuatifies the JSON response. (Like the JSON parse or JSONVue chrome extension). It should be able to beautify deeply nested JSON as well.

Problem approach

There were lot of edge cases to consider, In case of string or number values, it was very straight forward, but if the value is an array or if the value is an JSON object itself then I used recursive approach to beautify the nested JSON object.

03
Round
Easy
Video Call
Duration30 mins
Interview date7 Nov 2022
Coding problem1

It was a Technical cum Culture Fit round with the CTO. The CTO asked me about my experiences and the projects that I have worked on. And he asked me some questions.

1. Basic HR Questions

Why am I switching the company just after an year?

What are your career goals?

What are you looking for in your next role ?

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
3 rounds | 4 problems
Interviewed by Spinny
1663 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