This is one of the easier coding tasks, but you still can meet it in some preliminary tech screening. The problem looks like this: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" and "()[]{}" ...