#array
Read more stories on Hashnode
Articles with this tag
Problem: You are assigned to put some amount of boxes onto one truck. You are given a 2D array boxTypes, where boxTypes[i] = [numberOfBoxesi,...
Problem: You are given an array of people, people, which are the attributes of some people in a queue (not necessarily in order). Each people[i] =...
Problem: There are several cards arranged in a row, and each card has an associated number of points. The points are given in the integer array ...
Problem: Given an array nums with n integers, your task is to check if it could become non-decreasing by modifying at most one element. We define...
Problem: You are given an array target of n integers. From a starting array arr consisting of n 1's, you may perform the following procedure...
Problem: There are n different online courses numbered from 1 to n. You are given an array courses where courses[i] = [durationi, lastDayi] ...