Uploaded April 2024 | Updated November 2026, 1 hour ago
A video comparing one algorithm implemented in four different C++ standards: C++11, C++17, C++20 and C++23.
Final C++ Solution: godbolt.org/z/5esaKPhqT
Maximum Prime Difference: leetcode.com/problems/maximum-prime-difference/description
Tweet: twitter.com/code_report/status/1779975970759266568
Chapters:
0:00 Intro
0:39 Problem Explanation
2:41 C++11 Solution
3:49 C++17 Solution
4:00 C++20 Solution
5:10 C++23 Solution
5:33 Problem with C++23 std::ranges::find_last_if
6:42 Outro
Follow me on GitHub: github.com/codereport
Follow me on Twitter: twitter.com/code_report
Follow me on LinkedIn: linkedin.com/company/codereport
A video comparing one algorithm implemented in four different C++ standards: C++11, C++17, C++20 and C++23.
Final C++ Solution: godbolt.org/z/5esaKPhqT
Maximum Prime Difference: leetcode.com/problems/maximum-prime-difference/description
Tweet: twitter.com/code_report/status/1779975970759266568
Chapters:
0:00 Intro
0:39 Problem Explanation
2:41 C++11 Solution
3:49 C++17 Solution
4:00 C++20 Solution
5:10 C++23 Solution
5:33 Problem with C++23 std::ranges::find_last_if
6:42 Outro
Follow me on GitHub: github.com/codereport
Follow me on Twitter: twitter.com/code_report
Follow me on LinkedIn: linkedin.com/company/codereport










