码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
[LeetCode][JavaScript]Valid Parentheses
https://leetcode.com/problems/valid-parentheses/Valid ParenthesesGiven a string containing just the characters'(',')','{','}','['and']', determine if ...
分类:编程语言   时间:2015-05-17 18:29:30    阅读次数:187
数据结构与算法复习-----leetcodeOJ题解
Isomorphic Strings Given two stringssandt, determine if they are isomorphic. Two strings are isomorphic if the characters inscan be replaced to gett.A...
分类:编程语言   时间:2015-05-17 18:27:27    阅读次数:137
【Path Sum】cpp
题目:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum...
分类:其他好文   时间:2015-05-17 02:03:11    阅读次数:116
【Validate Binary Search Tree】cpp
题目:Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains onl...
分类:其他好文   时间:2015-05-16 20:21:48    阅读次数:91
Leetcode#81Search in Rotated Sorted Array II
SearchinRotatedSortedArrayIITotalAccepted:35100TotalSubmissions:111308MySubmissionsQuestionSolutionFollowupfor"SearchinRotatedSortedArray":Whatifduplicatesareallowed?Wouldthisaffecttherun-timecomplexity?Howandwhy?Writeafunctiontodetermineifagiventargetisint..
分类:其他好文   时间:2015-05-16 18:37:20    阅读次数:158
leetcode_Isomorphic Strings
描述: Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrences of a character must be replaced with another character while preserving the order of characters....
分类:其他好文   时间:2015-05-15 09:03:17    阅读次数:111
leetcode-Isomorphic Strings
Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrences of a ...
分类:其他好文   时间:2015-05-15 01:14:06    阅读次数:125
Valid Palindrome -- leetcode
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" is not a ...
分类:其他好文   时间:2015-05-14 22:10:26    阅读次数:131
Again Prime? No Time.(uva10870+数论)
Again Prime? No time. Input: standard input Output: standard output Time Limit: 1 second The problem statement is very easy. Given a number n you have to determine the largest power of m, not ne...
分类:其他好文   时间:2015-05-14 20:37:11    阅读次数:118
LeetCode--Isomorphic Strings
Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrences of a ...
分类:其他好文   时间:2015-05-14 20:28:37    阅读次数:115
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!