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...DiscussDSA
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...Discuss·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: ["...Discussleetcode
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...Discussujjwalsharma
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...Discuss100DaysOfCode
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 ...Discuss·40 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...Discuss·1 like·36 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...Discuss·34 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...Discuss·31 readsArrayDSA
Mahbub Alam Masumblog.masum.dev·Jun 19, 2024Union of Two Sorted ArraysFinding the union of two sorted arrays involves combining the elements of both arrays without duplicates. This problem can be solved using different approaches, each with its own time and space complexity. In this article, we'll discuss two approache...DiscussArrayDSA