true " 0.1 "=>true "abc"=>false "1 a"=>false "2e10"=>true Note: It is intended for the problem statement to be ambiguous. You should gather all requirements up front before implementing one.(题目标签: 笔试题,面试题,php面试题,java面试题,阿里巴巴面试题,腾讯面试题,小米面试题,区块链面试题,字符串)"/>
Validate if a given string is numeric. Some examples: "0"=>true " 0.1 "=>true "abc"=>false "1 a"=>false "2e10"=>true Note: It is intended for the problem statement to be ambiguous. You should gather all requirements up front before implementing one.