763. Partition Labels

763. Partition LabelsDifficulty: MediumTopics: Hash Table, Two Pointers, String, GreedyYou are given a string s. We want to partition the string into as many parts as possible so that each letter appe...
0 Read More

2551. Put Marbles in Bags

2551. Put Marbles in BagsDifficulty: HardTopics: Array, Greedy, Sorting, Heap (Priority Queue)You have k bags. You are given a 0-indexed integer array weights where weights[i] is the weight of the ith...
0 Read More

Clojure Is Awesome!!! [PART 16]

Exploring Binary Trees with Functional Elegance Hey, folks—who’d have thought I’d be back after such a long hiatus? It’s been weeks since my last post in this awesome community, but I...
0 Read More