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.
Java 8: Is anyone else facing the issue, that the main-method provided is declared outside the class "Result", and therefore the code won't compile? I wanted to fix it, but I am not allowed to modify that part of the code, so I can't add the required '}' at the end of the file.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Insert a node at a specific position in a linked list
You are viewing a single comment's thread. Return to all comments →
Java 8: Is anyone else facing the issue, that the main-method provided is declared outside the class "Result", and therefore the code won't compile? I wanted to fix it, but I am not allowed to modify that part of the code, so I can't add the required '}' at the end of the file.