Skip to content

saumya66/BigFrontEnd.dev-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BigFrontEnd.dev-Solutions

This repository will contain solutions of the questions on BigFrontEnd.dev . Decided to do this, as the questions on this site let you understand things deeply.

Javascript Section 👇

No. Question Solution
1 implement curry() ImplementCurry.js
2 implement curry() with placeholder support ImplementCurryWithPlaceholder.js
3 implement Array.prototype.flat() ImplementFlat.js
4 implement basic throttle() ImplementBasicThrottle.js
5 implement basic throttle() ImplementThrottleWithLeading&TrailingOption.js
6 implement debounce() ImplementDebounce.js
7 implement debounce() with leading & trailing option ImplementDebounceWithLeadingTrailingOption.js
8 what is Composition? create a pipe() CompositionPipe.js
9 implement Immutability helper ImplementImmutabilityHelper.js
10 first bad version FirstBadVersion.js
11 Implement a Queue by using Stack ImplementAQueueUsingStack.js
12 Implement a general memoization function - memo() ImplementMemoization.js
13 implement a simple DOM wrapper to support method chaining like jQuery DOMWrapperForChaining.js
14 create an Event Emitter EventEmitter.js
15 Create a simple store for DOM element StoreForDOMElement.js
16 Improve a function ImproveAFunction.js
17 find corresponding node in two identical DOM tree FindCorrespoidingNodeInDOM.js
18 Detect data type in JavaScript DetectDataType.js
19 implement JSON.stringify() ImplementJSONstringify().js
20 implement JSON.parse() ImplementJSONParse().js
21 create a sum() CreateASum.js
22 create a Priority Queue in JavaScript CreatePriorityQueue.js
23 Reorder array with new indexes RenderArrayWithNewIndex.js
24 implement Object.assign() ImplementObject.Assign().js
25 implement completeAssign() ImplementCompleteAssignment.js
26 implement clearAllTimeout() ImplementClearAllTimeout().js
27 implement async helper - sequence() ImplementAsyncHelperSequence().js
28 implement async helper - parallel() ImplementAsyncHelperParallel().js
29 implement async helper - race() ImplementAsyncHelperRace().js
31 implement Promise.all() ImplementPromise.All().js
32 implement Promise.allSettled() ImplementPromise.AllSettled().js
33 implement Promise.any() ImplementPromise.Any().js
34 implement Promise.race() ImplementPromise.Race().js
35 create a fake timer(setTimeout)
36 implement Binary Search (unique) ImplementBinarySearch(Unique).js
37 implement jest.spyOn() ImplementJest.spyOn().js
38 implement range() ImplementRange().js
39 implement Bubble Sort ImplementBubbleSort.js
40 implement Merge Sort ImplementMergeSort.js
41 implement Insertion Sort ImplementInsertionSort.js
42 implement Quick Sort ImplementQuickSort.js
43 implement Selection Sort ImplementSelectionSort.js
44 find the K-th largest element in an unsorted array KthLargestElemUnsortedArray.js
45 implement _.once() Implement_.once().js
46 reverse a linked list ReverseLinkedList.js
47 search first index with Binary Search(possible duplicate array) SearchFirstIndexWithBinarySearch(PossibleDuplicateArray).js
48 search last index with Binary Search(possible duplicate array) SearchLastIndexWithBinarySearch(PossibleDuplicateArray).js
49 search element right before target with Binary Search(possible duplicate array) SearchElementRightBeforeTargetWithBinarySearch(possibleDuplicateArray).js
50 search element right after target with Binary Search(possible duplicate array) SearchElementRightAfterTargetWithBinarySearch(possibleDuplicateArray).js
51 create a middleware system CreateMiddlewareSystem.js
52 write your own extends in es5 extendsInEs5.js
53 flatten Thunk FlattenThunk.js
54 highlight keywords in HTML string HighlightKeywords.js
55 call APIs with pagination CallAPIsWithPagination.js
56 create an Observable CreateAnObservable.js
57 get DOM tree height GetDOMTreeHeight.js
58 create a browser history CreateABrowserHistory.js
59 create your own new operator CreatenewOperator.js
60 create your own Function.prototype.call CreateFunction.prototype.call.js
61 implement BigInt addition ImplementBigIntAddition.js
62 create _.cloneDeep() Create_.cloneDeep().js

Releases

No releases published

Packages

No packages published