#striversa2zdsa
Read more stories on Hashnode
Articles with this tag
Problem Given an array/list of length ‘n’, where the array/list represents the boards and each element of the given array/list represents the length...
Problem Given an integer array nums and an integer k, split nums into k non-empty subarrays such that the largest sum of any subarray is...
Problem A conveyor belt has packages that must be shipped from one port to another within days days. The ith package on the conveyor belt has a weight...
Problem Given an array of integers nums and an integer threshold, we will choose a positive integer divisor, divide all the array by it, and sum the...
Problem Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the...
Problem Statement Given the head of a linked list, return the list after sorting it in ascending order. (link) Example 1: Input: head =...