0 0 votes Algorithms time-complexity + – highheels10 1.0k views answer comment Share Follow Print See 1 comment 1 1 comment reply Magma commented Sep 15, 2018 reply Follow flag O(n2) 0 0 replyShare Please log in or register to add a comment.
1 1 vote O(n^3) abhi19961 answered Sep 15, 2018 abhi19961 comment Share Follow See all 3 Comments 3 3 Comments reply abhi19961 commented Sep 15, 2018 reply Follow flag Ans still is n^3. O(n^2) is actually the no of times 100 gets printed. 0 0 replyShare highheels10 commented Sep 15, 2018 reply Follow flag okay 0 0 replyShare highheels10 commented Sep 15, 2018 reply Follow flag in this qus time complexity should be O(n^5) but according to ravula ans is O(n^4). 0 0 replyShare Please log in or register to add a comment.