That's an interesting point.
Monero Difficulty Adjustment
Yes, Monero (XMR) has a difficulty adjustment mechanism. The difficulty adjusts with each block, examining the block times of the previous 720 blocks, excluding the 60 highest and lowest block times, which leaves 600 blocks for analysis. The average block time is then used to adjust the difficulty proportionally to target a 120-second block time.
The adjustment algorithm is designed to ensure that the network difficulty is appropriate for the current hashrate, maintaining a consistent block time despite fluctuations in mining power. This helps to stabilize the network and prevent sudden changes in difficulty that could disrupt mining operations.