Getting TestCase Based I/O Without Any Loop In Golang


Sometimes interview questions come with some twist like Solve this problem without using any loops So today I will explain how to solve general input/output (i/o) with test cases problem where special rule defines as saying “Do not use any Loop statement”. We’re going to solve this in Golang. When this type of problem was […]

Implementation of Floyd’s Cycle-Finding Algorithm in Golang

loop in linked list

What is a loop in a linked list A very common operation in a linked list is to traverse throughout the LinkedList. But when no null value is reached as traversing throughout the linked list, we call this as loops in a linked list. So to detect whether a LinkedList has a loop or not, […]