Readlog: May 7, 2023

Longest Increasing Subsequence

Today, I encountered an interesting problem on LeetCode that required familiarity with the "Longest Increasing Subsequence" algorithm. Although my initial solution, which involved something similar to Monotonic Stack, was enough to pass the tests, I decided to explore the problem more deeply by requesting this subsequence for each element of the array.

David in Sunglasses (generated by DALL-E)

A demo of the approach. Source: wikimedia.org

Read more…

Readlog: April 27, 2023

Renaissance

David in Sunglasses (generated by DALL-E)

Back in 2019, I used to keep a log of all the articles and posts I read on a daily basis. However, over time, I lost track of my reading habit and struggled to find and recall the information I had previously read. Recently, I decided to revive this daily ritual and start keeping track of my reading again.

I'm excited to kick off this new reading log with sources recommended by my good friend Ben. He's always been a valuable source of information and insights, and I'm eager to explore the articles he's suggested and share my thoughts on them.

Read more…