Mostly Software

Mostly Software

    • About
    • Archive
  • Jan 23, 2020
    • Practice problems.
      • https://leetcode.com/problems/linked-list-cycle/. Linked list cycle. Add visited to hash set(), then check if present.
      • https://leetcode.com/problems/majority-element/. Counter.most_common.
      • https://leetcode.com/problems/maximum-product-subarray/. Kadane’s for product instead of sum. You have to check min as well.
      • https://leetcode.com/problems/reverse-linked-list. Reverse linked list, both iteratively and recursively.
      • https://leetcode.com/problems/factorial-trailing-zeroes. Weird. Mathy.
      • https://leetcode.com/problems/house-robber/. Just recurse 2 ago, add current, take max of that and the one previous.
    • Citadel Interview in Chicago, went well. Took extensive notes in drive. Flew back to LAX at night.
    • The US market is 50% of the global market!
    • TSLA 600 call for 1/24 (tomorrow) was looking so good until now.

© 2012 Brian Mahlstedt