We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
This problem was frustrating. I couldn't remember 1 was not prime or how to even check for a prime number. The time complexity constraint just really messed me up. Took me over an hour. Here is my schizo code that somehow passed all test cases
Day 25: Running Time and Complexity
You are viewing a single comment's thread. Return to all comments →
This problem was frustrating. I couldn't remember 1 was not prime or how to even check for a prime number. The time complexity constraint just really messed me up. Took me over an hour. Here is my schizo code that somehow passed all test cases