loading...
Cover image for [C++ CODE] Contains Close Nums

[C++ CODE] Contains Close Nums

thetealpickle profile image creator ・1 min read

THE TEAL PICKLE CODING CHALLENGE!! Determine whether the array contains close nums. I solved this problem using bae (C++). TRY IT 👀

Check out my solution and share yours!! My solution has an O(n) runtime and uses O(n) additional memory. ~ 💻 💻

Discussion

pic
Editor guide