String Equality Problem

String Equality Problem — ExecCode Easy DSA Practice

Solve the String Equality problem on ExecCode. Free online easy DSA practice in Strings - Basics. Write and run code in Java, C++, Python — no signup required to run.

Problem description

Description You are given the input needed to solve String Equality. Your task is to compute the required answer and return Yes/No or boolean string per judge. A text tool receives characters in a specific order. In String Equality, the answer depends on handling those characters carefully, including duplicates and order. Two lines: string s1, then string s2.

Examples

Input {"s1": "Apple", "s2": "Apple"}; Output Equal. Input {"s1": "Apple", "s2": "apple"}; Output Not Equal. Input {"s1": "hello", "s2": "hello"}; Output Equal

Constraints

Exact character comparison

Practice String Equality free on ExecCode. Browse DSA problems, topic map, and placement guides.