C# Class CodingPractice.LinkedList.SortedLinkedList

Inheritance: LinkedList
Afficher le fichier Open project: cabhishek/algorithms-datastructures

Méthodes publiques

Méthode Description
Print ( ) : void
insert ( IComparable item ) : void
isThere ( IComparable item ) : bool
printReversed ( ) : void
reverse ( ) : void
reverseKth ( int k ) : void

Private Methods

Méthode Description
print ( ListNode node ) : void
revPrint ( ListNode node ) : void
reverseKth ( ListNode head, int k ) : ListNode

Method Details

Print() public méthode

public Print ( ) : void
Résultat void

insert() public méthode

public insert ( IComparable item ) : void
item IComparable
Résultat void

isThere() public méthode

public isThere ( IComparable item ) : bool
item IComparable
Résultat bool

printReversed() public méthode

public printReversed ( ) : void
Résultat void

reverse() public méthode

public reverse ( ) : void
Résultat void

reverseKth() public méthode

public reverseKth ( int k ) : void
k int
Résultat void