上一页 1 ··· 232 233 234 235 236 237 238 239 240 ··· 345 下一页
摘要: 给定一个只包括 ‘(’,’)’,’{’,’}’,’[’,’]’ 的字符串 s ,判断字符串是否有效。 有效字符串需满足: 左括号必须... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(10) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*-"""Created on Sat Jul 17 17:23:50 2021@auth... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(12) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*-"""Created on Sat Jul 17 17:23:50 2021@auth... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(61) 评论(0) 推荐(0)
摘要: 这是一种最容易想到的方法 import numpy as np#a=np.random.randint(100,size=10)a=... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(7) 评论(0) 推荐(0)
摘要: 这是一种最容易想到的方法 import numpy as np#a=np.random.randint(100,size=10)a=... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(3) 评论(0) 推荐(0)
摘要: def cm(s): s1=list(zip(*s)) cc='' for k in s1: ... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(4) 评论(0) 推荐(0)
摘要: def cm(s): s1=list(zip(*s)) cc='' for k in s1: ... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(13) 评论(0) 推荐(0)
摘要: 原文链接 一个容易理解的方法 class Solution(object): def intToRoman(self, num... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(16) 评论(0) 推荐(0)
摘要: 给你 n 个非负整数 a1,a2,…,an,每个数代表坐标中的一个点 (i, ai) 。在坐标内画 n 条垂直线,垂直线 i 的两个... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(5) 评论(0) 推荐(0)
摘要: 给你 n 个非负整数 a1,a2,…,an,每个数代表坐标中的一个点 (i, ai) 。在坐标内画 n 条垂直线,垂直线 i 的两个... 阅读全文
posted @ 2022-08-19 22:49 luoganttcc 阅读(3) 评论(0) 推荐(0)
上一页 1 ··· 232 233 234 235 236 237 238 239 240 ··· 345 下一页
点击右上角即可分享
微信分享提示