https://techaid24.com/wp-content/uploads/2020/10/The-Longest-substring-in-ascending-order-and-compute-the-average.png