Skip to content

Commit 9022575

Browse files
committed
update README
1 parent 8555f86 commit 9022575

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

easy/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This folder contains solutions to easy-level problems encountered on LeetCode.
2727

2828
- `notToBe(val)`: Accepts another value and returns `true` if the two values are not equal (`!==`). If they are equal, it should throw an error `"Equal"`.
2929

30-
[LettCode Link](https://leetcode.com/problems/to-be-or-not-to-be/description/?envType=study-plan-v2&envId=30-days-of-javascript)
30+
[LeetCode Link](https://leetcode.com/problems/to-be-or-not-to-be/description/?envType=study-plan-v2&envId=30-days-of-javascript)
3131

3232
- Solution file: [to-be-or-not-to-be.js](./to-be-or-not-to-be.js)
3333

@@ -42,3 +42,13 @@ This folder contains solutions to easy-level problems encountered on LeetCode.
4242
[LeetCode link](https://leetcode.com/problems/counter-ii/description/?envType=study-plan-v2&envId=30-days-of-javascript)
4343

4444
- Solution file: [counter-2.js](./counter-2.js)
45+
46+
5. **Apply Transform Over Each Element in Array**
47+
48+
- Given an array `arr` and a mapping function `fn`, return a new array with a transformation applied to each element.
49+
50+
- The returned array should be created such that `returnedArray[i] = fn(arr[i], i)`
51+
52+
[LeetCode Link](https://leetcode.com/problems/apply-transform-over-each-element-in-array/description/?envType=study-plan-v2&envId=30-days-of-javascript)
53+
54+
- Solution file: [transform-array.js](./transform-array.js)

0 commit comments

Comments
 (0)