@greghogg5: Two Pointers is REQUIRED for Coding Interviews! Palindrome Check Crack big tech at algomap.io! #coding #leetcode #programming #interview

Greg Hogg
Greg Hogg
Open In TikTok:
Region: CA
Friday 10 October 2025 15:04:05 GMT
65295
3626
18
48

Music

Download

Comments

muskiteer64
Marine Boy :
no do pythonic way... result = string == string[::-1]
2025-10-11 10:03:06
43
adamnnmnnmmmmmmmmmmmmnn
adamnnmnnmmmmmmmmmmmmnn :
or just reverse it using .sort(reverse=True) and write a like to ask if the original is the same as the reverse
2025-10-11 08:03:51
16
ig_justme
Just me :
How do we did this if there are spaces in between?
2025-10-10 16:45:20
1
dvdallen81
dvdallen81 :
Why are these obscure tests still used? Unless you're working on OS code, the other 99.5% of coding jobs will never use anything exotic like this.
2025-10-25 02:22:32
1
cloutman300
cloutman300 :
Just use an array and a stack
2025-10-12 17:29:15
0
appleuser7797863
LiberalVeteran :
Using .reverse() is the easiest way in Swift since Swift strings are collections of grapheme clusters (i.e. user-perceived characters, not just bytes or Unicode scalars). Characters are different widths.
2025-10-14 19:12:49
0
the..likes...of....which
ThirteenTwelve :
If l<=r ? wth? If l==r then you have the same char, bro. You did one too many checks. Also ur using 2 indexes, not pointers. damn.
2025-11-20 20:40:44
0
1_800_delusion
cristopher :
if arr == arr[::-1] return True else: False
2025-11-18 17:03:54
0
To see more videos from user @greghogg5, please go to the Tikwm homepage.

Other Videos


About