You are on page 1of 5

NATIONAL UNIVERSITY OF TECHNOLOGY

(Department of Computer Engineering)


Assignment 2

Name: Muhammad Ali Arif


Dept: Computer Engineering
Nutech Id: F20604037
Submitted To: Dr Umair Khan
Subject: Data Structures And Algorithms
(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.
Code:
NATIONAL UNIVERSITY OF TECHNOLOGY
(Department of Computer Engineering)
Assignment 2
NATIONAL UNIVERSITY OF TECHNOLOGY
(Department of Computer Engineering)
Assignment 2
NATIONAL UNIVERSITY OF TECHNOLOGY
(Department of Computer Engineering)
Assignment 2
NATIONAL UNIVERSITY OF TECHNOLOGY
(Department of Computer Engineering)
Assignment 2

You might also like