Apr 20, 2026
Given a positive integer n, you can add or subtract any power of 2 in one operation. Return the minimum...
leetcodemediumbit-manipulation
Apr 19, 2026
Given a string s, return the number of non-empty good subsequences of s. A subsequence is good if every character...
leetcodehardcombinatorics
Apr 18, 2026
Given an m x n binary matrix filled with '0's and '1's, find the largest square containing only '1's and...
leetcodemediumdynamic-programming
Apr 18, 2026
Given an m x n integers matrix, return the length of the longest strictly increasing path.
leetcodeharddynamic-programmingdfs
Apr 17, 2026
Given an array of integers citations where citations[i] is the number of citations a researcher received for their i-th paper,...
leetcodemediumsorting
Apr 16, 2026
Given the head of a singly linked list and two integers left and right where left <= right, reverse the...
leetcodemediumlinked-list