Question
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.
0
55 years 0 Answers 277 views Great Grand Master

Question
You are given a set of n types of rectangular 3-D boxes, where the i^th box has height h(i), width w(i) and depth d(i) (all real numbers). You want to create a stack of boxes which is as tall as ...
0
55 years 0 Answers 314 views Great Grand Master

Question
Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. If target is not found in the array, return [-1, -1]. You must write an algorithm with O(log n) runtime complexity.
0
55 years 0 Answers 236 views Great Grand Master

Question
Implement pow(x, n), which calculates x raised to the power n (i.e., xn). Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string.
0
55 years 0 Answers 367 views Great Grand Master