threeal / leetspace

A dedicated workspace and archive for my LeetCode submissions
https://leetcode.com/threeal
MIT License
1 stars 1 forks source link

Solve Problem 2351. First Letter to Appear Twice #1776

Closed threeal closed 2 weeks ago

threeal commented 3 weeks ago

This pull request resolves #1775 by solving the problem 2351. First Letter to Appear Twice in C++. It does so by iterating through the characters of the given string and storing the encountered characters in a binary map.