Skip to content

Commit 6d99780

Browse files
Update README.md
1 parent 40e8825 commit 6d99780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 2619-array-prototype-last/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h2><a href="https://leetcode.com/problems/array-prototype-last/">2619. Array Prototype Last</a></h2><h3>Easy</h3><hr><div>Write code that enhances all arrays such that you can call the&nbsp;<code>array.last()</code>&nbsp;method on any array and it will return the last element. If there are no elements in the array, it should return&nbsp;<code>-1</code>.
1+
<h2><a href="https://leetcode.com/problems/array-prototype-last/">2619. Array Prototype Last</a></h2><img src="https://img.shields.io/badge/Easy-brightgreen" alt="Easy" /><hr><div>Write code that enhances all arrays such that you can call the&nbsp;<code>array.last()</code>&nbsp;method on any array and it will return the last element. If there are no elements in the array, it should return&nbsp;<code>-1</code>.
22
<p>&nbsp;</p>
33
<p><strong class="example">Example 1:</strong></p>
44

0 commit comments

Comments
 (0)