Skip to content

Commit 1c197fd

Browse files
Update lessons/practise-question.md
Co-authored-by: Utkarsh Mishra <76392681+Utkarsh1504@users.noreply.github.com>
1 parent d3f6624 commit 1c197fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lessons/practise-question.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,7 @@ Increase the value of count by 1.<br>
5555
At last, fill the remaining positions of the array with 0.<br>
5656

5757
## Time Complexity
58-
Since we will be traversing the whole array twice therefore the time complexity of algorithm would be Time complexity of first loop O(N)+ Time complexity of second loop O(N)=O(N),where n is number of elements in input array.
58+
Since we will be traversing the whole array twice therefore the time complexity of algorithm would be:
59+
- **Time complexity of first loop O(N) + Time complexity of second loop O(N) = O(N)**,
60+
where n is number of elements in input array.
5961

0 commit comments

Comments
 (0)