LeetCode 367. Valid Perfect Square

LeetCode 367. Valid Perfect Square

DescriptionGiven a positive integer num, write a function which returns True if num is a perfect square else False.Note: Do not use any built-in libra...

LeetCode 242. Valid Anagram

LeetCode 242. Valid Anagram

DescriptionGiven two strings s and t , write a function to determine if t is an anagram of s.Example 1:Input: s = "anagram", t = "nagaram"Output: true...

LeetCode 125. Valid Palindrome

LeetCode 125. Valid Palindrome

DescriptionGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.Note: For the purpose of this ...

LeetCode 65. Valid Number

LeetCode 65. Valid Number

DescriptionValidate if a given string can be interpreted as a decimal number.Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" =&gt...

LeetCode 20:有效的括号 Valid Parentheses

给定一个只包括 '(',')','{','}','[',']' 的字符串,判断字符串是否有效。 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input ...

[LeetCode] Graph Valid Tree 图验证树

Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to...

[LeetCode] Valid Phone Numbers 验证电话号码

Given a text file file.txt that contains list of phone numbers (one per line), write a one liner bash script to print all valid phone number...

[LeetCode] Valid Perfect Square 检验完全平方数

Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any...

[LeetCode] Valid Word Square 验证单词平方

Given a sequence of words, check whether it forms a valid word square. A sequence of words forms a valid word square if the kth row and colu...

[LeetCode] Valid Number 验证数字

Validate if a given string is numeric. Some examples: "0" => true " 0.1 " => true "abc" => false "1 a" =&g...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。