Data structures & algorithms
Find the pattern.Make sense of the problem before reaching for the code. Trace the work, defend the cost, and design a better solution.
Programming tutorials and courses by Navan Sami. Learn Python, Rust, JavaScript, C, data structures and algorithms, machine learning, and AI engineering with original explanations and worked examples.
Find your way in ↓Each track has its own lessons, search, and progress log. Choose a reading path or a practical workbench, and start where you need to.
Make sense of the problem before reaching for the code. Trace the work, defend the cost, and design a better solution.
A theory-led Python course from your first statement to files, data, documents, and automation. Detailed explanations, worked examples, and 101 optional experiments.
A full theory-led route through Rust's types, ownership, traits, concurrency, and async work. Long explanations and annotated code, with the cookbook kept separate.
A theory-led reading course on values, scope, identity, asynchronous work and the browser. Small examples, clear mental models, your own pace.
A theory-led reading course through types, arrays, pointers, memory, structures, streams, and portability. Long explanations with C17 examples and a labelled POSIX chapter.
A beginner-first reading course from Python and data basics to supervised models, text, evaluation, fairness, and deployment. Long explanations, original diagrams, and a separate worked cookbook.
A theory-led route from the first model call to evaluation, prompting, retrieval, agents, data, cost, and trustworthy live applications. Original diagrams and a complete local cookbook.
The Rust cookbook takes you through complete local projects: HTTP servers, a JSON API, instant chat, SQLite tools, a native desktop app, Tauri notes, and a reusable library.
Open the Rust cookbook ↗The machine learning cookbook explains complete Python workflows: baselines, mixed data, regression, text, clustering, model tuning, and a trusted saved pipeline. The code is a reference to read, with no exercises or experiments.
Open the ML cookbook ↗The AI engineering cookbook explains complete local Python workflows for model contracts, retrieval, evaluation, bounded tools, security, cost, and release decisions. Read the code and the reasoning without an account or exercises.
Open the AI cookbook ↗Start with the model, the boundaries, and the reason the idea works.
Trace examples, run the workbooks, and try the edge cases.
Turn lessons into tools, applications, and decisions you can explain.