Blog
-
C++ MinMax Algorithms: std::min, max, minmax_element & clamp
Use std::min, max, minmax, min_element, max_element, minmax_element, and C++17 std::clamp — two-value vs range APIs, iterators, and performance notes.
-
C++ Numeric Algorithms Complete Guide | accumulate· reduce
Master C++ <numeric> algorithms: std::accumulate vs std::reduce (associativity, parallel policies), transform_reduce for map-reduce, inner_product.
-
C++ Partition Algorithms: partition, stable_partition &
Split ranges with std::partition and stable_partition; find boundaries with partition_point and is_partitioned.
-
C++ Algorithm Permutation | 'Permutation Algorithm' Guide
Generate lexicographic permutations with C++ next_permutation and prev_permutation. Explains sort-then-loop pattern and brute force/practical usage.
-
C++ Algorithm Problem Solving — Complete Guide
Cover 10 essential C++ algorithm coding test problems.
-
C++ async & launch | Complete Guide to std::async
std::async is a C++11 API that executes functions asynchronously and receives results via future.
-
C++ auto Type Deduction — Complete Guide
C++ auto type deduction guide. auto is a C++11 keyword that lets the compiler deduce variable types from initializers.
-
C++ Benchmarking: chrono, Warmup, Statistics, and Google
Benchmark C++ code reliably: high_resolution_clock, warmup runs, mean/median/stddev, Google Benchmark, and pitfalls like compiler elision and cache.
-
C++ Bridge Pattern Complete Guide
Complete C++ Bridge pattern guide.
-
C++ Crash Debugging Case Study
Production C++ server: intermittent segfaults traced with core dumps, gdb, and rr—how to debug “cannot reproduce” crashes and data races.