Question
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.
in progress 0
55 years 0 Answers 404 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 389 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 328 views Great Grand Master

Question
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 326 views Great Grand Master

Question
Given a rod of length n inches and an array of prices that includes prices of all pieces of size smaller than n. Determine the maximum value obtainable by cutting up the rod and selling the pieces. For example, if ...
0
55 years 0 Answers 441 views Great Grand Master

Question
Given n dice each with m faces, numbered from 1 to m, find the number of ways to get sum X. X is the summation of values on each face when all the dice are thrown.  
0
55 years 0 Answers 319 views Great Grand Master