Description: Design a stack that supports push, pop, top, and retrieving...
Description: Given a linked list, determine if it has a cycle in it. Fol...
Description: Given an array of integers, every element appears twice exc...
Description: Given a string, determine if it is a palindrome, considerin...
Description: Say you have an array for which the ith element is the pric...
Description: Say you have an array for which the ith element is the pric...
Description: Given an index k, return the kth row of the Pascal's triang...
Description: Given numRows, generate the first numRows of Pascal's trian...
Description: Given a binary tree, find its maximum depth. The maximum de...