feat(work): add problem1 function implementation

This commit is contained in:
Prad Nukala
2026-07-13 15:20:37 -04:00
parent 2b6e93af0d
commit 571d4633d9
+1
View File
@@ -17,6 +17,7 @@
// problem1([5]) => [0]
// problem1([4, 1, 4, 1]) => [2, 0, 2, 0]
function problem1(arr) {
// your code
}
// ---- problem2 ----