[Triangle]
[Populating Next Right Pointers in Each Node]
[Best Time to Buy and Sell Stock II]
[Best Time to Buy and Sell Stock] better solution