This commit is contained in:
2026-06-05 22:32:49 +08:00
parent 14d05011d5
commit c67841fe07
202 changed files with 498 additions and 403 deletions
@@ -42,13 +42,13 @@ Explanation: 2 does not exist in nums so return -1
Write your approach here.
** TODO Python
#+begin_src python
#+begin_src python :lc-problem 704 :lc-lang python3
class Solution:
def search(self, nums: List[int], target: int) -> int:
#+end_src
** TODO C++
#+begin_src cpp
#+begin_src cpp :lc-problem 704
class Solution {
public:
int search(vector<int>& nums, int target) {