RGSPY-Editorial

PROBLEM LINK-: CLICK HERE

PROBLEM SETTERS-: aliencoder_07

EDITORIALIST-: @dcpandey

DIFFICULTY-: Easy

PREREQUISITES-: IMPLEMENTATION ,ARRAYS,SET.

PROBLEM-: Riggi is a spy of KBI and he is on a secret mission, he is spying an Underworld Don Anit.Riggi is spying him since 5 years and he is not able to find any evidence against Anit. KBI told Riggi they will send him a code string in a special format that will inform him whether he has continue or return back from mission.

EXPLANATION-: This problem can be solve in many methods but the optimum one is that by using stack we will decode string easily and then next we will copy and reverse the string in a new variable and check the condition of palindrome and print solution accordingly .

SOLUTION-: CLICK HERE