EPAM

Check whether string is a balanced parenthesized expression.
Sample Input1
(()())
Sample Output1
Valid
Sample Input2
(()()
Sample Output2
Invalid

Find the final position of robot on 2-D array after executing following commands UP, DOWN, LEFT and RIGHT. The robot starting position is at (0,0).
Sample Input
ulrrdll
Sample Output
(-1,0)

Rover Control

Removing duplicate elements from given list of elements.
Sample Input
Hello world Hello
Sample Output
Hello world