never mind, got it!
Im pretty sure it is nlogn as my most complicated part is my
for
if
loop, which is nlogn. So as n approaches infinity, none of the other arrays have any impact, as they become so small, so the complexity falls to that one!
Im pretty sure it is nlogn as my most complicated part is my
for
if
loop, which is nlogn. So as n approaches infinity, none of the other arrays have any impact, as they become so small, so the complexity falls to that one!








