Python 0-to-Hero Mastery (Big Tech SDE & ML Standard)
›
12. Classes, Instances, Class Attributes & @classmethod vs @staticmethod
45 mins
Course Syllabus
Interactive Lesson Studio
Loading lesson content...
🎯 Big Tech Coding & Interview Challenges
Practice these curated problems. Click "Load in Sandbox" to solve live in the Code Studio!
Easy
1. Custom Matrix Data Model with __add__ & __getitem__
Ek `Matrix` class banayein jo `__add__` se matrix addition aur `__getitem__` se 2D indexing support kare.
💡 View Pro Interview Hint
• Implement __getitem__ and __add__
Python 3.12