Skip to content

add js solutions to leetcode problems: no.54 and no.189 #370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 2, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add some discriptions
  • Loading branch information
0xtch committed May 2, 2021
commit b8e47d54db0c0a4c0638578c2cdd485194aaddaf
3 changes: 3 additions & 0 deletions solution/0100-0199/0189.Rotate Array/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ class Solution {

### **JavaScript**

<!-- 这里可写当前语言的特殊实现逻辑 -->
使用原生 API 将数组的 `k~n-1` 范围内的元素插入到前面

```js
/**
* @param {number[]} nums
Expand Down