First Unique Character in a String | LeetCode problem 387
ฝัง
- เผยแพร่เมื่อ 15 ก.ย. 2024
- First Unique Character in a String
Leetcode problem number 387
Solution in JAVA
JAVA interview programming playlist:
• Interview Programming ...
Linkedin: / amrita-bala-a2b79460
#java #interviewquestions #leetcode
very easy explaination....So beautiful, So elegent, Just looking like wow...
Nice explanation!💫
I thought this approach store characters in hashmap table, after that iterate over string while checking the frequency of each character, we don't have to initialize the 26 alphabets space unless given string contains all the alphabet.
Software Engineer at Oracle 🤯
Aee baba mast package hoga.... Lol
Amazing explanation ma'am
Thank you! 🙂
Does this work for input "lavt" ? As first non repeating character here is l but your code would give output as a
Why sage??
Very well ❤️🩹❤️🩹❤️🩹❤️🩹❤️🩹❤️🩹❤️🩹 explanation