randomJumpResultsInBadPerformance() failing

I read several topics on forum and optimized to necessary changes. Its passing on build gradle but still fails on assessment.

My unit testing log is:

com.crio.qcharm.ds.SourceFileHandlerLinkedListImplTest > efficientSearchTest() FAILED
java.lang.AssertionError at SourceFileHandlerLinkedListImplTest.java:301

com.crio.qcharm.ds.SourceFileHandlerLinkedListImplTest > randomJumpResultsInBadPerformance() FAILED
java.lang.AssertionError at SourceFileHandlerLinkedListImplTest.java:363

com.crio.qcharm.ds.SourceFileHandlerLinkedListImplTest > editTotheTopOftheFileShouldBeefficientInLinkedList() FAILED
java.lang.AssertionError at SourceFileHandlerLinkedListImplTest.java:593

Please guide me through this.

We have updated some instructions for that test case
Have you referred to this FAQ

1 Like

Thanks. I made some changes in the code(related to deep copy) and it worked.

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.