vertical-order-traversal-of-a-binary-tree.hashnode.dev987. Vertical Order Traversal of a Binary Tree (Hard)🔸 Introduction Talk briefly about tree traversal problems and how vertical traversal adds a twist. Mention that this is a Hard-level problem and requires careful ordering based on multiple dimensions — horizontal level, depth, and node values. Pro...May 21, 2025·2 min read
leetcodesubsets.hashnode.devSingle form State or Multiple In React✅ Why is a single useState object better 1️⃣ Simpler & More Manageable Your Approach: const [formData, setFormData] = useState({ firstName: '', lastName: '', email: '', password: '', confirmPassword: '' }); const onInput = (e) => { set...Apr 1, 2025·2 min read
leetcodesubsets.hashnode.devRender Backend Awake or notRender provide a trigger url Backend Health Check Before Triggering Render URL Instead of blindly calling the Trigger URL, first check if the backend is already awake by sending a lightweight HEAD or OPTIONS request to your backend’s health endpoint....Mar 20, 2025·1 min read
leetcodesubsets.hashnode.devFinding All Subsets of an Array or String – The Power of RecursionUnderstanding Subsets Given an array or string, the goal is to find all possible subsets (including the empty set). The total number of subsets for a set of size n is 2^n. Example: For the array {1,2,3}, the subsets are: {},{1},{2},{3},{1,2},{1,3},{2...Feb 24, 2025·1 min read
your-favorite-youtuber-is.hashnode.devHtml/Js Or ReactHTML and JavaScript are very important. Do not jump directly to React. Invest 30-40 days in JavaScript and create 4-5 projects using only JavaScript. Topic You must Cover DOM manipulation (also work on selecting the nth and 4th elements). try-catch...Feb 23, 2025·1 min read