Skip to content
bbminfo – Learn from Scratch
◎ English
  • English
  • Français
  • Deutsch
  • Italiano
  • Español
  • Dansk
  • Svenska
  • Norsk bokmål
  • Magyar
  • Português
  • Русский
  • Română
  • Slovenčina
  • 日本語
  • 简体中文
  • العربية
  • हिन्दी
  • தமிழ்
  • తెలుగు
  • ಕನ್ನಡ
  • മലയാളം
  • ગુજરાતી
  • বাংলা
  • मराठी
Subjects Code examples Library reference
Computer Programming Python Java C++ C Go PHP Kotlin Ruby R Scala Groovy Rust Dart Mojo Zig Julia Swift C# JavaScript TypeScript

Tutorial menu

Subjects

Computer Programming MathsPlanned ChemistryPlanned

Lesson contents

Programming resources

All languages Code examples Library reference

Programming languages

Python Java C++ C Go PHP Kotlin Ruby R Scala Groovy Rust Dart 🔥 Mojo Zig Julia Swift C# JavaScript TypeScript
Tutorials/Computer Programming/C#/Data structures

C# — Data structures

Learn to organise, search and update data. Start with a small program, then use the same idea to solve three everyday problems in each lesson.

Foundations

  • Choosing a data structure›
  • Arrays and positions›
  • Growing arrays›
  • Grids and matrices›
  • Counting work and Big O›

Links and order

  • Singly linked lists›
  • Doubly linked lists›
  • Circular linked lists›
  • Stacks›
  • Queues›
  • Double-ended queues›
  • Circular buffers›
  • Recursion and the call stack›

Keys and groups

  • Hash maps and collisions›
  • Sets and set operations›

Trees and indexes

  • Trees and traversals›
  • Binary search trees›
  • Balanced trees and AVL rotations›
  • Heaps and priority queues›
  • Tries and prefix search›
  • B-trees and multiway indexes›

Networks and connections

  • Graphs and adjacency lists›
  • Breadth-first search›
  • Depth-first search›
  • Prerequisites and topological ordering›
  • Weighted shortest paths›
  • Disjoint sets and union–find›
  • Backtracking and undoing a choice›
  • Connecting every stop at minimum total cost›

Finding and sorting

  • Linear search›
  • Binary search›
  • Bubble sort›
  • Insertion sort›
  • Selection sort›
  • Quicksort›
  • Merge sort›

Range queries and combined structures

  • Prefix sums›
  • Fenwick trees›
  • Segment trees›
  • Combining a map and a list for a cache›
  • Project — build a fair checkout queue›

C# — Programming tutorials

Environment setup› Core lessons› Library reference› Data structures› Code examples›
Advertisements
bbminfo – Learn from Scratch
© 2026 bbminfoArtwork creditsPrivacy policy