ThoughtFocus Interview Question

Spiral matrix code, factorial code, string code to print first non repeating char in string