上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页
摘要: 如下二者的区别: python run.py #叫做直接运行 python -m run.py #把模块当作脚本来启动 不同的加载py文件的方式,主要是影响——sys.path 这个属性。sys.path 就相当于liunx中的PATH。直接启动是把run.py文件所在的目录放到了sys.path属 阅读全文
posted @ 2020-07-28 20:37 suwenyuan 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 一、maven的配置 ~/.m2/settings.xml的作用:全局的一些配置文件,包括一些权限认证、一些公开的包 项目文件下的pom.xml:和项目相关的一些配置 这两个文件配置完成之后,可以使用maven -> reload project加载私有公有包 二、maven的一些操作 compil 阅读全文
posted @ 2020-07-17 16:44 suwenyuan 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may c 阅读全文
posted @ 2020-04-29 23:55 suwenyuan 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your 阅读全文
posted @ 2020-04-26 23:58 suwenyuan 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integers, +, -, *, / operat 阅读全文
posted @ 2020-04-24 23:19 suwenyuan 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1.Batch Normalization feature map:$x\in \mathbb{R}^{N\times C\times H\times W}$ ,包含 N 个样本,每个样本通道数为 C,高为 H,宽为 W。对其求均值和方差时,将在 N、H、W上操作,而保留通道 C 的维度。具体来说, 阅读全文
posted @ 2020-04-23 23:19 suwenyuan 阅读(643) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The 阅读全文
posted @ 2020-04-22 23:43 suwenyuan 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the 阅读全文
posted @ 2020-04-21 23:25 suwenyuan 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram"Output: true Exa 阅读全文
posted @ 2020-04-20 23:41 suwenyuan 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of th 阅读全文
posted @ 2020-04-19 23:44 suwenyuan 阅读(114) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页