Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7e8135a

Browse files
Update Node.java
1 parent 95f6a10 commit 7e8135a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

‎Node.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -183,18 +183,8 @@ public static void main(String[] args) {
183183
list.print();
184184
list.insertAtTheMiddle(new Node(99));
185185
list.print();
186-
//list.deleteAtEnd();
187186
list.print();
188-
//list.deleteAtBegin();
189187
list.print();
190-
// Scanner sc=new Scanner(System.in);
191-
// System.out.println("enter the value");
192-
// int data= sc.nextInt();
193-
// list.search(data);
194-
// System.out.println(list.search(data));
195-
// System.out.println(list.findMiddle().data);
196-
// list.deleteAtMiddle();
197-
//list.print();
198188
System.out.println(list.length());
199189
list.insertAtNthPosition(new Node(78), 2);
200190
list.print();

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /