# 数组-字符串

- [合并两个有序数组](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/merge-sorted-array.md)
- [移除元素](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/remove-element.md)
- [删除有序数组中的重复项](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/remove-duplicates-from-sorted-array.md)
- [删除有序数组中的重复项II](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/remove-duplicates-from-sorted-array-ii.md)
- [买卖股票的最佳时机](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/best-time-to-buy-and-sell-stock.md)
- [买卖股票的最佳时机II](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/best-time-to-buy-and-sell-stock-ii.md)
- [多数元素](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/majority-element.md)
- [罗马数字转整数](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/roman-to-integer.md)
- [轮转数组](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/rotate-array.md)
- [跳跃游戏](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/jump-game.md)
- [跳跃游戏II](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/jump-game-ii.md)
- [找出字符串中第一个匹配项的下标](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/find-the-index-of-the-first-occurrence-in-a-string.md)
- [柠檬水找零](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/lemonade-change.md)
- [最长回文子串](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/longest-palindromic-substring.md)
- [H指数](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/h-index.md)
- [O(1)时间插入、删除和获取随机元素](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/insert-delete-getrandom-o1.md)
- [除自身以外数组的乘积](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/product-of-array-except-self.md)
- [加油站](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/gas-station.md)
- [分发糖果](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/candy.md)
- [最后一个单词的长度](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/length-of-last-word.md)
- [整数转罗马数字](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/integer-to-roman.md)
- [最长公共前缀](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/longest-common-prefix.md)
- [反转字符串重的单词](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/reverse-words-in-a-string.md)
- [N字形变换](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/zigzag-conversion.md)
- [文本左右对齐](https://leetcodebook-1.gitbook.io/top-interview-150/array-string/text-justification.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://leetcodebook-1.gitbook.io/top-interview-150/array-string.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
