How to Find First Non-Repeating Character in Given String

preview_player
Показать описание
Requirement is to write a function that finds the first non-repeated character in a given string. We are doing in in JavaScript.

Our tutorials help you to improve your career growth, perform better in your job and make money online as a freelancer. Learn the skills to build and design professional websites, and create dynamic and interactive web applications using JavaScript, or WordPress. Our tutorials are tailored to help beginners and professionals alike. Whether you're just starting in the field or you're looking to expand your knowledge, we've got something for you. Join us on this journey to becoming a skilled web developer. Subscribe to our channel and let's get started!

Thank You!
👍 LIKE VIDEO
👊 SUBSCRIBE
🔔 PRESS BELL ICON
✍️ COMMENT

#js #javascript #challenge #codingchallenge #javascriptinterviewquestions #javascripttutorial #leetcode #coding #programming #computerscience #algorithm #WebStylePress #WebDevelopment
Рекомендации по теме
Комментарии
Автор

bro 1 test cases are passed and 2nd test cases are failed, Please repeated this one

jayakrishna
Автор

-_- -_-

function firstNotRepeatingChar(x){
console.log(`first not repeated charecter in "${x}" is "${x.split('').find(y => x.indexOf(y) === x.lastIndexOf(y))}"`);
}
firstNotRepeatingChar("kalu miya ka alu pnl")

nxeditz