HNHau Nguyen Phucinhaunguyen.hashnode.dev·Jul 3 · 3 min readLeetCode 14 - Longest Common PrefixStatement The problem requires to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". A prefix is a sequence of characters that 00
HNHau Nguyen Phucinhaunguyen.hashnode.dev·Jun 28 · 3 min readLeetCode 13 - Roman to IntegerStatement The problem gives a Roman numeral string and asks us to convert it into its corresponding integer value. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 Most Roman nume10
HNHau Nguyen Phucinhaunguyen.hashnode.dev·Jun 27 · 4 min readLess Code, Less Noise: a Deep Dive into rtk and ponytailI spent some time reading through both ponytail and rtk, and what I like most is that they solve two different problems in the agent loop. They are not competing ideas. ponytail changes how the agent 10
HNHau Nguyen Phucinhaunguyen.hashnode.dev·Jun 19 · 4 min readLeetCode 9 - Palindrome NumberStatement The problem asks us to determine whether a given integer reads the same forward and backward. Such numbers are called palindromes. For example, the number 121 is a palindrome because reversi10
HNHau Nguyen Phucinhaunguyen.hashnode.dev·Jun 18 · 4 min readLeetCode 1 - Two SumStatement The problem gives us an integer array called nums and another integer called target. Our task is to find two different elements in the array whose sum equals target, then return their indice00