Recently Updated Pages
Inheritance
Inheritance is a mechanism that allows a class to inherit properties and behaviors from another...
Polymorphism
Class Polymorphism Polymorphism is often used in Class methods, where we can have multiple class...
Abstraction
Prereq: Inheritance Abstraction is used to hide something too, but in a higher degree (class, m...
Good Engineering Principles
General Engineering Principles DRY (Don't Repeat Yourself): Avoid duplication of code ...
Class Creation: Getter/Setter vs Property
Getter and Setter Pattern comes from OOP languages such as C++ and Java in order to adhere to ...
General Debugging
Understand the System Read the documentation from cover-to-cover to understand how to get the ...
Brute Force
A brute force solution is an approach to problem-solving that involves trying all possible soluti...
SRA
frame bg to problem to solve, how its solved, before and after metrics STAR: Situation Task Act...
Data Structures
Array arr = [1, 3, 3, 7] for val in arr: # 1,3,3,7 7 in arr # True, t...
Cross Product
Prereq: Determinant Input: 2 Vectors Output: 1 Vector P is the vector perpendicular to the pa...
Getting Started part2
1. Make a good self introduction at the start of the interview ✅ Introduce yourself in a few ...
Getting Started
1] Read (and Reread) Carefully and Understand the Problem Putting the problem in your own words ...
Functions
Positional and Keyword Arguments Positional Arguments: Positional arguments are the most comm...
Tests Driven Development
from dataclasses import dataclass, field from enum import Enum class OrderStatus(Enum): ...
Built-in Methods
Instance Method vs Static Method Instance Methods (normal methods without declaring @) specifies...
Python Debugging
VSCode Shortcuts and Extensions
Serialization Formats
JSON import json import requests def main(): data = { 'username': 'james',...
Pathlib
from os import chdir from pathlib import Path def main() -> None: # current working di...