DSA 2022 Minor Project 1
DSA 2022 Minor Project 1
Problem Description: Create a Singly Linked List with the following Node structure.
public class Node {
int info;
Node link;
}
Write a menu driven program to perform the following operations.
1. To display the linked list. [1 Points]
2. To find 2nd largest element. [2 Points]
3. To display the reference of all occurances of an element. [3 Points]
4. To remove all nodes with duplicate elements. [5 Points]
5. To count the number of unique elements. [4 Points]
Note: Create the required classes in a package named same as your registration number.
Prepare a description file (word file) to show the process and output of your project. Save the
description file in the same package. Compress the package and submit.
******