leetle

Daily challenge for 2025-07-22

203. Remove Duplicates from String

Write a function solve that removes all duplicate characters from a string, keeping only the first occurrence of each character.

Example:
Input: "programming"
Output: "progamin"

Run this challenge interactively in Python or JavaScript when the app loads.