#pythonUnmoderated tag#pythonHottekraze in # dsa • 13 hr. ago • 2 min readDSA Series Day 19: Merge Two Sorted Lists in Java, Python and RustHi everyone, I hope you all are doing good. Day 19 of my DSA series is Merge Two Sorted Lists. After flipping a list on Day 18, we keep working with pointers. The problem You get the heads of two linked lists that are already sorted. Splice their nodes into one sorted list, without creating new nodes, and return its head. On LeetCode this is…justyy in # cn • 19 hr. ago • 1 min read带娃刷题第659天 最小最大游戏带娃刷题第659天 最小最大游戏justyy in # cn • 19 hr. ago • 1 min readCodeforcing with Eric - 110A. Near Lucky Number BIO第33天: 110A. 接近幸运数Codeforcing with Eric - 110A. Near Lucky Number BIO第33天: 110A. 接近幸运数tekraze in # dsa • 2 days ago • 2 min readDSA Series Day 18: Reverse Linked List in Java, Python and RustHi everyone, I hope you all are doing good. Day 18 of my DSA series is Reverse Linked List. We closed the stacks and queues chapter with Day 17, and now we move into linked lists. The problem You get the head of a singly linked list and return it flipped, so the last node becomes the new head. On LeetCode this is problem 206. Quick…justyy in # cn • 2 days ago • 1 min read带娃刷题第658天 数有效距离K字符串/排列组合带娃刷题第658天 数有效距离K字符串/排列组合justyy in # cn • 2 days ago • 1 min readCodeforces with Eric - Day 32 - 977A. Wrong Subtraction BIO第32天: 977A. 错误的减法Codeforces with Eric - Day 32 - 977A. Wrong Subtraction BIO第32天: 977A. 错误的减法justyy in # cn • 3 days ago • 1 min readCodeforces with Eric - Day 31 - 118A. String Task BIO第31天: 118A. 字符串任务Codeforces with Eric - Day 31 - 118A. String Task BIO第31天: 118A. 字符串任务justyy in # cn • 3 days ago • 1 min read带娃刷题第657天 跳跃游戏带娃刷题第657天 跳跃游戏justyy in # blog • 3 days ago • 1 min readLeetcode All-time max streak: 2,209 Days (Missed a Day last year)Leetcode All-time max streak: 2,209 Days (Missed a Day last year)tekraze in # dsa • 3 days ago • 2 min readDSA Series Day 17: Implement Queue using Stacks in Java, Python and RustHi everyone, I hope you all are doing good. Day 17 of my DSA series is Implement Queue using Stacks. Yesterday we wrapped up stacks with Daily Temperatures, and today we move into queues using only stack operations. The problem You build a class MyQueue that behaves like a normal FIFO queue with push, pop, peek and empty, but you may only…justyy in # blog • 4 days ago • 1 min readCodeforces with Eric Day 30 - BIO第30天: 59A. 单词Codeforces with Eric Day 30 - BIO第30天: 59A. 单词justyy in # cn • 4 days ago • 1 min read带娃刷题第656天 好的整数带娃刷题第656天 好的整数tekraze in # dsa • 4 days ago • 2 min readDSA Series Day 16: Daily Temperatures in Java, Python and RustHi everyone, I hope you all are doing good. Day 16 of my DSA series is Daily Temperatures. Yesterday we evaluated postfix expressions, and today we wrap up the stacks chapter with a classic next greater element problem. The problem You get daily temperatures and must return how many days you wait after each day for a strictly warmer…justyy in # cn • 5 days ago • 1 min readCodeforces with Eric - Day 29 - 546A. Soldier and Bananas BIO第29天: 546A. 士兵买香蕉Codeforces with Eric - Day 29 - 546A. Soldier and Bananas BIO第29天: 546A. 士兵买香蕉justyy in # cn • 5 days ago • 1 min read带娃刷题第655天 最长连续数字序列带娃刷题第655天 最长连续数字序列tekraze in # dsa • 5 days ago • 2 min readDSA Series Day 15: Evaluate Reverse Polish Notation in Java, Python and RustHi everyone, I hope you all are doing good. Day 15 of my DSA series is Evaluate Reverse Polish Notation. Yesterday we built a min stack, and today we stay with stacks to evaluate postfix expressions. The problem You get a valid array of tokens, integers and the four operators +, -, * and /, in Reverse Polish Notation, and you return the…tekraze in # dsa • 7 days ago • 2 min readDSA Series Day 14: Min Stack in Java, Python and RustHi everyone, I hope you all are doing good. Day 14 of my DSA series is Min Stack. Yesterday we matched brackets with a stack, and today we build our own stack that can also give its smallest value instantly. The problem Design a stack with push, pop, top and getMin, where every operation runs in O(1) time. It is LeetCode problem 155. Quick…justyy in # cn • 7 days ago • 1 min readBIO第27天: 617A. 大象BIO第27天: 617A. 大象justyy in # cn • 7 days ago • 1 min read带娃刷题第653天 数字乘积-数字和带娃刷题第653天 数字乘积-数字和