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

Conteúdo do Curso

Algorithms and Data Structures Overview

Algorithms and Data Structures Overview

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

Challenge: Using Stack to Find Palindrome

Tarefa

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().

Tarefa

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().

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 3. Capítulo 3
toggle bottom row

Challenge: Using Stack to Find Palindrome

Tarefa

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().

Tarefa

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().

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 3. Capítulo 3
toggle bottom row

Challenge: Using Stack to Find Palindrome

Tarefa

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().

Tarefa

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().

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Tarefa

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().

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 3. Capítulo 3
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt