HSchroeder / VideosSampleCode

Code from the mCoding sample videos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains all the source code shown in my mCoding programming videos on YouTube.

All code in this repository is licensed under the open source MIT license. You don't need to ask permission to use it, feel free! It's not required, but I'd appreciate if you would link my YouTube channel if you used my code!

mCoding YouTube channel

mCoding website

N Code Video
0 src Dictionary Union (or/pipe operator) - New Feature in Python 3.9
1 src Doeblin Tree
2 src Goodbye, List! Type hinting standard collections - New in Python 3.9
3 src Relaxed restrictions on decorators - New feature in Python 3.9
4 src Empty Truth in Python
5 src Python Weirdness - The comma equals ,= operator?
6 src removeprefix and removesuffix string methods - New in Python 3.9
7 src Metadata in type annotations using Annotated - New in Python 3.9
8 src randbytes and printing garbage for fun - New in Python 3.9
9 src How to flatten a list | Basic Python Recipes
10 src Ordering dependencies with TopologicalSorter - New in Python 3.9
11 src 'and' and 'or' do NOT return bools in Python!
12 src Code that runs BEFORE you call a function | Python Weirdness
13 src Finding Your Largest Files | Basic Python Recipes
14 src Finding Primes in Python with the Sieve of Eratosthenes
15 src Writing a Turing Machine in Python Step by Step
16 src Why a list[Derived] is NOT a list[Base]
17 src Remove Unicode �? Characters from CSV files
18 src Detecting Cycles in Linked Lists Using the Tortoise and Hare Algorithm
19 src Stream Sample - Random Sampling a Read Once Stream | Neat Trick
20 src Cycles in Linked Lists Part 2 - Find the Start of the Cycle
21 src How Many Matches in a Single Elimination Tournament? | Challenge Question
22 src Solving Hard LeetCode Interview Questions | Median of Two Sorted Arrays
23 src Hard LeetCode Interview Question | Regular Expression Matching
24 src Merge K Sorted Lists using a C++ Heap | Hard LeetCode Interview Question
25 src Find the First Missing Positive Int | Hard Interview Question on LeetCode
26 src Turing Machine Example Program | Doubling Ones
27 src Trapping Rain in Python with Numpy | LeetCode Hard Interview Solution
28 src JSON Tutorial Python | Basic Python Recipes
29 src Simulating Brownian Motion in Python
30 src The Single Most Useful Decorator in Python
31 src The Fastest Way to Loop in Python - An Unfortunate Truth
32 src Numpy Broadcasting Explained
33 src Infinite Zoom on Brownian Motion with Chill Music (4k 60fps 10^541 Zoom)
34 src Chaos and Order - A Brownian Fractal Infinite Zoom to Classical Music
35 src How to find the Maximum Increasing Sum of a List
36 src Magic Methods - Making Python builtins work with your classes
37 src 50 Million Primes In 5 Seconds - Segmented Sieve of Eratosthenes
38 src Longest Increasing Subsequence - Python explanation
39 src The Hottest New Feature Coming In Python 3.10 - Structural Pattern Matching / Match Statement
40 src How Fast is Python's Sort? Performance Testing
41 src C++ First Missing Int, faster than 100%!
42 src Thank you for 100x-ing my channel in 2 weeks!
43 src [April Fools 2021] Python 4.0! New old print, mandatory static typing, StackOverflow integration
44 src Python dataclasses will save you HOURS, also featuring attrs
45 src C++ Sudoku Solver in 7 minutes using Recursive Backtracking
46 src Every PROOF you've seen that .999... = 1 is WRONG
47 src Python's sharpest corner is ... plus equals? (+=)
48 src Binary Search - A Different Perspective | Python Algorithms
49 src The Best Way to Check for Optional Arguments in Python
50 src Variable Lookup Weirdness in Python
51 src Efficient Exponentiation
52 src How To Install Python for Data Science
53 src 0.1 + 0.2 is NOT 0.3 in Most Programming Languages
54 src Can you BELIEVE all this new type hinting stuff? New in Python 3.10 - Part I
55 src The error messages Python always needed! New in Python 3.10 - Part II
56 src Introducing mZips! Python Zip and Zip Longest
57 src Python's New Match Statement is Tricky! Q&A
58 src Not all exceptions are Exceptions | Python Exceptions
59 src Python + YouTube API | Automating descriptions
60 src Mathematically Perfect Tongue Twisters | Python Linguistics
61 src Time to Hack - Cracking passwords using timing information | Secure Python
62 src Python f-strings can do more than you thought. f'{val=}', f'{val!r}', f'{dt:%Y-%m-%d}'
63 src Diagnose slow Python code. (Feat. async/await)
64 src MD5 - A broken secure hash algorithm | Python implementation
65 src A crypto breakfast: salt, pepper, and hash | Secure Python
66 src How an x becomes a bool in Python, C++, and C
67 src You should put this in all your Python scripts
68 src Skyline Problem with C++ Solution Explained
69 src A fun game show probability problem | Bonus cash stop riddle
70 src restrict: the only C keyword with no C++ equivalent
71 src Should you use "not not x" instead of "bool(x)" in Python?
72 src Multiple Assignments in Python
73 src Why does Python even allow this? Chained comparison jank.
74 src Automated Testing in Python with pytest, tox, and GitHub Actions
75 src You can pip install straight from GitHub
76 src __new__ vs __init__ in Python
77 src Mind-bending metaclasses - adding function overloads to Python
78 src The best way to keep your repos tidy.
79 src Which Python @dataclass is best? Feat. Pydantic, NamedTuple, attrs...
80 src Python __slots__, slots, and object layout
81 src Your code could be 2x faster! Gains from cache locality and branch predictability
82 src Avoiding import loops in Python
83 src 25 nooby Python habits you need to ditch
84 src Python's staticmethod and classmethod, what are they for?
85 no src Building a Python app with Anvil to email me if my website goes down
86 src 31 nooby C++ habits you need to ditch
87 no src A technical interview with the creator of C++, Bjarne Stroustrup
88 src Does std::endl fix your multithreaded prints? (C++)
89 src Analyzing Python Code from Python - AST Parsing and Custom Lint Checks
90 src The real purpose of Python's match statement, feat. CSTs
91 src Python lists remember what you did to them
92 src Pythonizing Imgui (feat. Cython)
93 src super, Python's most misunderstood feature.
94 src Positional-only and keyword-only arguments in Python
95 src Method Chaining Classes in Python
96 src Why do some Python classes inherit from object?
97 src Python's secret second argument to iter()
98 src Permutations - A Python itertools Algorithm
99 src sum(range(n)) != n(n+1)/2
100 src Python's most DISLIKED __dunder__ (and what to use instead)
101 src Use THIS for looping over several Python dictionaries
102 src How to use Python features from future versions!
103 src For loops are redundant
104 src Unlocking your CPU cores in Python (feat. multiprocessing)
105 src Python's creator wishes this feature never existed
106 src str/int: Controversial breaking change added to Python
107 src 8 things in Python you didn't realize are descriptors
108 src Python Generators

About

Code from the mCoding sample videos

License:MIT License


Languages

Language:Python 71.1%Language:C++ 17.4%Language:Jupyter Notebook 10.3%Language:C 0.6%Language:CMake 0.5%Language:Java 0.0%