NeetCode 150 solutions, C++
"The way is long, and difficult the road" [1]
[1] The Inferno, Canto XXXIV