Problem statement


Problem statement


Problem statement

Input: numRows = 5
Output: [ [1], [1, 1], [1, 2, 1], [1, 3, 3, 1]…


Problem statement


Problem statement

Input: head = [1, 2, 3, 4] 
Output: [2, 1…

Problem statement


Problem statement


Problem statement

Input: l1 = [1, 2, 4], l2 = [1, 3, 4]
Output: [1, 1, 2, 3, 4…


Problem statement

Input: nums1 = [1, 3], nums2 = [2]
Output: 2.00000 …


Problem statement

Input: n = 3
Output: ["((()))", "(()())", "(())()", "()(())", "()()()"]
Input: n = 1
Output: ["()"]
- 1 <= n <= 8

Explanation

Brute force

Alkesh Ghorpade

Software Engineer. Working Saeloun. My portfolio https://alkeshghorpade.me

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store