@blarkin58 It's for school. That edge case should be covered since I changed "while current != None and current.next.next != None" to "while current != None and current.next != None"
@blarkin58 I don't know the length. (well I do but that would make a shit algorithm)
@blarkin58 I'm supposed to remove every k-th node from the chained list.
@blarkin58 With the current = current.next outside of the if the list is 1 3 4 5 and without it it's 1 5
@ceejbot
The first 2 paragraphs are about women's periods. A subject completely unrelated to the article. Then it's about pet peeves and first world problems and than finally it gets to actual subject of the article.
The Guardian is truly amazing.
@cdmnky@niu.moe https://www.scullinsteel.com/apple2/
I'm the joke, but you're the punchline.
I run this website. I like posting funnies and fugging lolis.