馃摑Todo Form Component in ReactIn this tutorial, we'll create a Todo Form component in React that allows users to input and submit their todo tasks along with date, start time, end time, and category. We'll also fetch the list of available categories from the server using an API c...Jul 24, 2023 路 2 min readsumana.hashnode.dev
Understanding React Component Lifecycle PhasesReact components go through different lifecycle phases during their existence, which allows you to perform specific actions at various points. In this article, we'll explore the Mounting, Updating, and Unmounting phases, and how they relate to each o...Jul 17, 2023 路 4 min readsumana.hashnode.dev
136. Single NumberGiven a non-empty array of integers nums, every element appears twice except for one. Find that single one. You must implement a solution with a linear runtime complexity and use only constant extra space. Example 1: Input: nums = [2,2,1] Output: 1 ...Mar 7, 2023 路 2 min readsumana.hashnode.dev
20. Valid ParenthesesThe function isValid takes a string s as input and checks if it contains a valid set of parentheses, brackets, and curly braces. Here's a step-by-step visualization of how the function works: Declare an empty array arr to store opening parentheses, ...Feb 24, 2023 路 4 min readsumana.hashnode.dev
206. Reverse Linked List/** * Definition for singly-linked list. * function ListNode(val, next) { * this.val = (val===undefined ? 0 : val) * this.next = (next===undefined ? null : next) * } */ /** * @param {ListNode} head * @return {ListNode} */ var reverse...Feb 20, 2023 路 2 min readsumana.hashnode.dev