> For the complete documentation index, see [llms.txt](https://lex47.gitbook.io/leetcode/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lex47.gitbook.io/leetcode/master.md). Agents can also search and read this documentation through its [MCP server](https://lex47.gitbook.io/leetcode/~gitbook/mcp).

# Leetcode

Ruby / C#
