#pythonUnmoderated tag#pythonTrendingtekraze in # dsa • 8 hr. ago • 2 min readDSA Series Day 9: Container With Most Water in Java, Python and RustHi everyone, I hope you all are doing good. Day 9 of my DSA series is Container With Most Water. The last few days used two pointers on sorted arrays, but here the array is not sorted at all and the pattern still works. The problem Each value in the array is a wall. Pick two walls, and the water they hold is the shorter wall times the…tekraze in # dsa • 2 days ago • 2 min readDSA Series Day 7: Two Sum II (Sorted Array) in Java, Python and RustHi everyone, I hope you all are doing good. Day 7 of my DSA series is Two Sum II. It is the same question as Day 1, with one small twist: the array is already sorted. That one detail lets us drop the hash map and use two pointers instead. The problem You get a sorted array and a target. Find two different positions whose values add up to the…tekraze in # dsa • 1 day ago • 2 min readDSA Series Day 8: 3Sum in Java, Python and RustHi everyone, I hope you all are doing good. Day 8 of my DSA series is 3Sum, one of the most asked interview questions. The nice part is that it is really yesterday's Two Sum II wrapped in a loop, plus one extra skill: skipping duplicates. The problem You get an integer array. Return every unique triplet from three different positions that…tekraze in # dsa • 3 days ago • 2 min readDSA Series Day 6: Valid Palindrome in Java, Python and RustHi everyone, I hope you all are doing good. Day 6 of my DSA series is Valid Palindrome. After five days of hash maps and sets, this one brings in the two pointer pattern, which needs no extra memory at all. The problem You get a string. Lowercase it, drop everything that is not a letter or digit, and check if it reads the same forward and…tekraze in # dsa • 4 days ago • 2 min readDSA Series Helper: Data Structures Cheat Sheet With Visuals, Big O and Java, Python and Rust ExamplesHi everyone, I hope you all are doing good. After five days of problems, I put together a helper post for the DSA series: a one page data structures cheat sheet you can keep open next to the daily problems. Quick summary Almost every coding problem is really about picking the right container. Each structure is good at something and bad at…justyy in # cn • 13 hr. ago • 1 min read带娃刷题第647天 快乐数/二刷/快慢指针带娃刷题第647天 快乐数/二刷/快慢指针justyy in # blog • 3 days ago • 1 min readDay 770 - Teaching Kids Programming - 3545. Minimum Deletions for At Most K Distinct Characters3545. Minimum Deletions for At Most K Distinct Characters Leetcode: Steem to the Moon🚀! You can rent Steem Power via rentsp ! You can swap the TRON:TRX/USDT/USDD to STEEM via tron2steem ! You can swap the STEEM/SBD to SUI via steem2sui ! You can swap the STEEM/SBD to SOL Solana via steem2sol ! You…justyy in # cn • 2 days ago • 1 min read带娃刷题第646天 快乐数带娃刷题第646天 快乐数tekraze in # dsa • 5 days ago • 2 min readDSA Series Day 5: Group Anagrams in Java, Python and RustHi everyone, I hope you all are doing good. Day 5 of my DSA series is Group Anagrams, and it is the first problem where you have to build the hash map key yourself. The problem You get an array of lowercase words. Group the words that are anagrams of each other and return the groups in any order. Quick summary Think of sorting mail…justyy in # blog • 2 hr. ago • 1 min readBIO - Day 21 - 112A. Petya and StringsBIO - Day 21 - 112A. Petya and Stringsjustyy in # cn • 3 days ago • 1 min read带娃刷题第645天 单调数组带娃刷题第645天 单调数组tekraze in # dsa • 6 days ago • 2 min readDSA Series Day 4: Valid Anagram in Java, Python and RustHi everyone, I hope you all are doing good. Day 4 of my DSA series is the first string problem, and it teaches a trick you will reuse a lot: counting characters. The problem You get two strings, s and t. Return true if t uses exactly the same letters as s, the same number of times, just in a different order. Quick summary Think of two…justyy in # cn • 5 days ago • 1 min read带娃刷题第642天 K数最大值带娃刷题第642天 K数最大值justyy in # cn • 4 days ago • 1 min read带娃刷题第644天 最多唯一的最少删除带娃刷题第644天 最多唯一的最少删除justyy in # cn • 4 days ago • 1 min read带娃刷题第643天 不同频率的最小对带娃刷题第643天 不同频率的最小对justyy in # cn • 7 days ago • 1 min read带娃刷题第641天 两数组距离带娃刷题第641天 两数组距离