- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AINeural 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 Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++
- ChallengesNew
C/C++ practice problems
Classic beginner exercises on numbers, text and arrays, solved in both C and C++, each with a challenge to try on your own.
Start the path →1 Numbers and digits 8 lessons
- Lesson 2 challenges Check a Prime Number Determine whether an integer is prime.
- Lesson 1 challenge Fibonacci Sequence Generate the first ten Fibonacci numbers.
- Lesson 1 challenge Calculate a Factorial Calculate a factorial with an iterative loop.
- Lesson 2 challenges Greatest Common Divisor Find the greatest common divisor of two integers.
- Lesson 1 challenge Check a Leap Year Determine whether a year is a leap year.
- Lesson 1 challenge Decimal to Binary Convert a positive decimal integer to binary.
- Lesson 1 challenge Temperature Converter Convert Celsius to Fahrenheit.
- Lesson 1 challenge Simple Calculator Apply an arithmetic operator to two numbers.
2 Text problems 5 lessons
- Lesson 1 challenge Reverse a String Reverse text without changing its characters.
- Lesson 1 challenge Check a Palindrome Check whether a word reads the same in both directions.
- Lesson 1 challenge Count Vowels Count vowels in a line of text.
- Lesson 1 challenge Count Words Count whitespace-separated words in a sentence.
- Lesson 1 challenge Character Frequency Count occurrences of each lowercase letter.
3 List problems 5 lessons
- Lesson 1 challenge Sum Array Values Calculate the sum of all values in an array.
- Lesson 2 challenges Find the Largest Array Value Find the maximum value in an array.
- Lesson 1 challenge Find the Second Largest Value Find the second distinct largest array value.
- Lesson 1 challenge Remove Duplicate Values Remove repeated array values while preserving order.
- Lesson 2 challenges Transpose a Matrix Exchange matrix rows and columns.