摘要:
题目:Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.... 阅读全文
摘要:
题目:Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spir... 阅读全文
摘要:
题目:Given an array S of n integers, find three integers in S such that the sum is closest to a give... 阅读全文
摘要:
题目:Given a sorted array and a target value, return the index if the target is found. If not, retur... 阅读全文