I\'m studying for a test and found this question:
I can\'t really determine the complexity, I figured it\'s either O(n2) or O(n3) and I\'m lea
No matter triangle shape or not, it always a complexity O(N^3), but of course with lower constant then a full triple nested cycles.