0% found this document useful (0 votes)
8 views6 pages

DS Week 1 Output

The document outlines a menu for performing operations on single linked lists, including creating, inserting, deleting, and displaying values. It provides a step-by-step guide for users to input values and perform various operations on two lists. The instructions are presented in a structured format, indicating specific commands for each operation.

Uploaded by

hemanshausali8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views6 pages

DS Week 1 Output

The document outlines a menu for performing operations on single linked lists, including creating, inserting, deleting, and displaying values. It provides a step-by-step guide for users to input values and perform various operations on two lists. The instructions are presented in a structured format, indicating specific commands for each operation.

Uploaded by

hemanshausali8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

otput garoPage-!

|
Etes It to pestfosy peratiens en
wst 1.
Estes e to pesfosn operations en

List Q.
1.
You are perfosging opesatins og lst !
Estes yous choice.
**********************
Here is the menu af single tigked icst
opesatiens,
*********t* ********
Estes to Cseate a lst
Estes 2 to Insest at Begi)
Erstes 3 to 1nsest at Ed
Eytes 4 to Delete at Beginning.
IEsles s to Delete at Ending.
Ertes 6 to Psist/Dísplay tte Iist
Estes to meTe the 2 lists.
Ertes any oteet Values to exit

1
ith
wilh how many Valug you wost to
C% eatc a list. ? Page :
Ihe. líst is being cseted with 3valug
Etr6 the. value 1 :
tes the value 2 :
Etes the Value 3:
3
The (7ated list.is
Value =1 k Locate)i 3326
Value 2
LocatiOn = 33 34
Value =3 Localon = 3342
=> NoE.
Eotrs I to peofoor) opetien S on
List I

Entes 2 to peslo) oprrtions


on
st 2.
|Page :3
***** t*****t**** ********
4he: ís {h n\ee f sigletigked (ist

Entes
Enles
¥*
|
2to
to Cheatc.
h
a íst.
seot at Bcgtn
Lts 3 io Tnseot at Ed.
tes 4 to Dlete at
Bainnig.
Lnles éto Poinl/Display the. lisl
Btes t to mee. the. 2 ists
Lyter Any ohoo Value to cit

1
Kith h ny Vals you wat -to oeale
a ust.
he. list is beinq (ócald wity 4 Valug,
Ets the. value.
4
sler the Value 2

S Page :t
Etes the value 3
Egtes the Value y :
Tha Coeated u st is
Value =H Locatien'= 33 So
Value S * Locatien
=s = 33s8
Value =6 *.Locdion =3366.
Value =4 f Localien =3344
=)NOLL.
Entrs i to peoton
oprattens on
List, I
Erhs 2to
perfomny
printHey on
List 2.
1
you are profooming.potons
Wst 1. . en
Iroe: is th ar o. cirlr (ikud ist
qronling.

Lrtes 2 o rst al Bgin.


InSot t End.
Estrs 4 to teletG at Brgínntng.
Entes s to belete t Eding,
Entes 6 to Prist/ Disploy the list.
Eotez to moe. the 2 ists.
ter dny ottog yalue. t oxí.
****t************ *******

The.
Va lue
Value

Value
mzed

=4
=1
=2 .
ust

t
ís

Localion
t Localion

Location
:

=
= 4
= 3326
333
3342
3350
yalu =5 33, 8
Value =G Locatien= 3366
Value =A * Location ==334 4.
=} NOL Page-&

You might also like