Skip to content

mbukowski/leetcode-python

Repository files navigation

leetcode-python

Preparation and solution for Leet Code in python

Notes

  • look at the edge cases,
  • check for specific data structure,
  • can be represented in better way data,
  • allocate memory or in place,
  • start with naive solution may bring a good solution in long run
  • %, /, // - modulo, int and float division

Code Snippets

init multidimensional table inline

arr = [ [0]*3 for i in range(3) ] -> lists initialised with 0 arr = [ [] for i in range(3) ] -> empty lists

About

Preparation and solution for Leet Code in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages