Data Structure: Assignments and Exams¶
(DS BOU) Group:
CT-1 Syllabus:¶
- Definition of Data, Record, Entity, Data Structures
- Classification of Data Structures
- Abstract Data Types (ADT)
- Time & Space Complexity
- 1-D Array
- Stack & Queue
Assignment-1:¶
Design and implement a custom C library named after yourself for efficient string handling using structures. The library should define a string data type and provide functions to perform the following operations:
a. Calculate the length of a string
b. Concatenate two strings
c. Extract a substring
d. Copy one string to another
e. Compare two strings
f. Reverse a string
g. Trim leading and trailing whitespace