useOutsideClick Custom Hook
useOutsideClick custom hook can be used to determine if a click event was triggered outside of the target element's boundary. Create a function called...
Full Screen Modal
A modal is an overlay screen that appears when the user performs some action on the website. For example, You must be familiar with a window popping o...
Binary Tree Diameter
Given a Binary Tree, Return an integer that represents the diameter of the Binary Tree. A Diameter is the length of the longest path in the Binary Tre...
Maximum Subset Sum With No Adjacent
Given an array of POSITIVE INTEGERS, find the greatest sum that can be generated without adding 2 numbers positioned next to each other.