Are the runtime and memory that Leetcode shows for solutions perfect?
It's just a curiosity because, very often I notice no runtime change after improving my algorithm, and even if the same solution (not changing a single bit) is submitted multiple times, it gives different runtimes (generally increasing).
There is a great possibility that my observations are wrong, but I just want to ask more experienced users.