Week 10 (Arrays, Vectors & Pairs) - ICPC-Damnhour-Community/Level-0-2025 GitHub Wiki
Arrays as Class, Vector Implementation, and STL: Vector & Pairs
Welcome to Week 10! π This week, you'll explore how arrays can be encapsulated within classes, understand the internal workings of dynamic arrays (vector implementation using arrays), and master the STLβs vector and pair containers for efficient problem-solving. As software engineers, learning to implement data structures ourselves is crucialβnot just to understand how each function works but also to use them efficiently in real-world problems. A deep, low-level understanding helps in writing optimized code, making the right trade-offs, and designing scalable systems. Letβs dive in! π
Start this week by watching: Data Structures: What and Why to understand why data structures are fundamental in software development.
π Resources
π Topic | Type | π Link |
---|---|---|
STL: Vector & Pair (2024 Session) | π¬ Video | βΆ Watch Here |
Data Structure: Vector (2024 Session) | π¬ Video | βΆ Watch Here [To 01:24:06] |
STL: Vector & Pair | π¬ Video | βΆ Watch Here [00:00 -> 19:19] & [20:51 -> 23:18] |
Data Structure (Vector 1 to 5) | π¬ Playlist | βΆ Watch Here |
Vector, Pairs, Iterators | π Article | Read Here |
Intro to Data Structures | π Article | Read Here |
Array | π Documentation | Explore Here |
Vector | π Documentation | Explore Here |
Pair | π Documentation | Explore Here |
π₯ Lecture Session
π Topic | π Link |
---|---|
π¬ Recording | Watch |
π Slides | View |
π Problems | Coming Soon |
π» Codes and Solutions | Codes |
π Practice Sheet
- Sheet Link: Access Problem Sheet
Problems
π Problem Name | π₯ Video Solution | π» Code Solution |
---|---|---|
A - Two Friends | Watch Solution | Code |
B - Yet Another Broken Keyboard | Watch Solution | Code |
C - Cells Arrangement | Watch Solution | Code |
D - Farmer John's Card Game | Watch Solution | Code |
E - Game of Mathletes | Watch Solution | Code |
F - Wasted Time | Watch Solution | Code |
G - Burglar and Matches | Watch Solution | Code |
H - Summer Sell-Off | Watch Solution | Code |
I - Dislike of Threes | Watch Solution | Code |
J - Advantage | Watch Solution | Code |
K - Nene's Game | Watch Solution | Code |
π Weekly Contest
- Contest Link: Access Codeforces Problems
- Problems Overview:
π Problem | π₯ Video Tutorial | π Code Solution |
---|---|---|
A - Ramadan Karim | Watch Solution | Code |
B - Marhab Shah Elsom Marhab | Watch Solution | Code |
C - Ramadan Ahln | Watch Solution | Code |
D - Kol Sana W Ento Taybeen | Watch Solution | Code |
E - Ramadan Gana | Watch Solution | Code |
F - Wahawi Ya Wahawi | Watch Solution | Code |
π¬ Community Support
For any questions, join the discussion in our Discordβs #community-chat. Weβre here to help you every step of the way!
β¨ Good luck, and have a great week! π