GeeksforGeeks : M Coloring Problem

Problem https://www.geeksforgeeks.org/problems/m-coloring-problem-1587115620/1You are given an undirected graph consisting of v vertices and a list of edges, along with an integer m. Your tas...
0 Read More

Leetcode 148 : Sort List

Problem Statement https://leetcode.com/problems/sort-list/description/Given the head of a linked list, return the list after sorting it in ascending order. Sample Test Cases Example 1...
0 Read More

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