Browsing Tag
datastructures
14 posts
Stacks, Data Structures
Stacks A stack is a fundamental data structure in computer science that operates on a Last In, First…
Primitive Data Structure
What is Primitive Data Structure 🌲 Primitive data structures are basic and fundamental data structures provided by programming…
Data sorting
Sorting data involves putting it in a certain order. It is a basic data manipulation technique that is…
Leetcode Solution: #206: Reverse Linked List 🐬
Question Type: Medium 🎚️ Complexities: Time: O(n), Space: O(n) 🚩 Code: 👇 class Solution { public: ListNode* reverseList(ListNode*…
Leetcode Solution: #1669 Merge In Between Linked Lists 🚀
Question Type: Medium 🎚️ Complexities: Time: O(n), Space: O(1) 🚩 Code: 👇 class Solution { public: ListNode* mergeInBetween(ListNode*…
Is Data Struct about memory?
A principle that I try to follow is to think about obvious concepts. Since we are introduced to…
Product of Array Except Self – LeetCode Java Solution
Hello readers, let’s solve a LeetCode problem today. In this blog, let’s solve the problem Product of Array…
Caching Git Repos: A Deep Dive into OpenSauced’s ‘Pizza Oven’ Service
Over the last few weeks, the OpenSauced engineering team has been building a service we’re calling the “pizza…
Array Strengths, Weaknesses, and Big-O Complexity Analysis
Read about Array Data Structures article before reading through this article. Arrays are fundamental data structures in computer…
Disjoint Set Union heuristics
DSU is one of the most elegant in implementation data structure and I’ve used in my competitive programming…