Skip to content

whtseng1/NTHU_CS_DS_2018Fall_HW2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NTHU_CS_DS_2018Fall_HW2

Implement linked list operations.

implementation

•InsertBack
•InsertFront
•InsertAfter
•InsertBefore
•Delete
•DeleteFront
•DeleteBack
•Reverse
•Rotate

Input

Commands, following by arguments if necessary.
e.g. InsertBack
InsertFront 0,
PrintChain
Reverse
DeleteBack
InsertBefore 9 3

0 < Node_id < 100000
For rotate, 0 < k < 100000

Output

Whenever PrintChain is called, print every element in the list
e.g. 1->2->3->4->5

Keywaords

NTHU, DS, Data Structure, Homework, Linked List.

Reference

http://140.114.86.238/problem/12021/

Releases

No releases published

Packages

No packages published

Languages