DSA
DSA copied to clipboard
Collection of DSA problems and solutions
Given an integer rowIndex, return the rowIndexth (0-indexed) row of the Pascal's triangle. In Pascal's triangle, each number is the sum of the two numbers directly above it as shown:...
LC. 45. Jump game II Given an array of non-negative integers nums, you are initially positioned at the first index of the array. Each element in the array represents your...
I want to add Kruskals algorithm in python Please assign me the issue
A has an array of N non-negative integers. A wants to calculate maximum length of contiguous arithmetic subarray. Arithmetic Subarray is an array that contains at least two integers and...