Skip to content
CS-HTIEW
210
Polski
Initializing search
CS-HTIEW
Computer Science: Hard Topics in Easiest Way
Contact
Lesson scenarios
Lesson scenarios
Introduction to algortihms
Introduction to algortihms
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Introduction to variables
Introduction to variables
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Introduction to functions
Introduction to functions
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Introduction to recursion
Introduction to recursion
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Programming topics
Programming topics
Introduction to Python 3
Introduction Ruby
Introduction Ruby on Rails
Computer Science didactics
Computer Science didactics
Discussion of the core curriculum
Remote learning
Programming in school
Making fool of teachers
What for
Open source software
Gamification
Subject competition
Algorithmics - creative thinking
Algorithms
Algorithms
Introduction
Introduction
Linear algorithms
Algorithm representation
Conditional statement
Conditional loop
Iterative loop
Variables
Functions
Complexity
Exercises
Searching
Searching
Linear search
Binary search
Searching for min or max
Searching for both min and max
Finding majority element
Longest growing substring
Sum of two numbers
Prefix sums
Backtracking
Backtracking
N queens problem
Knight tour
Permutations
Sorting
Sorting
Selection sort
Insertion sort
Counting sort
Bubble sort
Merge sort
Heap sort
Quick sort
Gnome sort
Cocktail-shaker sort
Comb sort
Odd-even sort
Shell sort
Stooge sort
Slow sort
Algorithms on integers
Algorithms on integers
All divisors
Prime test
Perfect test
Prime factors
Eratosthenes sieve
Segment sieve
Euclides algorithm
Extended Euclides algorithm
Fibonacci numbers
Problem bankomatu
Problem bankomatu
Greedy solution
Dynamic solution
Double factorial
Subfactorial
Primorial
Superfactorial
Numeral systems
Numeral systems
System binarny
Operacje bitowe
Konwersja pomiędzy systemami
System U2
Zapis stałoprzecinkowy
Zapis zmiennoprzecinkowy
Numerical methods
Numerical methods
Horner scheme
Square root
Numerical integration
Simpson integration
Fast exponentiale
Monte Carlo method
Text
Text
Palindrome
Anagrams
Naive substring search
Odwrotna Notacja Polska
Longest common subsequence
Hamming distance
Levenshtein "edit" distance
Coding and compression
Coding and compression
ASCII codes
Huffman codes
Cryptography
Cryptography
Symmetric encryption methods
Symmetric encryption methods
Caesar cipher
Vigenere cipher
Rail-fence cipher
Playfair cipher
ROT13 cipher
Beauforta cipher
Trithemius cipher
Assymetric cryptography
Assymetric cryptography
RSA
Matrix
Matrix
The determinant of a 3x3 matrix
2D geometry
2D geometry
Triangle condition
Point from line distance
Point on segment
Segment crossing
Fractals
Fractals
Binary tree
Sierpiński triangle
Sierpiński square
Koch curve
Koch snowflake
Peano curve
Dragon curve
Minkowski Sausage
Cantor dust
Data structures
Data structures
Stack
Queue
Singly linked list
Double linked list
Disjoint set union
Binary search trees
Segment trees
Fenwick trees
Graphs
Graphs
DFS
Connected components
Strongly connected components
BFS
Dijkstra
Floyd-Warshall
Prim
Kruskal
Topological sort
Flood fill
Programming
Programming
Pascal
Pascal
Algorithms
Algorithms
Searching
Searching
Linear search
C++
C++
Introduction
Introduction
Template
Introduction to variables
Basic types of variables
Arithmetic operations
Mathematical functions
Input/output - streams
Files - streams
Conditional statement
Conditional loop
Iterative loop
Static arrays
Functions
Input/output - printf and scanf
Bitwise operations
Pointers
Exceptions
OOP
OOP
Structures
Classes
Enumerations
Operators overloading
Templates
Namespaces
Abstract classes
Casting
STL
STL
Sorting
Static array
Dynamic arrays
Lists
Stack
Queue
Set
Map
Command-line compilation
Exercises
Exercises
Handling input/output
Handling input/output
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Solution 8
Conditional statement
Conditional statement
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Conditional loop
Conditional loop
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Iterative loop
Iterative loop
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Solution 8
Tablice statyczne
Tablice statyczne
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Functions
Functions
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
STL
STL
Solution 1
Solution 2
Object oriented programming
Simulations
Simulations
Wężyk
Robot w labiryncie
Prosta ścieżka w labiryncie
Labirynt
Labirynt - szablon
Rekurencja w labiryncie
Saper
Algorithms
Algorithms
Searching
Searching
Linear search
Binary search
Searching for min or max
Searching for both min and max
Finding majority element
Longest growing substring
Sum of two numbers
Prefix sums
Backtracking
Backtracking
N queens problem
Knight tour
Sorting
Sorting
Selection sort
Insertion sort
Counting sort
Bubble sort
Merge sort
Heap sort
Quick sort
Gnome sort
Cocktail-shaker sort
Comb sort
Odd-even sort
Shell sort
Stooge sort
Slow sort
Algorithms on integers
Algorithms on integers
All divisors
Prime test
Perfect test
Prime factors
Eratosthenes sieve
Segment sieve
GCD
Extended Euclides algorithm
Fibonacci numbers
Change
Numeral systems
Numeral systems
Base conversion
Numerical methods
Numerical methods
Horner scheme
Square root
Numerical integration
Simpson integration
Fast exponentiale
Monte Carlo method
Text
Text
Palindrome
Anagrams
Naive substring search
RPN
Longest common subsequence
Hamming distance
Levenshtein "edit" distance
Coding and compression
Coding and compression
ASCII codes
Huffman codes
Cryptography
Cryptography
Caesar cipher
Vigenere cipher
Rail-fence cipher
Playfair cipher
ROT13 cipher
Beauforta cipher
Trithemius cipher
Matrix
Matrix
The determinant of a 3x3 matrix
2D geometry
2D geometry
Triangle condition
Point from line distance
Point on segment
Segment crossing
Fractals
Fractals
Binary tree
Sierpiński triangle
Sierpiński square
Koch curve
Koch snowflake
Peano curve
Dragon curve
Minkowski Sausage
Cantor dust
Data structures
Data structures
Stack
Queue
Singly linked list
Double linked list
Disjoint set union
Binary search trees
Segment trees
Fenwick trees
Graphs
Graphs
DFS
Connected components
BFS
Dijkstra
Floyd Warshall
Prim
Kruskal
Topological sort
Flood Fill
Python 3
Python 3
Introduction
Introduction
Comments
Variables
Operators
Input/Output
Conditional statement
Loops
Lists
Tuples
Dictionaries
Functions
Files
Performance
Classes
Exercises
Exercises
Handling input/output
Handling input/output
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Solution 8
Conditional statement
Conditional statement
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Conditional loop
Conditional loop
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Iterative loop
Iterative loop
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Solution 8
Lists
Lists
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Solution 8
Functions
Functions
Solution 1
Solution 2
Solution 3
Simulations
Simulations
A*
Algorithms
Algorithms
Searching
Searching
Linear search
Binary search
Searching for min or max
Searching for both min and max
Finding majority element
Longest growing substring
Sum of two numbers
Prefix sums
Backtracking
Backtracking
N queens problem
Knight tour
Permutations
Sorting
Sorting
Selection sort
Insertion sort
Counting sort
Bubble sort
Merge sort
Heap sort
Quick sort
Gnome sort
Cocktail-shaker sort
Comb sort
Odd-even sort
Shell sort
Stooge sort
Slow sort
Algorithms on integers
Algorithms on integers
All divisors
Prime test
Prime factors
Perfect test
Eratosthenes sieve
Segment sieve
Euclides algorithm
Extended Euclides algorithm
Fibonacci numbers
Change
Double factorial
Subfactorial
Primorial
Superfactorial
Numeral systems
Numeral systems
Base conversion
U2 conversion
Numerical methods
Numerical methods
Horner scheme
Square root
Numerical integration
Simpson integration
Fast exponentiale
Monte Carlo method
Text
Text
Palindrome
Anagrams
Naive substring search
RPN
Longest common subsequence
Hamming distance
Levenshtein "edit" distance
Coding and compression
Coding and compression
ASCII codes
Huffman codes
Cryptography
Cryptography
Caesar cipher
Vigenere cipher
Rail-fence cipher
Playfair cipher
ROT13 cipher
Beauforta cipher
Trithemius cipher
Matrix
Matrix
The determinant of a 3x3 matrix
2D geometry
2D geometry
Triangle condition
Point from line distance
Point on segment
Segment crossing
Fractals
Fractals
Binary tree
Sierpiński triangle
Sierpiński square
Koch curve
Koch snowflake
Peano curve
Dragon curve
Minkowski Sausage
Cantor dust
Data structures
Data structures
Stack
Queue
Singly linked list
Double linked list
Disjoint set union
Drzewo przeszukiwań binarnych
Segment trees
Graphs
Graphs
DFS
Connected components
BFS
Dijkstra
Floyd-Warshall
Prim
Kruskal
Topological sort
Flood fill
Data science
Data science
Pandas
Pyplot
Seaborn
Blockly
Blockly
Blockly games
Blockly games
Maze
Bird
Turtle
Animation
Pond tutorial
Algorithms
Algorithms
Searching
Searching
Searching for min or max
Linear search
Binary search
Sorting
Sorting
Selection sort
Counting sort
Algorithms on integers
Algorithms on integers
GCD
LCM
Fractals
Fractals
Binary tree
Sierpiński triangle
Sierpiński square
Koch curve
Koch snowflake
Peano curve
Dragon curve
Minkowski Sausage
Cantor dust
C
C
Introduction
Introduction
Handling input/output
Structures
Enumerations
Projects
Command line compilation
Input as parameters
Algorithms
Algorithms
Searching
Searching
Linear search
Binary search
Searching for min or max
Searching for both min and max
Finding majority element
Longest growing substring
Sum of two numbers
Prefix sums
Structures
Structures
Stack
Queue
Dart
Dart
Algorithms
Algorithms
Searching
Searching
Linear search
Elixir
Elixir
Algorithms
Algorithms
Searching
Searching
Linear search
Go
Go
Algorithms
Algorithms
Searching
Searching
Linear search
Haskell
Haskell
Algorithms
Algorithms
Searching
Searching
Linear search
Binary search
Searching for min or max
Sum of two numbers
Algorithms on integers
Algorithms on integers
All divisors
Prime test
Perfect test
Prime factors
Euclides algorithm
Fibonacci numbers
JavaScript
JavaScript
Algorithms
Algorithms
Searching
Searching
Linear search
Julia
Julia
Algorithms
Algorithms
Searching
Searching
Linear search
Binary search
Searching for min or max
Searching for both min and max
Finding majority element
Longest growing substring
Backtracking
Backtracking
N queens problem
Sorting
Sorting
Bubble sort
Merge sort
Quick sort
Numerical methods
Numerical methods
Fast exponentiale
Monte Carlo method
Kotlin
Kotlin
Algorithms
Algorithms
Searching
Searching
Linear search
Binary search
Searching for min or max
Searching for both min and max
Finding majority element
Longest growing substring
Sum of two numbers
Backtracking
Backtracking
N queens problem
Permutations
Sorting
Sorting
Selection sort
Insertion sort
Counting sort
Bubble sort
Merge sort
Heap sort
Quick sort
Gnome sort
Cocktail-shaker sort
Comb sort
Odd-even sort
Algorithms on integers
Algorithms on integers
All divisors
Prime test
Prime factors
Perfect test
Eratosthenes sieve
GCD
Fibonacci numbers
Numerical methods
Numerical methods
Numerical integration
Lua
Lua
Algorithms
Algorithms
Searching
Searching
Linear search
Simulations
Simulations
Gra w życie
Rust
Rust
Algorithms
Algorithms
Searching
Searching
Linear search
Scheme
Scheme
Algorithms
Algorithms
Searching
Searching
Linear search
Swift
Swift
Algorithms
Algorithms
Searching
Searching
Linear search
TypeScript
TypeScript
Algorithms
Algorithms
Searching
Searching
Linear search
Visual Basic
Visual Basic
Algorithms
Algorithms
Searching
Searching
Linear search
Algorytmika - zadania
Algorytmika - zadania
Level 0
Level 0
Comparing numbers
Comparing numbers
Pseudocode
Block diagram
Python
C++
Blockly
Cutting costs
Cutting costs
Pseudocode
Block diagram
Packing for the vacations
Packing for the vacations
Pseudocode
Block diagram
Szkolna fizyka
Level 1
Level 1
Automated Checking Machine
Automated Checking Machine
Solution C++
Solution Python
Search the Khoj
Search the Khoj
Solution C++
Solution Python
Strategy Game
Strategy Game
Solution C++
Solution Python
Ultimate Mango Challenge
Ultimate Mango Challenge
Solution C++
Solution Python
Sum of odd
Different digits
Sequence differences
Sale
Permutation
Newspaper
Image coding
Brackets
Byte warriors
Robot
Level 2
Level 2
Board game
Combination lock
Snail
Numbers game
Level 3
Level 3
Andy First Dictionary
Andy First Dictionary
Solution C++
Babelfish
Babelfish
Solution C++
Solution Python
Genes
Genes
Solution C++
Solution Python
Hay Points
Hay Points
Solution C++
Solution Python
List of Conquests
List of Conquests
Solution C++
Solution Python
Password Search
Password Search
Solution C++
Solution Python
Slogan Learning of Princess
Slogan Learning of Princess
Solution C++
Solution Python
Unique Snowflakes
Unique Snowflakes
Solution C++
Solution Python
Word Index
Word Index
Solution C++
SZKOpuł
SZKOpuł
10 Wspaniałych
10 Wspaniałych
C++
210
210
C++
Python
Akcje
Akcje
C++
Anagrams
Anagrams
None
C++
Astronom Janusz
Astronom Janusz
C++
Awantura o czapki
Awantura o czapki
C++
Gra
Gra
C++
Kamyki
Kamyki
C++
Pikieta
Pikieta
C++
Tarasy
Tarasy
C++
Olimpiada Informatyczna Juniorów
Olimpiada Informatyczna Juniorów
... albo psikus!
... albo psikus!
C++
Python
Basen
Basen
C++
Bierki
Bierki
C++
Python
H4x0r
H4x0r
C++
Python
Skarpetki
Skarpetki
C++
Wynik meczu
Wynik meczu
C++
Zmiennoliterowe słowo
Zmiennoliterowe słowo
C++
Olimpiada Informatyczna
Olimpiada Informatyczna
Anagrams
Anagrams
None
C++
Python
Gra w dzielniki
Gra w dzielniki
C++
Gra w minima
Gra w minima
C++
Minusy
Minusy
C++
Python
Potyczki Algorytmiczne
Potyczki Algorytmiczne
A+B
A+B
C++
Learning programming through game development
Learning programming through game development
Python 3
Python 3
Introduction
Introduction
Silly game
Dice simulator
Guessing game
2d games - Pygame Zero
2d games - Pygame Zero
Catch the Sun
Hungry pig
Flappy Bird
Pong
Asteroids
Cosmos
Idle game
2D games - pixelpad.io
2D games - pixelpad.io
Fruit Ninja
Online games
Online games
Echo
Artificial intelligence
Artificial intelligence
Gra w monety z AI
Lua
Lua
Hungry pig
Asteroids
Flying plane
JavaScript
JavaScript
Hungry pig
Catch the alien
Computer graphics
Computer graphics
Color Spaces
Gimp
Gimp
Tutorials
Tutorials
Vintage effect
Color reveal
Web desing
Web desing
CSS
Spreadsheet
Spreadsheet
Auto-fill
Addressing
Pivot table
VBA
VBA
Exercises
Exercises
Basics
Basics
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Solution 8
Advanced
Advanced
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Databases
Databases
Introduction
Introduction
Datatypes
Relations
SQL
SQL
JOIN
JOIN
JOIN
Exercises
Exercises
SELECT
SELECT
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Solution 8
Solution 9
WHERE
WHERE
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Solution 8
Solution 9
Solution 10
ORDER BY
ORDER BY
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
JOIN
JOIN
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Solution 7
Solution 8
Solution 9
Solution 10
GROUP BY
GROUP BY
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Linux
Linux
Introduction to Linux
Folders
Files
Permissions
Processes
Grep
Bash
Bash
Handling input/output
Math
Commands
Files
Conditional statement
AWK
AWK
Wyrazy
Conditional statement
Blocks
Loops
Perl
Perl
Handling input/output
Arrays
Conditional statement
Loops
Files
Fork
Networking
Networking
Glossary
Network topology
OSI model
Network addressing
Protocols
Protocols
IP protocol
DHCP
TCP and UDP
HTTP and HTTPS
DNS
E-mail communication protocols
FTP
SSH
Wireshark
Wireshark
HTTP Requests
HTTPS connections
Ethical hacking
Ethical hacking
Tools
Tools
Nmap
Netcat
Tcpdump
Metasploit
Aircrack-ng
John the Ripper
Hashcat
Hydra
Binwalk
SQLmap
Steghide
Stegosuite
Volatility
Snort
Nikto
CTF
Password
Artificial intelligence
Artificial intelligence
Other topics
Other topics
Copyright
Fake news and post truth
Computer design
Typical computer problems
Principles for creating presentations
Introduction to functional programming
Computer science high school exam
Computer science high school exam
Preparation
Preparation
Algorithmics
Algorithmics
Pseudocode analysis
Pseudocode analysis
Exercise 1
Exercise 1
Solution 1
Solution 2
Solution 3
Exercise 2
Exercise 2
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Exercise 3
Exercise 3
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Exercise 4
Exercise 4
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Exercise 5
Exercise 5
Solution 1
Solution 2
Solution 3
Exercise 6
Exercise 6
Solution 1
Solution 2
Recursion
Recursion
Exercise 1
Exercise 1
Solution 1
Solution 2
Solution 3
Solution 4
Exercise 2
Exercise 2
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Exercise 3
Exercise 3
Solution 1
Solution 2
Solution 3
Exercise 4
Exercise 4
Solution 1
Solution 2
Solution 3
Exercise 5
Exercise 5
Exercise 6
Exercise 6
Exercise 7
Exercise 7
Solution 1
Solution 2
Solution 3
Solution 4
Simulations
Simulations
Huffman codes
Huffman codes
Solution 1
Solution 2
Tree of arithmetic expressions
Tree of arithmetic expressions
Solution 1
Solution 2
Solution 3
Reverse Polish notation
Reverse Polish notation
Solution 1
Solution 2
Monte Carlo method
Monte Carlo method
Numerical integration
Numerical integration
List of numbers
List of numbers
Rozwiązania
Triangular numbers
Triangular numbers
Odpowiedzi
Niven numbers
Niven numbers
Odpowiedzi
Gnomic numbers
Gnomic numbers
Odpowiedzi
Programming
Programming
Binary numbers
Binary numbers
Solution - C++
Solution - Python
Fractions
Fractions
Odpowiedzi
Rozwiązania
Butterfly
Butterfly
Odpowiedzi
Rozwiązania
Circle and square
Circle and square
Odpowiedzi
Rozwiązania
Brackets
Brackets
Odpowiedzi
Solution - C++
Solution - Python
Duplicates
Duplicates
Odpowiedzi
Rozwiązania
Names
Names
Odpowiedzi
Solution - C++
Solution - Python
Sequences
Sequences
Odpowiedzi
Solution - C++
Solution - Python
Integers
Integers
Odpowiedzi
Rozwiązania
Groceries
Groceries
Odpowiedzi
Points
Points
Odpowiedzi
Maze
Maze
Odpowiedzi
Solution - Python
Rectangles
Rectangles
Odpowiedzi
Solution - Python
Dates
Dates
Odpowiedzi
Rozwiązania
Morse Alphabet
Morse Alphabet
Odpowiedzi
Spreadsheet
Spreadsheet
Shop
Shop
Odpowiedzi
Solution
Fruits
Fruits
Odpowiedzi
Solution
Colours
Colours
Solution
Games
Games
Odpowiedzi
Solution
Pokomons
Pokomons
Solution
River
River
Solution
Books
Books
Solution
Bakery
Bakery
Odpowiedzi
Solution
Restaurant
Restaurant
Odpowiedzi
Database
Database
Vampires
Vampires
Odpowiedzi
Solution
Commandos
Commandos
Odpowiedzi
Solution
Shop
Shop
Odpowiedzi
Solution
SQL
SQL
Shop
Shop
Solution
Commandos
Commandos
Solution
Repetition
Repetition
Repetition 1
Repetition 1
Rozwiązania
Arkusze i rozwiązania
Arkusze i rozwiązania
2010
2010
Rozwiązania
2011
2011
Rozwiązania
2012
2012
Rozwiązania
2013
2013
Rozwiązania
2014
2014
Rozwiązania
2015
2015
Rozwiązania
2016
2016
Rozwiązania
2017
2017
Rozwiązania
2017 - czerwiec
2017 - czerwiec
Rozwiązania
2018
2018
Rozwiązania
2019
2019
Rozwiązania
2020 - próbna CKE
2020 - próbna CKE
Rozwiązania
2020
2020
Rozwiązania
2021 - próbna CKE
2021 - próbna CKE
Rozwiązania
2021
2021
Rozwiązania
2022 - próbna CKE
2022 - próbna CKE
Rozwiązania
2022
2022
Rozwiązania
2023
2023
Rozwiązania
2023 - czerwiec
2023 - czerwiec
Rozwiązania
Pytania zamknięte
Studies
Studies
Podstawy algorytmiki i programowania
Useful links
Useful links
Przewodnik po informatyce
Programming course from Harvard
Informatyka dla Jasia i Joasi
CS Unplugged
VisuAlgo
Visul
Hello World
Cheat sheets
Programming notes for professionals
Moral Machine
Phishing Quiz
Virus Simulation
Algorithmic exercises
Useful tools
Useful tools
CodeShare
Replit
Ideone
Table of contents
Treść zadania
210
¶
Treść zadania
¶
210
Was this page helpful?
Thanks for your feedback!
Thanks for your feedback!
Back to top