EXPLAIN THE LOGIC BEHIND IT PROPERLY. NOT JUST THE ANSWER OR
DOWNVOTE !!!!!!!!!!!!
function PrintColours(): colours = { "Red", "Green", "Blue", "Grey" } foreach colour in colours: print(colour) Which of the below answers describes the time complexity of the above code most accurately? Pick ONE option O(1) O(logn) O(n) o Oin²
function PrintColours(): colours = { "Red", "Green", "Blue", "Grey" } foreach colour in colours: print(colour) Which of
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
function PrintColours(): colours = { "Red", "Green", "Blue", "Grey" } foreach colour in colours: print(colour) Which of
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!