> For the complete documentation index, see [llms.txt](https://r24zeng.gitbook.io/leetcode-notebook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://r24zeng.gitbook.io/leetcode-notebook/useful-knowledge-about-python/common-mistakes-about-python.md).

# Common Mistakes about Python

* Python doesn't have pass by reference
* \#131 search the non-contiguous subarray, use BackTracking algorithm, $$T =  O(2^n)$$​; If ask to search the contiguous aubarray, use BruteForce algorithm, $$T = O(n^2)$$​
