Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
fixed at some point
Is there anything I could change to make this not a duplicate (preferably without invalidating other solutions) or no?
bug in my previous code, should be fixed now :D
.
It should start from 8. Guessing there's a bug in my code.
Will replace my code with yours because idrk where my bug is tbh :p
edit: should be fixed now
nothing is more annoying than making a kata and finding out after publishing it that there already exists a similar kata
This comment is hidden because it contains spoiler information about the solution
Looks like you're trying to access an element outside the list range (basically you're using an invalid index)
i passed the test task but with attemp i got this error:
"RangeError (end): Invalid value: Only valid value is 4: 5 "
can anyone explain me this error please
Answered above
Fixed
I compared your solution with other solutions to see if you were right:
I don't have a PHP solution of my own because the translation was made by another user and approved by another one, but I think the issue is in your solution. Let me know if everything checks out!
Edit: don't mind the "Actual" part of the assertion message, I ran the test without an algorithm so I just got a random test to use, but you can see from that "Expected" that the order is right
Kata: Page replacement algorithms: LRU
Language: PHP
Test-Button: Attempt
Test-Function: testRandom
thanks for your research
Hi! What language? And what test?
Hey ya, is there a way that someone double-checks the assertion for random values. I've passed all other tests and find in this particular test the same pages, but there are declared to be in wrong order, feels somehow unintuitive.
Loading more items...