Gushwork | Full Stack Engineer | Interview
- Experience
- 2 years
- Posted
- 13 May 2025
Summary
I interviewed for a Full Stack Engineer position at Gushwork, which involved DSA and other technical questions. Unfortunately, I failed the interview, primarily because I was unable to solve the first DSA question.
How it went
YOE: ~2 Years
DSA Questions:
- https://leetcode.com/problems/merge-sorted-array/ (but without using any extra space)
- Variation of LCA
Before starting with DSA they also asked other questions:
- Why do we sometimes call API in batches?
- Probablity question - what will be the probability of failure (could be easily solved using P(F) = 1 - P(S) approch)
Verdict: Failed (couldn't solve 1st question)
Questions asked (3)
- 01
Merge Sorted Array (without extra space)
Data Structures & Algorithms · Medium
Open the problemGiven two sorted integer arrays,
nums1andnums2, mergenums2intonums1such thatnums1contains all elements from both arrays. The final sorted array should not be returned by the function, but instead be stored inside the arraynums1.nums1has a length ofm + n, wheremis the number of elements initially innums1andnis the number of elements initially innums2. You are explicitly instructed to solve this problem without using any extra space. - 02
Why call API in batches?
System Design
Explain the reasons and benefits for sometimes calling APIs in batches instead of individual requests.
- 03
Probability of Failure
Other
A probability question asking to determine the probability of failure, with a hint that it can be easily solved using the approach P(F) = 1 - P(S).