Taro Logo

SDE-1 Backend Developer Interview Experience - Gurgaon, India

October 1, 2024
Positive ExperienceGot Offer

Process

The interview went very smoothly. The interviewer was friendly, helpful, and had a great understanding. He introduced himself, then asked for my introduction and inquired about my recent internship. He gave me a question and asked me to optimize it. At the end, we discussed the company's culture and work environment.

Questions

First round

car pool

There is a car with capacity empty seats. The vehicle only drives east (i.e., it cannot turn around and drive west).

You are given the integer capacity and an array trips where trips[i] = [numPassengersi, fromi, toi] indicates that the ith trip has numPassengersi passengers and the locations to pick them up and drop them off are fromi and toi respectively. The locations are given as the number of kilometers due east from the car's initial location.

Return true if it is possible to pick up and drop off all passengers for all the given trips, or false otherwise.

Example 1:

Input: trips = [[2,1,5],[3,3,7]], capacity = 4

Output: false

Example 2:

Input: trips = [[2,1,5],[3,3,7]], capacity = 5

Output: true

2nd round

Product of Array Except Self

Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i].

The product of any prefix or suffix of nums is guaranteed to fit in a 32-bit integer.

You must write an algorithm that runs in O(n) time and without using the division operation.

Example 1:

Input: nums = [1,2,3,4]

Output: [24,12,8,6]

Example 2:

Input: nums = [-1,1,0,-3,3]

Output: [0,0,9,0,0]

  1. Longest Substring Without Repeating Characters

  2. Longest Substring Without Repeating Characters

Medium

Topics

Companies

Hint

Given a string s, find the length of the longest

substring

without repeating characters.

Example 1:

Input: s = "abcabcbb"

Output: 3

Explanation: The answer is "abc", with the length of 3.

Example 2:

Input: s = "bbbbb"

Output: 1

Explanation: The answer is "b", with the length of 1.

Example 3:

Input: s = "pwwkew"

Output: 3

Explanation: The answer is "wke", with the length of 3.

Notice that the answer must be a substring, "pwke" is a subsequence and not a substring.

3rd round

Interview ask me to write function which will check win condition for X and O for n*n matrix as i have mention a tic tac toe game in my resume and after that he ask me to write a script in any language which can give me content of web page, in my case mcqs are there which i have to push in array along with it option and correct andwer.

Was this helpful?

Interview Statistics

The following metrics were computed from 1 interview experience for the Zupee SDE-1 Backend Developer role in Gurgaon, India.

Success Rate

100%
Pass Rate

Zupee's interview process for their SDE-1 Backend Developer roles in Gurgaon, India is incredibly easy as the vast majority of engineers get an offer after going through it.

Experience Rating

Positive100%
Neutral0%
Negative0%

Candidates reported having very good feelings for Zupee's SDE-1 Backend Developer interview process in Gurgaon, India.

Zupee Work Experiences