Assignment 1
Assignment 1
For any doubts regarding the assignment, ask questions in the Data
Structures and Algorithms Group in the Community.
Submit Assignments by 26th January 2021 11:59 PM
Question 1
What is the time, space complexity of following code:
int a = 0, b = 0;
for (i = 0; i < N; i++) {
a = a + 1;
}
for (j = 0; j < M; j++) {
b = b + j;
}
Question 2
What does it mean when we say that an algorithm X is asymptotically more efficient than Y?