| Article Index |
|---|
| Circularly Singly Linked List |
| Source Code |
| Documentation |
| Test Cases |
| Compatibility & References |
| All Pages |
Page 4 of 5
Test cases :
The output of the above code is as shown below
OPTIONS :
1.Insert begin
2.Insert middle
3.Insert end
4.Delete
5.Search
6.Exit
Enter choice : 1
Enter element : 1
List is
1
OPTIONS :
1.Insert begin
2.Insert middle
3.Insert end
4.Delete
5.Search
6.Exit
Enter choice : 3
Enter element : 3
List is
1 3
OPTIONS :
1.Insert begin
2.Insert middle
3.Insert end
4.Delete
5.Search
6.Exit
Enter choice : 2
Enter element : 2
Enter position : 2
List is
1 2 3
OPTIONS :
1.Insert begin
2.Insert middle
3.Insert end
4.Delete
5.Search
6.Exit
Enter choice : 4
Enter element : 1
List is
2 3
OPTIONS :
1.Insert begin
2.Insert middle
3.Insert end
4.Delete
5.Search
6.Exit
Enter choice : 5
Enter element : 2
Element found
No. of occurrences : 1
List is
2 3
OPTIONS :
1.Insert begin
2.Insert middle
3.Insert end
4.Delete
5.Search
6.Exit
Enter choice : 6
End
| < Prev | Next > |
|---|




