목록분류 전체보기 (147)
게으른개발너D
https://leetcode.com/problems/event-emitter/description/ Event Emitter - LeetCode Can you solve this real interview question? Event Emitter - Design an EventEmitter class. This interface is similar (but with some differences) to the one found in Node.js or the Event Target interface of the DOM. The EventEmitter should allow for subscri leetcode.com Design an EventEmitter class. This interface is..
https://leetcode.com/problems/call-function-with-custom-context/description/ Call Function with Custom Context - LeetCode Can you solve this real interview question? Call Function with Custom Context - Enhance all functions to have the callPolyfill method. The method accepts an object obj as it's first parameter and any number of additional arguments. The obj becomes th leetcode.com Enhance all ..
https://leetcode.com/problems/nested-array-generator/description/ Nested Array Generator - LeetCode Can you solve this real interview question? Nested Array Generator - Given a multi-dimensional array of integers, return a generator object which yields integers in the same order as inorder traversal. A multi-dimensional array is a recursive data st leetcode.com Given a multi-dimensional array of..
https://leetcode.com/problems/group-by/description/ Group By - LeetCode Can you solve this real interview question? Group By - Write code that enhances all arrays such that you can call the array.groupBy(fn) method on any array and it will return a grouped version of the array. A grouped array is an object where each key leetcode.com Write code that enhances all arrays such that you can call the..
https://leetcode.com/problems/debounce/description/ Debounce - LeetCode Can you solve this real interview question? Debounce - Given a function fn and a time in milliseconds t, return a debounced version of that function. A debounced function is a function whose execution is delayed by t milliseconds and whose execut leetcode.com Given a function fn and a time in milliseconds t, return a debounc..
https://leetcode.com/problems/calculator-with-method-chaining/description/ Calculator with Method Chaining - LeetCode Can you solve this real interview question? Calculator with Method Chaining - Design a Calculator class. The class should provide the mathematical operations of addition, subtraction, multiplication, division, and exponentiation. It should also allow con leetcode.com Design a Cal..
https://leetcode.com/problems/add-two-promises/description/ Add Two Promises - LeetCode Can you solve this real interview question? Add Two Promises - Given two promises promise1 and promise2, return a new promise. promise1 and promise2 will both resolve with a number. The returned promise should resolve with the sum of the two numbers. E leetcode.com Given two promises promise1 and promise2, re..
https://leetcode.com/problems/execute-cancellable-function-with-delay/description/ Execute Cancellable Function With Delay - LeetCode Can you solve this real interview question? Execute Cancellable Function With Delay - Given a function fn, an array or arguments args, and a timeout t in milliseconds, return a cancel function cancelFn. After a delay of t, fn should be called with ar leetcode.com ..