The Updrome problem
CodeChefOpen on judge ↗
You all are heard about the "Palindromes" but there is one more term we introduced that is "UPdromes", The string $s$ is said to be a "UPdromes"....... Let's consider the reverse string of $s$ is $x$, such that $s[i]$!=$x[i]$ for all $i$..... You are given a string $s$, your task is to check whether the string $s$ is "UPdrome" or not. Print "YES"(without inverted comma's) , if the string $s$ is
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start