Compare the Strings
CodeChefOpen on judge ↗
You are given two Strings s1 and s2 of length N consisting of uppercase and lowercase alphabets. You have to compare both the strings in lexographical order. While comparing the strings, the case of the letters does not matter, that is an uppercase letter is considered equivalent to the corresponding lowercase letter. Constraints: 1 ≤ T ≤ 100 1 ≤ N ≤ 100 1 ≤ s1, s2 ≤ 100 Input: The first
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