Kanchan Raikanchanraiii.hashnode.dev·Nov 27, 2024Day 8: 100 Days of DSAHey everyone! Welcome to day 8 of my 100 days of DSA challenge. Today I’ll be solving 5 problems related to stacks. The code for each problem along with the output is given below. Stacks are very useful data structure which can help us solve many pro...100 Days of DSAStacks
Aayush Singhitsmedecoder.hashnode.dev·Aug 27, 2024What is DSAWhat is DSA? A Beginner's Guide DSA stands for Data Structures and Algorithms. It's a fundamental concept in computer science that forms the backbone of efficient problem-solving and software development. Understanding the Basics Data Structures: Th...DSA
Tanusha Rainatechshetalks.hashnode.dev·Aug 6, 2024Kicking Off My DSA Journey: LeetCode Like a Lady, Cracking Coding Interviews in HeelsHello, world! I’m excited to announce the launch of my new blog series on Hashnode, titled "LeetCode Like a Lady: Cracking Coding Interviews in Heels". I’ll be documenting my journey through Data Structures and Algorithms (DSA). I've completed the ar...10 likesLeetCode Like a Lady: Cracking the Coding Interview in HeelsDSA
Ayush Thakurgeek7.hashnode.dev·Jul 27, 2024Leetcode Guide: Generate Parenthesis Problem SolutionQuestion Description: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Examples: Example 1: Input: n = 3 Output: ["((()))","(()())","(())()","()(())","()()()"] Example 2: Input: n = 1 Output: ["...leetcode
Ujjwal Sharmaujjwalsharma.hashnode.dev·Jul 9, 2024Average Waiting time (Simulation based question)Problem link Click here Approach Initially, when the chef is not doing anything and a customer arrives, the waiting time for the customer to get a particular dish ordered is nothing but just the preparation time. Now, let's suppose the chef is prep...ujjwalsharma
Carol Dsilvacaroldsillva.hashnode.dev·Jul 4, 2024Day 03 of 100 Days of Code: C++ Basics For DSAI started with DSA yesterday, and I'm currently revising the basics of C++. I found a structured plan/roadmap to learn DSA and I intend to follow it. This is the Strivers A2Z DSA Course/Sheet. It has all the topics in either article form or video for...100DaysOfCode
Mahbub Alam Masumblog.masum.dev·Jun 24, 2024How to Find the Element that Appears Once in an ArrayFinding the element that appears only once in an array where all other elements appear twice is a common problem in coding interviews and programming challenges. In this article, we'll discuss four approaches to solve this problem: one using a brute ...45 readsArrayDSA
Mahbub Alam Masumblog.masum.dev·Jun 22, 2024How to Find the Maximum Consecutive Ones in an ArrayFinding the maximum number of consecutive 1's in a binary array is a common problem that can be efficiently solved with a linear time algorithm. In this article, we will discuss an optimal approach to solve this problem. Solution: Optimal Approach Th...1 like·41 readsArrayDSA
Mahbub Alam Masumblog.masum.dev·Jun 21, 2024How to Find the Missing Number in an ArrayIn an array containing numbers from 1 to N, where one number is missing, the goal is to find the missing number. Here, we'll discuss four different methods to achieve this, ranging from brute force to optimal approaches. Solution 1: Brute Force Appro...46 readsArrayDSA
Mahbub Alam Masumblog.masum.dev·Jun 20, 2024Intersection of Two Sorted ArraysFinding the intersection of two sorted arrays is a common problem in coding interviews and programming challenges. In this article, we'll discuss two approaches to solve this problem: one using a brute force approach and another using two-pointers te...47 readsArrayDSA