> For the complete documentation index, see [llms.txt](https://wentao-shao.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://wentao-shao.gitbook.io/leetcode/data-structure/380.insert-delete-getrandom-o-1-data-structure-380.insert-delete-getrandom-o-1--md.md).

# \[380.Insert-Delete-GetRandom-O(1)]\(Data-Structure/380.Insert-Delete-GetRandom-O(1).md)
