String Comparison

Easy

📝 Description

Compare two strings lexicographically

Input Format

Two strings str1 and str2

Output Format

"Equal", "First Greater", or "Second Greater"

Constraints

1 ≤ str1.length, str2.length ≤ 100

🔍 Sample Input

"apple"
"banana"
            

✅ Sample Output

Second Greater
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run