You are on page 1of 1

NATIONAL UNIVERSITY OF TECHNOLOGY

(Department of Computer Engineering)


Assignment 2

Course Title Data Structures and Algorithms Course code CEN2018


Batch Number CEN-20 Deadline Jan 27, 2023
Total Marks 10 Instructor Dr. M. Umair Khan

(CLO-3, PLO-3)
Q1. Develop a program to build a BST. The BST slide is shared on Google Classroom, the
ability to delete a node is missing in the slide. In that code, you must write a function that
deletes a node. Make a tree with your registration number, for example, if your roll number is
F20604001, you must enter 2,0,6,4,1 and create a tree with that. The delete function should
remove the last value and the 0 value. The code and a screenshot of the output should be
included in the Word document (both insertion and deletion). Upload the code file as well.

You might also like