Showing 2 questions
Given a sorted linked list, remove all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Return the sorted list without duplicates.
#1. Remove Duplicates from Sorted List II
Given a number 'n', generate all possible well-formed (balanced) parentheses strings of length 2*n. For instance, if n=3, you need to create all valid combinations like '((()))', '(()())', etc.
#2. Generate Parentheses
Page 1 of 1 · 2 total