<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KVGHS6G" height="0" width="0" style="display:none;visibility:hidden"></iframe>

Okcoin计算机科学面试真题

职位分类
全部
数据相关
计算机科学
人工智能
产品经理
BQ
面试题
全部(1)
OOD(0)
Algorithm(0)
System Design(0)
高频题(0)
Math(0)
全部(1)
OOD(0)
Algorithm(0)
System Design(0)
高频题(0)
Math(0)
1.Implement a Calculator II
1. Implement a Calculator II
In the coding interview, you are asked to implement a Calculator II. The task is to create a function that can process a string containing integers and the operators '+', '-', '*', and '/' and return the correct calculation result. The input will be a string such as '3+2*2' or ' 3/2 ', and the output should be the result of the calculation.