上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页
摘要: Description: A permutation, also called an “arrangement number” or “order,” is a rearrangement of the elements of an ordered list S into a one-to-one 阅读全文
posted @ 2019-08-30 17:36 CodingYM 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Description: A Maze is given as N*N binary matrix of blocks where source block is the upper left most block i.e., maze[0][0] and destination block is 阅读全文
posted @ 2019-08-30 15:45 CodingYM 阅读(529) 评论(0) 推荐(0) 编辑
摘要: Description: Solution: 阅读全文
posted @ 2019-08-30 13:49 CodingYM 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Description: Given an array of integers nums, write a method that returns the "pivot" index of this array. We define the pivot index as the index wher 阅读全文
posted @ 2019-08-30 10:10 CodingYM 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Description: Solution: 阅读全文
posted @ 2019-08-30 09:58 CodingYM 阅读(88) 评论(0) 推荐(0) 编辑
摘要: Description: You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the 阅读全文
posted @ 2019-08-29 17:35 CodingYM 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Description: Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: "Gold 阅读全文
posted @ 2019-08-29 16:54 CodingYM 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Description: Given a string S, return the "reversed" string where all characters that are not a letter stay in the same place, and all letters reverse 阅读全文
posted @ 2019-08-29 15:58 CodingYM 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Description: Given the root node of a binary search tree (BST) and a value. You need to find the node in the BST that the node's value equals the give 阅读全文
posted @ 2019-08-29 14:50 CodingYM 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Description: Given a non-negative integer c, your task is to decide whether there're two integers a and b such that a2 + b2 = c. Example 1: Input: 5 O 阅读全文
posted @ 2019-08-29 14:08 CodingYM 阅读(101) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页