· software
Learning set, unordered_set, and priority_queue in C++
set Overview - Unique + Sorted data - Stores unique elements - Maintains sorted order - Implemented using a self‑balancing BST Red‑Black Tree Example cpp inclu...
set Overview - Unique + Sorted data - Stores unique elements - Maintains sorted order - Implemented using a self‑balancing BST Red‑Black Tree Example cpp inclu...
🧩 Problem Statement Given an array and an integer k, find the k‑th largest element. Example - Input: 3, 2, 1, 5, 6, 4, k = 2 - Output: 5 🧠 My First Thought:...
Introduction This project began with a simple question from my brother: > “How much filament will this use, and how long will it take?” He had about 100 indivi...