Skip to content
Discussion options

You must be logged in to vote

@LPenny-github

你好 😊


            int subarrayMinLength = 0;

這裡也可以寫成 minSubarrayLength ,看個人的語感覺得下列兩者哪個比較順:

  • 子陣列 的 最小長度 (subarrayMinLength)
  • 最小 的 子陣列長度 (minSubarrayLength)

其它的變數命名我覺得都 ok 👌

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LPenny-github
Comment options

Answer selected by LPenny-github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants