> For the complete documentation index, see [llms.txt](https://dfine.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://dfine.gitbook.io/leetcode/1005.maximise-sum-of-array-after-k-negations.md).

# 1005.Maximise Sum of Array after K Negations
