
Leizner ⚛️
3.2K posts




You think Real Madrid will go through Manchester City, Bayern Munich, PSG & then choose to lose the trophy to you a rival, a rival wey them don mean? Hell will come down that day. Anything wey wan happen make e happen. That’s the day you’d know that Champions League final is not League match. Bring!! Just reach that final if e sure for you.

wait, rust's standard library doesn't provide a tls implementation? are you telling me I need a library to do https requests?




You wake up tomorrow as your club manager. The first player you sell is who?





Have an interview on Friday, have 70 hrs (more or less) These are the only leetcode problems i will be doing (feel a bit angry, should have started last week), 1) Heaps / Priority Queue (Top-K, streaming, schedulers) These map directly to “top-K from huge file”, rate limiting-ish scheduling, and resource management. 215. Kth Largest Element in an Array (min-heap size k) 347. Top K Frequent Elements (heap + hash map) 692. Top K Frequent Words (heap + custom comparator) 703. Kth Largest Element in a Stream (streaming heap) 295. Find Median from Data Stream (two heaps, classic) 621. Task Scheduler (heap + greedy) 373. Find K Pairs with Smallest Sums (heap with state) 239. Sliding Window Maximum (deque alternative; good to know vs heap) 2) Stacks / Monotonic Stack (parsing, “next greater”, histograms) Good for “log parsing”, “expression parsing”, and standard stack muscle memory. 20. Valid Parentheses 155. Min Stack 150. Evaluate Reverse Polish Notation 394. Decode String (stack + parsing) 739. Daily Temperatures (monotonic stack) 84. Largest Rectangle in Histogram (monotonic stack, interview classic) 3) Hashing / Maps (counts, dedupe, idempotency mindset) 1. Two Sum 242. Valid Anagram 49. Group Anagrams 128. Longest Consecutive Sequence 560. Subarray Sum Equals K (prefix sums + hashmap) 4) Queues / Deques / BFS (work queues, backpressure intuitions) 933. Number of Recent Calls (queue/time window; rate limiter vibe) 994. Rotting Oranges (BFS) 200. Number of Islands (BFS/DFS basic) 5) Intervals (schedulers, timelines, merging events) 56. Merge Intervals 57. Insert Interval 435. Non-overlapping Intervals 6) Binary Search (performance + “find boundary” thinking) 33. Search in Rotated Sorted Array 153. Find Minimum in Rotated Sorted Array 875. Koko Eating Bananas (binary search on answer) 74. Search a 2D Matrix 7) Linked list (LRU cache building block) 146. LRU Cache (this is very relevant to backend interviews)






How to wait correctly with #golang for a signal? If you combine that with context in your routines and pass that, you can wait for <-ctx.Done() wherever you want. Make sure that your main will wait until all routines are done with a sync.WaitGroup (or another sync mechanism). Don't use sleep, that is a stupid approach (you can't predict how long you should wait) So stay safe and wg.Wait()






Your API is slow. Not because of Go. Not because of Python. Because you’re not using Redis.








