Reverse k linked list

iam keeping the name of file as public linked list then it is saying linked list cant be public class and wehn iam removing then it is throwing an error of main class missing

@Chitwan Actually the ide of coding blocks, only mnakes the bytecode of class named as Main.

So just change all the references named as LinkedList to Main. It will work.

i have changed the class name from linked list to main again its throwing some error java.util.nosuchelementExeption

@Chitwan Have you provided the custom input? Else send me the code and screenshot

where i have to send the code

@Chitwan submit the code on the question we have access to your submissions.

done i have shared the code with you