Company: microsoft
All the problems asked by "microsoft".
-
LeetCode 2405 - Optimal Partition of String
Given a string, partition it into substrings such that each substring contains unique characters. Find the minimum number of such substrings.
-
Leetcode 49 - Group Anagrams
Given an array of strings, group anagrams together. An anagram is a word formed by rearranging the letters of a different word, using all original letters exactly once.
-
Leetcode 11 - Container With Most Water
Given an array of integers representing the height of vertical lines, find the maximum amount of water a container formed by these lines can store.
-
Leetcode 371 - Sum of Two Integers
Given two integers a and b, return the sum of the two integers without using the operators + and -.
-
Leetcode 153 - Find Minimum in Rotated Sorted Array
Given a sorted rotated array of unique elements, return the minimum element of this array.
-
Leetcode 53 - Maximum Subarray
Given an integer array nums, find the subarray with the largest sum and return its sum.