Example 1: Input: secret = "1807", guess = "7810" Output: "1A3B" Explanation: 1 bull and 3 cows. The bull is 8, the cows are 0, 1 and 7. Example 2: In ...
分类:
其他好文 时间:
2020-02-12 22:25:22
阅读次数:
81
背景 最近在做一个新项目的时候引入了一个架构方面的需求,就是需要检查项目的编码规范、模块分类规范、类依赖规范等,刚好接触到,正好做个调研。 很多时候,我们会制定项目的规范,例如: 硬性规定项目包结构中service层不能引用controller层的类(这个例子有点极端)。 硬性规定定义在contro ...
分类:
其他好文 时间:
2020-02-12 10:49:21
阅读次数:
80
1 """ 2 Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. 3 Exa ...
分类:
其他好文 时间:
2020-02-12 00:58:45
阅读次数:
82
原文:IntelliJ IDEA的这个接口调试工具真是太好用了! 你有一个思想,我有一个思想,我们交换后,一个人就有两个思想 If you can NOT explain it simply, you do NOT understand it well enough 现陆续将Demo代码和技术文章整... ...
分类:
其他好文 时间:
2020-02-10 22:46:50
阅读次数:
104
你有一个思想,我有一个思想,我们交换后,一个人就有两个思想 If you can NOT explain it simply, you do NOT understand it well enough 现陆续将Demo代码和技术文章整理在一起 "Github实践精选" ,方便大家阅读查看,觉得不错, ...
分类:
其他好文 时间:
2020-02-10 12:06:13
阅读次数:
58
Given a non-negative integer num, return the number of steps to reduce it to zero. If the current number is even, you have to divide it by 2, otherwis ...
分类:
其他好文 时间:
2020-02-10 10:02:26
阅读次数:
76
What is a Test Plan? A TEST PLAN is a detailed document that describes the test strategy, objectives, schedule, estimation and deliverables and resour ...
分类:
其他好文 时间:
2020-02-09 16:22:31
阅读次数:
95
题目如下: Given a m * n matrix mat of ones (representing soldiers) and zeros (representing civilians), return the indexes of the k weakest rows in the mat ...
分类:
其他好文 时间:
2020-02-08 15:55:21
阅读次数:
68
To help explain how the arrangement of models within elements determines the state and behavior of a device, we will use a dual-socket smart power str ...
分类:
其他好文 时间:
2020-02-08 09:54:59
阅读次数:
75
今天学习SparkSQL方面的知识 该模型允许你使用SQL或者DataFrame或DataSet进行关系型查询 Spark SQL划分为四个子项目: Catalyst (sql/catalyst) - 解析关系操作算子和表达式的语法树的实现框架 Execution (sql/core) - 代表pl ...
分类:
其他好文 时间:
2020-02-07 22:13:50
阅读次数:
85