- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
Algorithms in C/C++
Searching, sorting, recursion and bit tricks, implemented side by side in C and C++.
- Lesson 1 challenge Linear Search Find a target in unsorted data.
- Lesson 1 challenge Binary Search Search sorted data in logarithmic time.
- Lesson 1 challenge Bubble Sort Sort by repeatedly swapping adjacent inversions.
- Lesson 1 challenge Quick Sort Partition values around a pivot.
- Lesson 1 challenge Merge Sort Use divide and conquer for predictable O(n log n) sorting.
- Lesson 2 challenges Recursion and the Call Stack Solve a problem by reducing it to a smaller instance.
- Lesson 2 challenges Bit Manipulation Set, clear, toggle, and test individual flags.