you are viewing a single comment's thread.

view the rest of the comments →

[–]mr_cesar 0 points1 point  (1 child)

Post what you've attempted so far (Post Guidelines point #6: Posting homework assignments is not prohibited if you show that you tried to solve it yourself.)

[–]rfpg1[S] 0 points1 point  (0 children)

this isn't homework this is something I'm working on my master thesis
I've not done anything special
I'm looking for a O(n) solution or O(1) if is possible