Python basics
Small exercises with loops, conditions, functions, number problems, and patterns.
A learning log · built one problem at a time
A growing collection of Python practice — from the fundamentals to sorting and two-pointer problems. This is where I work through ideas, keep my progress visible, and build a guide for my future self.
The collection
Browse by topic, or search for a concept or example.
Small exercises with loops, conditions, functions, number problems, and patterns.
Compare classic sorting approaches and explore an early-exit bubble sort.
Practise moving through sequences from both ends to find useful pairs.
Work with key-value data, build dictionaries, and combine their contents.
Explore everyday string operations, transformations, and formatting.
Experiments with list comprehensions, variable arguments, and object-oriented code.
A small, playful example of wrapping a function to add behaviour.
No topics match that search. Try another word.
A simple route through the repo
Start with functions, loops, conditions, and small programs in Python-Basic.
Practise with strings, dictionaries, and sorting algorithms.
Apply two-pointer ideas to pair-sum and Two Sum exercises.
Ideas for future practice
A possible path forward — these are planned topics, not finished solutions in this repo.
Think about time and space, then practise array traversals.
Use dictionaries for lookups and frequency counting.
Search sorted data by repeatedly narrowing the range.
Learn their core operations and common use cases.