Publicis Sapient Interview Question

Write a program in JavaScript to find the first non-repeating character in any string.

Interview Answer

Anonymous

Dec 16, 2020

let arr = ["a", "b", "e", "c", "a", "c"]; for (let i = 0; i ", arr[i]); return; } }