Wednesday, January 1, 2020

  • Interesting. Would have expected more:
  • Pure function = doesn't affect any global state, a call can be swapped out for its result without effect.
  • Home from big bear nye/beans. 2020.
  • Practice problems:
  • I like hackerrank's organization of different problems into groups (these are recursion, dp, dicts, sorting, searching, etc). But it's still terrible in that function input/output is by FILE. It clutters up your solution space.
  • Man I love data:
    • Post image
  • (bool func 1) != (bool func 2) is XOR in python. Makes clean one-liners.
  • Checked supercontest.