2020年6月2日
摘要: 题目要求 算法分析 不让用乘除,不让用for while if else switch case 首先想到递归,递归需要有终止条件, 可以利用&&的特性,左边为false,来屏蔽掉右边的代码,来实现终止功能. 代码展示(C#) public class Solution { public int S 阅读全文
posted @ 2020-06-02 01:10 King__R 阅读(169) 评论(0) 推荐(0)