Introduction - If you have any usage issues, please Google them yourself
Reversal of playing cards: playing cards are arranged on the table. Each time you reverse a certain range of cards, or ask the playing cards in a certain range are reversed several times. Using the line segment tree, you can process large-scale data (there are a lot of cards)