ReactHow to create dark mode in reactTo create a dark mode in a React application, you can use React context and hooks to manage the…NisarMay 03, 2023 1 min
Binary TreesInorder Tree Traversal with No RecursionInorder Tree Traversal with No Recursion This function traverses a binary tree iteratively using the…NisarSeptember 08, 2022 1 min
SortingHeap SortHeap Sort Heap is a special tree-based data structure. The Heap Sort is a comparison-based sorting…NisarJanuary 31, 2022 1 min
SortingQuick SortQuick Sort A recursive approach is used to find the pivot element and iteratively push all of the…NisarJanuary 30, 2022 1 min
SortingSorting an array according to the order defined by another three numeric items in arraySorting an array according to the order defined by another three numeric items in array You're given…NisarJanuary 29, 2022 1 min
SortingSelection SortSelection Sort As the loop repeats over a collection, this algorithm finds and "chooses" the index…NisarJanuary 28, 2022 1 min