Skip to main content

Crate array

Crate array 

Source
Expand description

ยงArray

Structsยง

Sol73 ๐Ÿ”’
73m Set Matrix Zeroes
Sol747 ๐Ÿ”’
747 Largest Number At Least Twice of Others
Sol766 ๐Ÿ”’
766 Toeplitz Matrix
Sol798 ๐Ÿ”’
798h Smallest Rotation with Highest Score
Sol1184 ๐Ÿ”’
1184 Distance Between Bus Stops
Sol1394 ๐Ÿ”’
1394 Find Lucky Integer in an Array
Sol1450 ๐Ÿ”’
1450 Number of Students Doing Homework at a Given Time
Sol1534 ๐Ÿ”’
1534 Count Good Triplets
Sol1550 ๐Ÿ”’
1550 Three Consecutive Odds
Sol1752 ๐Ÿ”’
1752 Check If Array Is Sorted and Rotated
Sol1796 ๐Ÿ”’
1796 Second Largest Digit in a String
Sol1800 ๐Ÿ”’
1800 Maximum Possible Ascending Subarray Sum
Sol1920 ๐Ÿ”’
1920 Build Array from Permutation
Sol2016 ๐Ÿ”’
2016 Maximum Difference Between Increasing Elements
Sol2017 ๐Ÿ”’
2017m Grid Game
Sol2033 ๐Ÿ”’
2033m Minimum Operations to Make a Uni-Value Grid
Sol2094 ๐Ÿ”’
2094 Finding 3-Digit Even Numbers
Sol2099 ๐Ÿ”’
2099 Find Subsequence of Length K With the Largest Sum
Sol2145 ๐Ÿ”’
2145m Count the Hidden Sequences
Sol2176 ๐Ÿ”’
2176 Count Equal and Divisible Pairs in an Array
Sol2190 ๐Ÿ”’
2190 Most Frequent Number Following Key In an Array
Sol2200 ๐Ÿ”’
2200 Find All K-Distant Indices in an Array
Sol2210 ๐Ÿ”’
2210 Count Hills and Valleys in an Array
Sol2248 ๐Ÿ”’
2248 Intersection of Multiple Array
Sol2341 ๐Ÿ”’
2341 Maximum Number of Pairs in Array
Sol2419 ๐Ÿ”’
2419m Longest Subarray With Maximum Bitwise AND
Sol2536 ๐Ÿ”’
2536m Increment Submatrices by One
Sol2780 ๐Ÿ”’
2780m Minimum Index of a Valid Split
Sol2873 ๐Ÿ”’
2873 Maximum Value of an Ordered Triplet I
Sol2874 ๐Ÿ”’
2874m Maximum Value of an Ordered Triplet II
Sol2894 ๐Ÿ”’
2894 Divisible and Non-divisible Sums Difference
Sol2942 ๐Ÿ”’
2942 Find Words Containing Character
Sol2946 ๐Ÿ”’
2946 Matrix Similarity After Cyclic Shifts
Sol2966 ๐Ÿ”’
2966m Divide Array Into Arrays With Max Difference
Sol3105 ๐Ÿ”’
3105 Longest Strictly Increasing or Strictly Decreasing Subarray
Sol3151 ๐Ÿ”’
3151 Special Array I
Sol3169 ๐Ÿ”’
3169m Count Days Without Meetings
Sol3195 ๐Ÿ”’
3195m Find the Minimum Area to Cover All Ones I
Sol3355 ๐Ÿ”’
3355m Zero Array Transformation I
Sol3392 ๐Ÿ”’
3392 Count Subarrays of Length Three With a Condition
Sol3394 ๐Ÿ”’
3394m Check if Grid can be Cut into Sections
Sol3423 ๐Ÿ”’
3423 Maximum Difference Between Adjacent Elements in a Circular Array
Sol3495 ๐Ÿ”’
3495m Minimum Operations to Make Array Elements Zero