0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
~339 People Reached
Favorite Forums
Favorite Tags
2 Posted Topics
Re: Help with Big-Oh
I think its safe to say utilizadores.getVerticeById() is linear at worst, but utilizadores.distancia() has to be constant time for this to be O(n^2) complexity.
If you want a prompt (or existent) reply, I suggest you refactor your code to include better variable names.
The End.
sixstringartist