OpenDr interview question

1)Factorial problem 2)joins 3)basic php and javascript.