Find The Duplicate Number!
Leetcode is a must for us engineers these days. Will you encounter it in EVERY software engineering interview? Probably no…
Given a string s, the power of the string is the maximum length of a non-empty substring that contains only one unique character.
Sort a linked list using insertion sort.
Insertion sort is a simple sorting algorithm that works similarly to the wa…
This is the second problem posted in Leetcode November 2020 Challenge.
Given head which is a reference node to a singly-linked list…
Photo by Sebastian Herrmann on Unsplash
Coding challenges can be head-scratching most of the time 😏. Well, for the most part, they require thorough u…