a)Unit 1What is a data structure? Differentiate between primitive and non-primitive data structures.
What is a data structure? Differentiate between primitive and non-primitive data structures.
b)Unit 1Discuss time complexity and space complexity in detail. Explain best-case, worst-case and average-case time complexity with appropriate examples.
Discuss time complexity and space complexity in detail. Explain best-case, worst-case and average-case time complexity with appropriate examples.