Skip to content

TabishAnwarShaikh/coding-challenge-typescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

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

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 48.7%
  • C++ 26.4%
  • JavaScript 24.9%