I don't know what your O notation means, could you explain it in a few concise sentences and how to use it to compare both. Additionally please answer which is better of the two then provide a simple code example for both that i can test out.