baidu interview c find min abs .c