-
C++ Variable Scope
-
C++ Operators
-
C++ Functions
-
C++ Arrays
-
C++ Strings
-
C++ Pointers
- What are Pointers?
- Using Pointers in C++
- Null Pointers
- Pointer Arithmetic
- Pointers vs Arrays
- Array of Pointers
- Pointer to Pointer
- Passing Pointers to Functions
- Return Pointer from Functions
-
C++ References
- References as Parameter
- Reference as Return Value
-
C++ Basic Input/Output
- The Standard Output Stream (cout)
- The Standard Input Stream (cin)
-
C++ Data Structures
- defining structures /Accessing Structure Members
- Structures as Function Arguments
- Pointers to Structures
The typedef Keyword
- Intro to C++ , input , output , Data types , operators
- Conditions and loops C++
- boolean expressions if(x)
- for loop and all it's forms change the initialization statement , after loop statement , while , do while
- nested loops
- Arrays,Strings in C++
- show the uninitialized array , all initialization ways , global array
- sort arrays using sort function
- Note: they used the .begin and . end without explaining the iterators
- how to create codeforces account and submit a problem
- vectors , strings (concatenate strings , substrings , s.length , getline), sort array using sort function
- reading from file , overflow and typecasting
- Approaching Problem Statement
- On papers Not on PC
- revision (ignore )
- Complexity analysis , algorithms correctness and performance , execution time and needed memory
- problem solving topics names
- more on time complexity use more than one algorithm to solve a problem and compare check prime loop to sqrt and to n
- Data preprocessing
- frequency array
- Prefix (Cumulative) Sum
- fast input code only
- partial sum (prefix sum) Range Update Queries ,
- more problems on complexity analysis and preprocessing
- string class member functions
- functions in c++ , pass by reference , passing arrays
- built in functions (explanation not good)
- sort , upper-bound , lower-bond , binary_search , fill , is_sorted , max_element , next_permutation ,
- Note binary search need to be explained before this week
- revision on prefix sum
- 2d prefix sum
- struct and pair , array of pairs , array of structs
- compare function using it in sorting
- number theory (prime numbers (Sieve of Eratosthenes) , divisibility rules , modular arithmetic , lcm , gcd )
- (Sieve of Eratosthenes) , (Prime Factorization) , divisibility (count of divisors)
- mod operations
- data structures (Stack , queue , Dequeue)
- queue example uses the idea of priority queue loop on the queue if the value == highest priority pop it out
- containers , iterators
- data structures (set , map , PQ)
- set bst explanation
-pq explanation not good
- set bst explanation
- containers , iterators
- extras (dr mostafa saad)
- bst
- heap
- hash table
- avl trees
- binary search (answer) , ternary search , linear search
- Two Pointers Technique
- sliding window Technique
- Introduction
- Conditions
- Loops
- Arrays
- Strings
- Functions
- Recursion
- Complexity analysis (Intro)
- STLs
- The Standard Template Library is a software library
- It provides four components called algorithms,
- sort , upper-bound , lower-bond , binary_search , fill , is_sorted , max_element , next_permutation ..etc
- containers
- Queue , Priority Queue , Stack , set , multiset , map
- functions, and iterators
- It provides four components called algorithms,
- STLs
- Complete Search (Backtracking)
- iterative
- recursive
- Greedy
- Static Range Queries (prefix sum)
- Binary Search & 2-Pointers
- Modular Arithmetic
- Binary Exponentiation
- Mod inverse using Fermat's little theorem
- Primes & Factors, GCD & LCM
- Sieve of Eratosthenes & Basics of Counting
- Dynamic memory (Pointers)
- What's an algorithms?
- Sorting Algorithms
- quicksort
- merge sort
- selection sort
- count sort
- bubble sort
- radix sort