Karun Karthik Tumurotukkcodes.hashnode.dev·Feb 18, 2024Climbing StairsLink: https://leetcode.com/problems/climbing-stairs/ Problem StatementYou are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Recursive soluti...DiscussDynamic Programming

Ricardo Rocha // 👨💻ricardo-tech-lover.hashnode.dev·Feb 12, 2024💡Unlocking the Secrets: A Conversational Dive into JavaScript VariablesLet's chat 💬 about JavaScript variables – those containers where you stash your data, like a digital backpack for your code. 🤨 What is a variable? Variables are like boxes. You give each box a name (the variable name) and throw stuff (data) inside ...DiscussJavaScript

Pranjal Nehetepranjalnehete02.hashnode.dev·Feb 12, 2024Day 1 (Stock Buy and Sell Problem)Greetings fellow adventurers in the realm of competitive programming! Today marks the beginning of my epic journey into the world of algorithms, data structures, and the legendary LeetCode. We are solving our very first intersting challenge: the noto...Discussleetcode

omaromar1.hashnode.dev·Feb 4, 2024Dynamic programming: LCSالنهاردة هحاول أشرح حاجة تعتبر من الأساسيات او الbasics في الداينميك بروجرامنج ألا وهي الـ LCS او الـ Longest Common Subsequence .. طيب هي ايه فكرة السؤال الي بيجي عنها أو بنفكر فيها أمتا؟ ممكن نفكر فيها لما يبقى عندنا إتنين سترينج او اتنين ليست من ا...DiscussDynamic Programming

Adityaascendantaditya.hashnode.dev·Jan 24, 2024Roadmap for Mastering Data Structures and Algorithms (DSA)Data Structures are the building blocks of any program. Here's a suggested order to learn them: Data Structures to Practice: 1. Arrays and Strings Find the maximum sum of a subarray: https://leetcode.com/problems/maximum-subarray/ Reverse a string:...Discussdata structures and algorithms

Nhut NguyenforLeetSolveleetsolve.com·Jan 23, 2024How To Find The Minimum Path From Top To Bottom Of A TriangleProblem statement Given a triangle array, return the minimum path sum from top to bottom. For each step, you may move to an adjacent number of the row below. More formally, if you are on index i on the current row, you may move to either index i or i...Discuss·70 readsC++

Shahi ShreshthforTechLearn Indiablog.techlearnindia.com·Jan 22, 2024My Recursion to DP OdysseyAh, recursion. The elegant, powerful, sometimes mind-bending technique that sends shivers down the spines of many a programmer. It's like watching a movie where the ending loops back to the beginning, only slightly different each time. Cool, right? B...DiscussJavaScript

Abhishek Kumar Sharmaabhishekcrj.hashnode.dev·Jan 18, 2024LeetCode @70.Climbing StairsQuestion Link and Solution You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Solution : Intuition to this question: if 1 stair ==> 1 step...Discuss·10 likesDSA

Nitishkumarnitishkumar07.hashnode.dev·Jan 16, 20242nd Attempt DAY 1Problem Statement (string : Largest number with given sum) easy question. Geek lost the password of his super locker. He remembers the number of digits N as well as the sum S of all the digits of his password. He know that his password is the largest...Discussstring

Pranathi Kandalapranathikandala.hashnode.dev·Jan 1, 2024What Is Dynamic Programming?It is dynamic programming is just recursion with cache we say "dynamic programming is just recursion with cache," we mean that dynamic programming often involves breaking down a problem into smaller subproblems and solving them recursively, while als...Discuss·28 readsDynamic Programming