Skip to content

Commit 51dd262

Browse files
Added Time and Space Complexity
1 parent 1020265 commit 51dd262

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Problems/Mathematics/Day-01/sol/Ayush_Saha/Solution1.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
We can easily get the person sitting opposite to any number once we know the size of the circle.
2222
*/
2323

24+
/*
25+
Time Complexity: O(1)
26+
Space Complexity: O(1)
27+
*/
28+
2429
import java.util.Scanner;
2530

2631
public class Solution1 {

0 commit comments

Comments
 (0)