Skip to content

Commit 6f1cdad

Browse files
committed
Docs: 125. Valid Palindrome
1 parent fb85996 commit 6f1cdad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

valid-palindrome/HC-kang.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/**
22
* https://leetcode.com/problems/valid-palindrome/
3+
* T.C.: O(n)
4+
* S.C.: O(1)
35
*/
46
function isPalindrome(s: string): boolean {
57
function isAlNum(char: string): boolean {

0 commit comments

Comments
 (0)