Full Stack Developer Interview Questions

19,475 full stack developer interview questions shared by candidates

Recursive problem 1: Packaging You want to send your friend a package with different things. Each thing you put inside the package has such parameters as index number, weight and cost. The package has a weight limit. Your goal is to determine which things to put into the package so that the total weight is less than or equal to the package limit and the total cost is as large as possible. You would prefer to send a package which weights less in case there is more than one package with the same price.
avatar

Full Stack Engineer

Interviewed at Whatfix

3.4
Aug 18, 2017

Recursive problem 1: Packaging You want to send your friend a package with different things. Each thing you put inside the package has such parameters as index number, weight and cost. The package has a weight limit. Your goal is to determine which things to put into the package so that the total weight is less than or equal to the package limit and the total cost is as large as possible. You would prefer to send a package which weights less in case there is more than one package with the same price.

Implement a function called 'memoize()' that takes a function as an argument and returns a memoized version of that function. A memoized function should cache the results of previous calls based on the arguments passed. If the function is called with the same arguments again, it should return the cached result instead of re-executing the function.
avatar

Senior Full Stack Developer

Interviewed at Wix

4.1
Jan 22, 2025

Implement a function called 'memoize()' that takes a function as an argument and returns a memoized version of that function. A memoized function should cache the results of previous calls based on the arguments passed. If the function is called with the same arguments again, it should return the cached result instead of re-executing the function.

Viewing 1821 - 1830 interview questions

Glassdoor has 19,475 interview questions and reports from Full stack developer interviews. Prepare for your interview. Get hired. Love your job.