My Blueshift SWE 2 Frontend Interview Experience — [26LPA]
Overview
This case study outlines the interview process for a Frontend Engineer (SDE-2) role at Blueshift. The process consisted of three rounds: an online assessment (OA) on HackerRank, a technical interview, and an HR discussion. The candidate provides insights into the questions asked, the coding challenges presented, and the overall impression of the company.
Interview Rounds
Round 1: Online Assessment (OA)
The initial round involved two coding problems on HackerRank.
-
Question 1: HackerRank League: Countries That Never Scored a Century
-
Description: The task required identifying the number of countries that had never achieved a score of 100 or more, given an array of country-score pairs.
-
Approach: The candidate employed a map to store the highest score for each country and then counted the number of countries with scores below 100.
-
Example:
scores = [ ["India", 2], ["Australia", 31], ["India", 122], ["Australia", 61], ["India", 4], ];- Output: 1
-
-
Question 2: Parking Lot Problem
- Description: The problem involved determining if a given number k of cars could be parked in a parking lot, represented by an array where 0 signifies an empty spot and 1 signifies an occupied spot. Cars cannot be parked in adjacent spots.
- Approach: Initially overthinking the problem, the candidate realized that a single-pass count-based approach with boundary checks effectively solves the problem.
- Example Inputs/Outputs:
spots = [1,0,0,0,1], k = 1→truespots = [1,0,0,0,1], k = 2→false
Round 2: Technical Interview (60 minutes)
This round was conducted by a Team Lead from the Orchestration Team. The interview commenced with an introduction to Blueshift and the team's responsibilities.
The interview included theoretical and practical coding questions.
- Theoretical Questions:
- Promises: definition, types, and practical use cases
Original Source
This experience was originally published on medium. Support the author by visiting the original post.
Read on medium