Leetcode 340 - Longest Substring with At Most K Distinct Characters
Understanding the problem Given a string s and an integer k, find the length of the longest …
Continue ReadingUnderstanding the problem Given a string s and an integer k, find the length of the longest …
Continue ReadingIntroduction: The problem of finding the longest palindromic substring is a classic problem in the …
Continue ReadingProblem Statement Given an array of integers nums and an integer target, return indices of the two …
Continue ReadingProblem Statement Given a singly linked list, return a random node’s value from the linked …
Continue ReadingSingle Number Given a non-empty array of integers nums, every element appears twice except for one. …
Continue ReadingProblem Statement How do we find all the prime factors of a given number? For example, when n = 12, …
Continue ReadingProblem Statement How do we find all the prime numbers up to a given number? For example, when n = …
Continue ReadingCoding challenges are technological developments designed to test your knowledge of algorithms and …
Continue ReadingAre you a fresh graduate or an expert developer, if you have not been introduced to Leetcode it can …
Continue Reading