C# Class CodingPractice.LinkedList.SortedLinkedList

Inheritance: LinkedList
Show file Open project: cabhishek/algorithms-datastructures

Public Methods

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

Private Methods

Method Description
print ( ListNode node ) : void
revPrint ( ListNode node ) : void
reverseKth ( ListNode head, int k ) : ListNode

Method Details

Print() public method

public Print ( ) : void
return void

insert() public method

public insert ( IComparable item ) : void
item IComparable
return void

isThere() public method

public isThere ( IComparable item ) : bool
item IComparable
return bool

printReversed() public method

public printReversed ( ) : void
return void

reverse() public method

public reverse ( ) : void
return void

reverseKth() public method

public reverseKth ( int k ) : void
k int
return void