GlobalLogic Interview Question

2 coding questions (python) - which number in the array is prime or not - code to count the no of string in " aaaabbbccd" 2 sql queries - join related