Skip to content
 
 

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

coding-challenge-typescript

Write a function in Typescript that uses generics to return the first non-repetitive character in a string. If no nonrepetitive char is found it should return a null. Please handle edge conditions - input and output. // Example usage: const result = firstNonRepeatingCharacter("aabbccddeeffg"); console.log("First non-repeating character:", result); // Output: "g" const result = firstNonRepeatingCharacter("abcabc"); console.log("First non-repeating character:", result); // Output: null

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages