DEV Community

Cover image for [C++ CODE] Contains Close Nums
โœจ thetealpickle ๐Ÿ“ฑ
โœจ thetealpickle ๐Ÿ“ฑ

Posted on

[C++ CODE] Contains Close Nums

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. ~ ๐Ÿ’ป ๐Ÿ’ป

Top comments (0)