Palindrome algorithm in C
1 year ago
29
A 5 minute video about a palindrome algorithm in the C programming language.
You will see an overview of the algorithm and the C implementation itself.
0:00 Intro
0:29 Base case: string of length 1
0:45 Algorithm: setting the indices to do a character by character comparison
1:20 Algorithm: move the indices and repeat comparison
1:41 Algorithm must end when indices have certain values
1:57 Algorithm: string of odd length
2:20 Non-palindrome string
2:49 Naive algorithm
3:10 C implementation of the algorithm
4:31 Running the program
4:38 Generating a palindrome string in Python (bonus)
5:02 Outtro
#palindrome #algorithm #programming #cprogramming
Loading comments...
-
3:24
ericntunctu
2 years agoLeetcode 214 Shortest Palindrome
8 -
6:37
ericntunctu
2 years agoLeetcode 336 Palindrome Pairs
5 -
5:00
ericntunctu
2 years agoLeetcode 479 Largest Palindrome Product
5 -
0:42
ericntunctu
2 years ago2108 Find First Palindromic String in the Array
4 -
14:03
Jeff Stroup
2 years agoHow to Code Linear Search in C++
21 -
28:01
JoshAckland
1 year agoLeetCode in C# | 5. - Longest Palindromic Substring
2 -
6:17
Computer Says YEAH!
1 year agoLeetCode 214: Shortest Palindrome
8 -
2:35
JoshAckland
1 year agoLeetCode in C# | 9. - Palindrome Number
8 -
2:25
T & M
4 months agoCheck If A String Is A Palindrome in Python
13 -
3:14
ericntunctu
2 years agoLeetcode solving 5 Longest Palindromic Substring