Alok Guptaalokgupta.hashnode.dev·Dec 3, 2024Understanding and Implementing Tree Data Structures in C++Prerequisites: Before diving into the concepts and implementations of tree data structures, make sure you have the following: Familiarity with basic data structures such as arrays and linked lists. Understanding of recursion. Proficiency in C++ pr...DiscussTree
Luiz Celso Pergentinoluizcelso.com·Nov 26, 2024Frequency Counter PatternFrequency Counter is one of the most frequent patterns in programming - if not the most. You will certainly use it in your side projects and work. Let's use the classic anagram problem. Anagram is a word/phrase created by rearranging the letter of an...Discussanagram
Shubham Sardablog.unwiredlearning.com·Nov 20, 2024Reorder List (Leetcode #143)LeetCode's problem 143, "Reorder List," is a challenging yet rewarding question. Here, I'll walk you through the problem, a common brute force solution, and then guide you to the efficient solution using the attached code, helping you understand how ...DiscussDSA Interview Preparation With Blind 75DSA
Luiz Celso Pergentinoluizcelso.com·Nov 18, 2024Multiple Pointers PatternBefore delving into classic algorithms and data structures, we must learn or revisit some problem-solving patterns. The Multiple Pointers pattern will be our starting point. The main idea here is to create multiple pointers attached to specific posit...Discussmultiplepointers
Yasin Sarkaryasinsarkar.hashnode.dev·Nov 7, 2024🚀 Exploring new Map() in JavaScript: A Powerful Data Structure for Developers 🗺️JavaScript offers a variety of ways to store data, and while arrays and objects are great, sometimes you need something even more powerful and flexible. Enter Map! 💡 In this article, we’ll break down what the Map object is, why it’s useful, and how ...Discuss·1 likeJavaScript
Gagan G Saralayagagang.hashnode.dev·Nov 5, 2024Linked Lists: A Beginner-Friendly Guide with Code ExamplesIf you’re delving into data structures, chances are you’ve encountered the term linked list. They’re a powerful alternative to arrays, especially when you need flexibility in managing data. This blog will introduce you to linked lists, explain some k...Discuss#linkedlists
Arjun Patilbeginners-python-for-leetcode.hashnode.dev·Oct 31, 2024Beginner's Python for LeetcodeA beginners guide to strings and arrays in Python for Leetcode Getting started with leetcode was a rough task for me. I’d open up the site all motivated, hyped to go on a problem solving rampage thinking the “easy” tag actually meant easy. However, I...Discuss·1 likePython
Arpit Singhd-s-a.hashnode.dev·Oct 19, 2024Tree Data Structure.The What A tree is a powerful, efficient, non-linear, hierarchical data structure that consists of nodes connected by edges. Each tree has a root node, and every node can have zero or more child nodes, creating a parent-child relationship. There is a...DiscussTree
Romjan D. Hossainromjan.hashnode.dev·Oct 12, 2024Stack & Queues in Data StructureIn previous weeks, I discussed Arrays and Linked Lists. Today, I'll dive into two more fundamental data structures: Stacks and Queues. What is a Stack? A Stack is a linear data structure that follows a specific order of operations known as FILO (Fir...Discussarray
Arpit Singhd-s-a.hashnode.dev·Oct 10, 2024Queue, JavaA Queue is a linear data structure that follows the First In First Out (FIFO) principle, meaning that the first element added to the queue will be the first one to be removed. This structure is widely used in various applications, including schedulin...DiscussJavaScript