Google Developers2.63M
Published on 16 Mar 2026, 13:01
A minimalist string algorithm developer challenge: write a function in any language that returns the first non-repeating character in a string, or null if every character repeats. Our example Python version solves it in 87 characters. Your turn: Can you make it shorter? Which language gives you the cleanest frequency counting? Can you make it O(n)? Share your solution in the comments!
Subscribe to Google for Developers → goo.gle/developers
Speaker: Christine Rafla
Subscribe to Google for Developers → goo.gle/developers
Speaker: Christine Rafla
Fresh videos
Random videos





















