Just use a library, but those who can implement the library are better than the ones who can't. And that's what leetcode aims to distinguish.
You thought the point of leetcode was to simulate live work conditions? lol
You thought the point of leetcode was to simulate live work conditions? lol