I recently started grinding Leetcode to help improve my abilities. I noticed something funny:
This may not seem interesting, but I immediately remembered something similar here:
Sure enough, I copy-pasted my code from the FCC version, and it worked perfectly on Leetcode after renaming the variables.
So, yeah, if it’s good enough for Leetcode, it’s good enough for me. If it’s good enough for me and FCC uses it, then FCC is good enough for me.