leetcode-potd

49. Group Anagrams

leetcode-potd

Given an array of strings strs, group the anagrams together. You can return the answer in any order. An Anagram is a word or phrase formed

41. First Missing Positive

leetcode-potd

Given an unsorted integer array nums. Return the smallest positive integer that is not present in nums. You must implement an algorithm that runs in O(n) time and

826. Most Profit Assigning Work

leetcode-potd

You have n jobs and m workers. You are given three arrays: difficulty, profit, and worker where: difficulty[i] and profit[i] are the difficulty and the profit of the ith job, and worker[j] is the

Scroll to Top