DealShare Frontend Lead Engineer Interview Experience
Frontend Lead Engineer
Summary
AI Powered
The DealShare Frontend Lead Engineer interview process was comprehensive, consisting of three technical rounds. Candidates can expect a variety of questions, including data structure challenges in the first round, followed by technical discussions and problem-solving in the second round, and practical implementation tasks in the final round. Overall, the difficulty level was medium to high, with a focus on both coding skills and system design knowledge, providing a rigorous assessment for potential Frontend Leads at DealShare.
1
Given an array of integers sorted in non-decreasing order, find the starting and ending position of a target value. If the target is not found, return [-1, -1].
Given an array of integers sorted in non-decreasing order, find the starting and ending position of a target value. If the target is not found, return [-1, -1].
data-structures
binary-search
arrays
Medium
Merge two sorted arrays into a single sorted array.
Merge two sorted arrays into a single sorted array.
data-structures
arrays
merging
Easy
2
ššØš®š§š š: šššš”š§š¢ššš„ šš¢š¬šš®š¬š¬š¢šØš§ & šš«šØšš„šš¦-ššØš„šÆš¢š§š
Analyze the following closure-based counter function and explain its output. The function creates a counter that increments by 5 each time it's called. Show the output of the first and second calls to the function.
javascript
function outer() {
let counter = 0;
return function inner() {
counter += 5;
return counter;
};
}
const count = outer();
console.log(count()); // 5
count();
console.log(count()); // 15Analyze the following closure-based counter function and explain its output. The function creates a counter that increments by 5 each time it's called. Show the output of the first and second calls to the function.
javascript
closures
output-analysis
Medium
javascript
function outer() {
let counter = 0;
return function inner() {
counter += 5;
return counter;
};
}
const count = outer();
console.log(count()); // 5
count();
console.log(count()); // 15frontendinterviewsoftwareengineerdealsharejavascriptinterviewexperienceinterviewtipsjobinterviewcareergrowthdealshare
r
ritwik chakraborty
Verified User
ā/Ctrl+D
Bookmark for later