data-structures-and-algorithms icon indicating copy to clipboard operation
data-structures-and-algorithms copied to clipboard

Learn Basic to Advanced Data Structures and Algorithms in your Favorite language (Go, Python, Javascript, C++, Java) [Contributions are welcome!]

Results 17 data-structures-and-algorithms issues
Sort by recently updated
recently updated
newest added

Example: Input: [ [1,3,1], [1,5,1], [4,2,1] ] Output: 7 Explanation: Because the path 1 → 3 → 1 → 1 → 1 minimizes the sum.

Dynamic Programming
Matrix

Note that it is the kth smallest element in the sorted order, not the kth distinct element. Example: Input: matrix = [ [ 1, 5, 9], [10, 11, 13], [12,...

Heap

Note that it is the kth smallest element in the sorted order, not the kth distinct element. Example: Input: matrix = [ [ 1, 5, 9], [10, 11, 13], [12,...

Heap

Note that it is the kth smallest element in the sorted order, not the kth distinct element. Example: Input: matrix = [ [ 1, 5, 9], [10, 11, 13], [12,...

Heap

Note that it is the kth smallest element in the sorted order, not the kth distinct element. Example: Input: matrix = [ [ 1, 5, 9], [10, 11, 13], [12,...

Heap

Note that it is the kth smallest element in the sorted order, not the kth distinct element. Example: Input: matrix = [ [ 1, 5, 9], [10, 11, 13], [12,...

Heap

Example: Input: [ [1,3,1], [1,5,1], [4,2,1] ] Output: 7 Explanation: Because the path 1 → 3 → 1 → 1 → 1 minimizes the sum.

Dynamic Programming
Matrix