Link to code: https://github.com/HashemAlsaket/leetcode/blob/main/695%20Max%20Area%20of%20Island/soln.py
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.