Text Justification LeetCode Solution
Given an array of strings words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully justified.
Text Justification LeetCode Solution Read More »
Leetcode SolutionGiven an array of strings words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully justified.
Text Justification LeetCode Solution Read More »
Leetcode SolutionYou are given an array of k linked-lists lists, each linked-list is sorted in ascending order. Merge all the linked-lists into one sorted linked-list and return it.
Merge k Sorted Lists LeetCode Solution Read More »
Leetcode SolutionGiven a string s containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘ and ‘]’, determine if the input string is valid.
Valid Parentheses LeetCode Solution Read More »
Leetcode SolutionGiven an input string s and a pattern p, implement regular expression matching with support for ‘.’ and ‘*’ where ‘.’ Matches any single character and ‘*’ Matches zero or more of the preceding element.
Regular Expression Matching LeetCode Solution Read More »
Leetcode Solution