Recently Updated Pages
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...
Dot Product
Dot Product Dot Product can be used to Find out if vector point in the same direction, perpe...
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...
Documentation Practices
Style Guides
Pep8 Google Style Guide https://google.github.io/styleguide/pyguide.html
Data Types
Built-in Data Types In programming, data type is an important concept. Variables can store data...
Parallel Programming
https://www.youtube.com/watch?v=X7vBbelRXn0 High performance programming Multiprocessing Pros ...
Behavourial
Observer / PubSub It's common for different components of an app to respond to events or state c...
Q and A
Here are some questions that interviewers may ask to test your basic knowledge of object oriented...
Refactor
https://www.youtube.com/watch?v=s_4ZrtQs8Do """ Basic video exporting example """ import pa...
Concepts
Objects are representation of real world entities Data/attributes Behavior Classes a...