We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Solution.java:71: error: constructor DoublyLinkedListNode in class DoublyLinkedListNode cannot be applied to given types;
DoublyLinkedListNode newNode = new DoublyLinkedListNode();
^
required: int
found: no arguments
reason: actual and formal argument lists differ in length
1 error
Im getting this with this code..can u help me
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Inserting a Node Into a Sorted Doubly Linked List
You are viewing a single comment's thread. Return to all comments →
Solution.java:71: error: constructor DoublyLinkedListNode in class DoublyLinkedListNode cannot be applied to given types; DoublyLinkedListNode newNode = new DoublyLinkedListNode(); ^ required: int found: no arguments reason: actual and formal argument lists differ in length 1 error
Im getting this with this code..can u help me