Implement a basic calculator to evaluate a simple expression string. The expression string may contain open ( and closing parentheses ), the plus + or ...
分类:
其他好文 时间:
2019-11-10 09:34:42
阅读次数:
95
48. Rotate Image 先按对角线对称图形,再水平对折。 class Solution { public void rotate(int[][] matrix) { //1.transpose for(int i = 0; i < matrix.length; i++){ for(int ...
分类:
其他好文 时间:
2019-11-08 21:12:47
阅读次数:
85
#!/bin/bash ulimit -SHn 65535 export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 library_path="$1" shift exec java -Xmx500M -Xms500M -XX:+AggressiveOpt ...
分类:
编程语言 时间:
2019-11-05 16:54:41
阅读次数:
95
Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is be ...
分类:
其他好文 时间:
2019-11-05 13:57:41
阅读次数:
110
Given an absolute path for a file (Unix-style), simplify it. Or in other words, convert it to the canonical path. In a UNIX-style file system, a perio ...
分类:
其他好文 时间:
2019-11-03 12:53:44
阅读次数:
74
Implement the following operations of a stack using queues. push(x) -- Push element x onto stack. pop() -- Removes the element on top of the stack. to ...
分类:
其他好文 时间:
2019-11-02 12:00:10
阅读次数:
65
Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue. pop() -- Removes the element from in front ...
分类:
其他好文 时间:
2019-11-01 12:33:34
阅读次数:
117
刷LeetCode题目一周,主要采用C++和Python编程手段,截至目前做了5道简单的leetcode题目,做下阶段性的小结: 小结主要通过手撕代码,复习加回顾,尽量避免自己眼高手低的情况发生,对于自己还不熟悉的内容,再次标注出来吗,以下是手撕代码的记录: Python实现: 第二遍编程中出现的问 ...
分类:
其他好文 时间:
2019-10-30 16:48:50
阅读次数:
87
今天来讲一讲光模块接口类型光模块是可以发射和接收模拟信号的光学器件。电信号通过光模块的发射端后转化为光信号,再经过接收端将光信号转化为电信号以此实现光电转换。要想让他们实现信息交换,需要将两个光模块连接起来,那么则需要与之匹配的接口。如下图所示,1个40GQSFP光模块与4个10GSFP光模块相连,需要用MPO-4DLC光纤跳线连接。接口类型主要介绍光模块MPO接口、双芯LC接口、单芯LC、和RJ
分类:
其他好文 时间:
2019-10-29 15:33:56
阅读次数:
432
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo ...
分类:
其他好文 时间:
2019-10-27 13:03:52
阅读次数:
80