Merge Dictionaries

Easy

📝 Description

Combine two dictionaries into one (second dict overwrites first on conflict)

Input Format

Two dictionaries in JSON format

Output Format

Merged dictionary

Constraints

Dictionary size ≤ 1000

🔍 Sample Input

{a:1, b:2}
{b:3, c:4}
            

✅ Sample Output

{"a":1, "b":3, "c":4}
            

Code Editor

Please login to run and submit code.

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