School of Engineering & Technology
Department: CSE Session: 2024-2025
Programme: [Link] CSE & AIML; [Link] Semester: III
Course Code: ENCS205/ENBC201 Number of students: 64
Course Name: Data Structure Faculty: Rahul Singh
Assignment 1
Instructions:
Assignment needs to be submitted by date
Assignment must be submitted on (include moodle link)
Use of ChatGPT and similar tools is strictly prohibited.
Assignment must be written on dedicated assignment copy for data structures subject.
All assignments must be prepared as per the format shared in classes
Assignments need to be submitted by each individual.
Total marks:10
This assignment contributes to total 10% of internal evaluation
Assignments will be evaluated on the basis of the following metrics.
Originality:
Correctness:
Completeness:
COs Assignment Details Marks
CO2 XI. Explain the concept of time complexity. Why is it important in analyzing
algorithms?
XII. Determine the time complexity of the following code snippet:
XIII. Calculate the space complexity of a function that takes an array of size n as input
and creates a new array of the same size to store the result.
XIV. Implement a function in any programming language to reverse an array in place.
XV. Compare and contrast Big O, Big Omega, and Big Theta notations, providing
examples for each.
XVI. Analyze the time complexity of the following code snippet using Big O notation:
Faculty Signature: Approved by:
Date: Date: