freya.sort

algorithms engineer

I make things O(n log n).

See my projects →New cohort of the algorithms course opens in March

Freya Lindgren·Algorithms engineer & educator

Five algorithms, one shuffled array. Counted in comparisons, not seconds.

projects

Solved problems

Products, courses and coaching — each one a problem worth sorting out properly.

Sorting, visualised★ 4.9
Course · teaching

Sorting, visualised

12,000 students

An interactive course on sorting and searching with 80 animated exercises.

2025
ICPC coachingWorld Finals
Coaching · contests

ICPC coaching

KTH team

Two seasons coaching a university team to the ICPC World Finals.

2024
Algorithms, gently2nd edition
Book · teaching

Algorithms, gently

No Starch Press

An illustrated book on algorithms for working developers.

2023
Route optimiser−18% km
Graphs · optimisation

Route optimiser

Nordlast Logistics

Vehicle routing with time windows for 400 vans a day.

2022
Shuffle auditχ² verified
Probability · fairness

Shuffle audit

Kortspel AB

Proved and tested the fairness of an online card game's shuffle.

2021
graphkit40 algorithms
Library · graphs

graphkit

Open source · 3.4k ★

A teaching-friendly graph library with step-by-step traces.

2020
Algorithms for kids3,000 pupils
Workshops · teaching

Algorithms for kids

Stockholm schools

Unplugged workshops that teach sorting with LEGO and cards.

2019
Interview kit92% offers
Platform · coaching

Interview kit

Freelance

A mock-interview platform with graded problems and hints.

2018
services

Sorted by size

Algorithms for products, and for people learning them — sorted by how much you need.

Office hours

Per hour · €120 — One-to-one help with a problem, a proof or an interview.

Team workshops

Per day · €2,400 — Algorithms and data structures for working engineers.

Algorithm design

From · €9k — Routing, scheduling and matching, designed and benchmarked.

Course production

From · €18k — Interactive courses with animated exercises and graded problems.

complexity

How it grows

The textbook curves on a log scale, with the comparisons your last race actually made plotted on top. Slide n and watch n² run away.

n =64
skills

The bars are my skills

Pick an algorithm and watch it sort what I know, one comparison at a time.

    how I work

    One pass at a time

    1. Draw the problem

      Sketches and tiny examples until the structure is obvious.

    2. Find the invariant

      What must stay true at every step — that's the algorithm.

    3. Benchmark honestly

      Real inputs, worst cases and the constants Big-O hides.

    4. Teach it back

      Docs, diagrams and a session so your team owns it.

    Freya Lindgren
    Freya Lindgren · Algorithms engineer & educator
    about

    I explain algorithms until they're obvious.

    I'm Freya, an algorithms engineer and teacher in Stockholm. I've built routing and scheduling systems for logistics companies and taught algorithms to more than twelve thousand people.

    I believe every algorithm can be drawn. I prototype with pictures, prove with invariants and ship with benchmarks.

    Graph algorithmsOptimisationPythonC++Visual teaching
    12kstudents taught
    2×ICPC World Finals
    40algorithms animated
    code review

    In their own words

    Freya's routing cut 18% of our kilometres in the first month — and she taught our team how it works.
    Anders HolmCOO, Nordlast
    The first course where recursion finally clicked for me.
    Priya NairStudent
    She took our team from regionals to the World Finals in two seasons.
    Erik SjöbergTeam captain, KTH
    clients

    Problems I've sorted

    • Nordlast Logistics
    • KTH
    • Kortspel AB
    • No Starch Press
    • Stockholm schools
    • Vasa Rail
    • Polar Health
    • Kodcentrum

    talks & awards

    2025Every algorithm can be drawnTalk · Øredev
    2024Teacher of the YearSwedish CS Education Awards
    2023ICPC Coach AwardNorthwestern Europe
    2010Gold medalNordic Olympiad in Informatics
    contact

    Bring me a hard problem

    Tell me what you're trying to sort out — a product problem, a course or a team to train. I reply within a day.

    Based in
    Stockholm, Sweden · remote
    Phone
    +46 8 000 0006
    Local time
    · local
    Elsewhere
    InstagramBehanceDribbbleLinkedIn
    I'd like
    Start

    Made withSitesfareReport