Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Using Stack to Find Palindrome | Advanced Data Structures
Algorithms and Data Structures Overview
course content

Course Content

Algorithms and Data Structures Overview

Algorithms and Data Structures Overview

1. Introduction to ADS
2. List and Array
3. Advanced Data Structures
4. Graphs

bookChallenge: Using Stack to Find Palindrome

Task

The palindrome checker task involves determining whether a given string is a palindrome or not. A palindrome is a sequence of characters that reads the same forwards and backward, ignoring spaces, punctuation, and capitalization.
For example, the following words are palindromes: level, radar, and madam.

We can use stack to solve this task effectively!.
By pushing characters onto the stack in the order they appear in the string, we can then pop characters off the stack and compare them with those from the string. This approach allows us to simultaneously compare characters from both ends of the string, making it an effective way to check for palindromes.

Your task is to fill in all gaps in is_palindrome().

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 3
toggle bottom row

bookChallenge: Using Stack to Find Palindrome

Task

The palindrome checker task involves determining whether a given string is a palindrome or not. A palindrome is a sequence of characters that reads the same forwards and backward, ignoring spaces, punctuation, and capitalization.
For example, the following words are palindromes: level, radar, and madam.

We can use stack to solve this task effectively!.
By pushing characters onto the stack in the order they appear in the string, we can then pop characters off the stack and compare them with those from the string. This approach allows us to simultaneously compare characters from both ends of the string, making it an effective way to check for palindromes.

Your task is to fill in all gaps in is_palindrome().

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 3
toggle bottom row

bookChallenge: Using Stack to Find Palindrome

Task

The palindrome checker task involves determining whether a given string is a palindrome or not. A palindrome is a sequence of characters that reads the same forwards and backward, ignoring spaces, punctuation, and capitalization.
For example, the following words are palindromes: level, radar, and madam.

We can use stack to solve this task effectively!.
By pushing characters onto the stack in the order they appear in the string, we can then pop characters off the stack and compare them with those from the string. This approach allows us to simultaneously compare characters from both ends of the string, making it an effective way to check for palindromes.

Your task is to fill in all gaps in is_palindrome().

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task

The palindrome checker task involves determining whether a given string is a palindrome or not. A palindrome is a sequence of characters that reads the same forwards and backward, ignoring spaces, punctuation, and capitalization.
For example, the following words are palindromes: level, radar, and madam.

We can use stack to solve this task effectively!.
By pushing characters onto the stack in the order they appear in the string, we can then pop characters off the stack and compare them with those from the string. This approach allows us to simultaneously compare characters from both ends of the string, making it an effective way to check for palindromes.

Your task is to fill in all gaps in is_palindrome().

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 3. Chapter 3
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
some-alt