mirror of
https://github.com/prdlk/leetcode.git
synced 2026-08-02 17:31:40 +00:00
feat(work): add problem1 function implementation
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
// problem1([5]) => [0]
|
// problem1([5]) => [0]
|
||||||
// problem1([4, 1, 4, 1]) => [2, 0, 2, 0]
|
// problem1([4, 1, 4, 1]) => [2, 0, 2, 0]
|
||||||
function problem1(arr) {
|
function problem1(arr) {
|
||||||
|
// your code
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---- problem2 ----
|
// ---- problem2 ----
|
||||||
|
|||||||
Reference in New Issue
Block a user