摘要:
1、问题描述 Given an array of integers sorted in ascending order, find the starting and ending position of a given target value. Your algorithm's runtime c 阅读全文
posted @ 2018-03-29 17:06
山里的小勇子
阅读(533)
评论(0)
推荐(0)
摘要:
1、问题描述 Search Insert Position Given a sorted array and a target value, return the index if the target is found. If not, return the index where it woul 阅读全文
posted @ 2018-03-29 15:57
山里的小勇子
阅读(180)
评论(0)
推荐(0)
摘要:
1、题目描述 Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the far 阅读全文
posted @ 2018-03-29 14:26
山里的小勇子
阅读(631)
评论(0)
推荐(0)
摘要:
1、问题描述 Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a can 阅读全文
posted @ 2018-03-29 14:09
山里的小勇子
阅读(340)
评论(0)
推荐(0)
摘要:
1、问题描述 Remove all elements from a linked list of integers that have value val. ExampleGiven: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6Return: 1 - 阅读全文
posted @ 2018-03-29 12:53
山里的小勇子
阅读(3604)
评论(0)
推荐(0)
摘要:
1、问题描述 Reverse Vowels of a String Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Given s = "hello", 阅读全文
posted @ 2018-03-29 10:37
山里的小勇子
阅读(433)
评论(0)
推荐(0)

浙公网安备 33010602011771号