Senior Full Stack Engineer Interview Questions

1,781 senior full stack engineer interview questions shared by candidates

What is the output of the following code snippet? const promise1 = Promise.reject('Promise 1 Error'); const promise2 = Promise.resolve('Promise 2'); Promise.any([promise1, promise2]).then((result) => { console.log(result); }).catch((error) => { console.log(error); });
avatar

Senior Full-Stack Engineer

Interviewed at Andela

3.8
Nov 19, 2024

What is the output of the following code snippet? const promise1 = Promise.reject('Promise 1 Error'); const promise2 = Promise.resolve('Promise 2'); Promise.any([promise1, promise2]).then((result) => { console.log(result); }).catch((error) => { console.log(error); });

Design and implement a file system, with fs manager that implements: AddFile(string parentDirName, string fileName, int fileSize) AddDirectory(string parentDirName, string name) Delete(string fileName) Print the tree structure - Use a dictionary to retrieve/add the file/directory in o(1) - Use the Composite Pattern in your implementation: the file and directory inherit from a common base like node, and the dictionary holds items of type node
avatar

Senior Full Stack Developer

Interviewed at Yotpo

3.5
Jun 21, 2023

Design and implement a file system, with fs manager that implements: AddFile(string parentDirName, string fileName, int fileSize) AddDirectory(string parentDirName, string name) Delete(string fileName) Print the tree structure - Use a dictionary to retrieve/add the file/directory in o(1) - Use the Composite Pattern in your implementation: the file and directory inherit from a common base like node, and the dictionary holds items of type node

Viewing 1401 - 1410 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 1,781 interview questions and reports from Senior full stack engineer interviews. Prepare for your interview. Get hired. Love your job.