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

SDE - 1

Spinny
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, React, JavaScript, CSS, SOLID Principles, System Design
Tip
Tip

Tip 1 : DSA is important, practice around 150+ questions minimum.
Tip 2 : For the front end, JS is a must! Learn the basics and how it works under the hood.
Tip 3 : Learn SOLID and Design patterns.

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

Tip 1 : Keep it short and simple. Specify your projects and/or experiences.
Tip 2 : Even naming your resume helps, instead of naming it "resume.pdf" name it like "____resume.pdf". It actually helps recruiters and I got positive feedback for this.

Interview rounds

01
Round
Easy
HR Round
Duration30 minutes
Interview date22 Mar 2022
Coding problem1

This was just a screening round to check my intention and communication skills. They just asked me why was I looking for a job change, and told me a little bit about the profile.

1. Basic HR Questions

Why are you looking for a job change? Are there any problems that you are facing in your current company?

Problem approach

Tip 1 : Keep the answers generic, do not bash or talk ill about your current company as it might create a bad impression.
Tip 2 : Some points that I presented were that I wanted to widen by domain, looking for better opportunities, etc.

02
Round
Easy
Video Call
Duration45 Minutes
Interview date1 Apr 2022
Coding problem3

Since I had applied for a full stack profile, this round mainly consisted of front-end questions and some basic DSA questions. They had scheduled a call in the afternoon around 14:00 and the call was on Google meet where I had to share my screen and type in some code, once I was happy with my code and it worked fine, I had to paste it into the google doc. Actually, they had outsourced the interview rounds to the Interview Vector.

1. Flatten 2D array

Easy
20m average time
80% success
0/40
Asked in companies
MeeshoDunzoApple

You have to implement an iterator for ‘FLATTEN_2D’ to flatten a two-dimensional array ‘ARR_2D’ into a one-dimensional array ‘ARR_1D’. The iterator should support the following two operations:
  • ‘NEXT’: The first call to ‘NEXT’ should return the first element of ‘ARR_2D’. Each subsequent call should return the next element in the row-wise traversal of ‘ARR_2D’.
  • ‘HAS_NEXT’: It should return ‘true’ if the iteration has more elements to traverse; otherwise, if ‘NEXT’ has traversed the entire ‘ARR_2D’, return ‘false’.
  • Try to code this using only iterators in C++ or iterators in Java.

    The ‘FLATTEN_2D’ object will be instantiated and called as follow:
      FLATTEN_2D it = new FLATTEN_2D(ARR_2d);
      while (it.hasNext()) {
          arr1d.append(it.next());
      }

    Example:
    ARR_2D = [ 
              [0, 1],
              [2, 3, 4],
              [],
              [5] 
            ]
    The computed ‘ARR_1D’ should be as follows:
    ARR_1D = [0, 1, 2, 3, 4, 5]
    So, the printed output will be: 0 1 2 3 4 5
    
    Problem approach

    Basic DFS.
    - Create an empty array and call it the result.
    - Loop over the content of the array if it's a number push it into the result array else recursively call the function.
    - Return the resultant array.

    Try solving now

    2. Javascript Question

    Write a polyfill for JS Array.reduceReduce is a higher order function that operates on an array and returns 1 single value.

    Problem approach

    Create the custom reduce function and add it to Array.prototype

    3. Javascript Question

    Implement the following function:sum(1)(2)(3)(4)() returns 10sum(1)() returns 1sum() returns 0

    Problem approach

    Can be solved using closures.

    03
    Round
    Easy
    Video Call
    Duration90 Minutes
    Interview date15 Apr 2022
    Coding problem2

    This round consisted of multiple easy DSA questions, some frontend questions, and one thought experiment related to design. Again, this round was conducted around 14:00 in the afternoon.

    1. Anagram Pairs

    Moderate
    30m average time
    60% success
    0/80
    Asked in companies
    NearbuyAppleAmerican Express

    You are given two strings 'str1' and 'str1'.


    You have to tell whether these strings form an anagram pair or not.


    The strings form an anagram pair if the letters of one string can be rearranged to form another string.

    Pre-requisites:

    Anagrams are defined as words or names that can be formed by rearranging the letters of another word. Such as "spar" can be formed by rearranging letters of "rasp". Hence, "spar" and "rasp" are anagrams. 
    

    Other examples include:

    'triangle' and 'integral'
    'listen' and 'silent'
    
    Note:
    Since it is a binary problem, there is no partial marking. Marks will only be awarded if you get all the test cases correct. 
    
    Problem approach

    - Compare length of the strings and if they are not equal return false.
    - Take a hashmap and store the number of occurrences of each letter in the first string.
    - Iterate over the second string and if the ith character is not in the hashmap or the frequency is 0 then return false.
    - return true.

    Try solving now

    2. Technical Question

    Let's say that some of our clients are complaining that our website is really slow/crashing for them. What could be possible solutions and how would you identify the problems.

    Problem approach

    Tip 1 : Mention the common solutions like optimizing assets, and bundle size.
    Tip 2 : Think out of the box, maybe the problem was faced by people of a certain geographic location, check your load balancers, pods, use CDN, etc.
    Tip 3 : Provide some solutions, in case we can't figure out whats happening because we are not able to reproduce the problem, add some analytics and crashlytics like Sentry in the frontend and enable alerting.

    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
    5 rounds | 5 problems
    Interviewed by Spinny
    1443 views
    0 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