|
+4
Not anymore :| |
|
0
Your complexity is too high man, your code is O(n^2) but it should be O(n) , you should not check if it "is_beautiful" for every addition. |
|
0
:/ not anymore |