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

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

πŸ” 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! πŸŽ‰