Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
harmeetsingh11 authored Oct 17, 2023
1 parent 8468563 commit 40e8825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2677-chunk-array/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h2><a href="https://leetcode.com/problems/chunk-array/">2677. Chunk Array</a></h2><h3>Easy</h3><hr><div><p>Given an array <code>arr</code> and&nbsp;a chunk size&nbsp;<code>size</code>, return a&nbsp;<strong>chunked</strong> array. A&nbsp;<strong>chunked</strong>&nbsp;array contains the original elements in&nbsp;<code>arr</code>, but&nbsp;consists of subarrays each of length&nbsp;<code>size</code>. The length of the last subarray may be less than&nbsp;<code>size</code>&nbsp;if <code>arr.length</code>&nbsp;is not evenly divisible by <code>size</code>.</p>
<h2><a href="https://leetcode.com/problems/chunk-array/">2677. Chunk Array</a></h2><img src="https://img.shields.io/badge/Easy-brightgreen" alt="Easy" /><hr><div><p>Given an array <code>arr</code> and&nbsp;a chunk size&nbsp;<code>size</code>, return a&nbsp;<strong>chunked</strong> array. A&nbsp;<strong>chunked</strong>&nbsp;array contains the original elements in&nbsp;<code>arr</code>, but&nbsp;consists of subarrays each of length&nbsp;<code>size</code>. The length of the last subarray may be less than&nbsp;<code>size</code>&nbsp;if <code>arr.length</code>&nbsp;is not evenly divisible by <code>size</code>.</p>

<p>You may assume the&nbsp;array&nbsp;is&nbsp;the output of&nbsp;<code>JSON.parse</code>. In other words, it is valid JSON.</p>

Expand Down

0 comments on commit 40e8825

Please sign in to comment.