码迷,mamicode.com
首页 >  
搜索关键字:lc    ( 989个结果
[LC] 647. Palindromic Substrings
Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are c ...
分类:其他好文   时间:2020-03-29 10:56:42    阅读次数:54
Mac OS使用C-shell的Termial显示和输入中文
搜了一晚上,都是用的B-Shell的,说法也各不相同。参考其中一个,把我的C-shell弄好了。 修改: 1. /etc/csh.cshrc: 加入 setenv LANG en_US.UTF-8 2. ~/.cshrc: setenv LC_ALL en_US.UTF-8alias ls 'ls ...
分类:系统相关   时间:2020-03-29 01:26:24    阅读次数:95
lc-矩形重叠 逆向
class Solution { public boolean isRectangleOverlap(int[] rec1, int[] rec2) { if(rec1[2]<=rec2[0]||rec1[0]>=rec2[2]||rec1[1]>=rec2[3]||rec1[3]<=rec2[1] ...
分类:其他好文   时间:2020-03-18 15:54:22    阅读次数:50
[LC] 254. Factor Combinations
Numbers can be regarded as product of its factors. For example, 8 = 2 x 2 x 2; = 2 x 4. Write a function that takes an integer n and return all possib ...
分类:其他好文   时间:2020-03-17 10:23:21    阅读次数:66
[LC] 729. My Calendar I
Implement a MyCalendar class to store your events. A new event can be added if adding the event will not cause a double booking. Your class will have ...
分类:其他好文   时间:2020-03-14 13:06:36    阅读次数:50
[LC] 1057. Campus Bikes
On a campus represented as a 2D grid, there are N workers and Mbikes, with N <= M. Each worker and bike is a 2D coordinate on this grid. Our goal is t ...
分类:其他好文   时间:2020-03-13 01:49:13    阅读次数:62
LC 1206. Design Skiplist
link class Skiplist { public: struct Node{ int key; Node* down; Node* next; Node(int k, Node* d, Node *n){ key=k; down=d; next=n; } }; Node* head; Ski ...
分类:其他好文   时间:2020-03-07 20:57:00    阅读次数:60
[LC] 170. Two Sum III - Data structure design
Design and implement a TwoSum class. It should support the following operations: add and find. add - Add the number to an internal data structure.find ...
分类:其他好文   时间:2020-03-04 09:16:12    阅读次数:75
[LC] 994. Rotting Oranges
In a given grid, each cell can have one of three values: the value 0 representing an empty cell; the value 1 representing a fresh orange; the value 2  ...
分类:其他好文   时间:2020-03-01 12:42:36    阅读次数:56
硬件知识整理part8--谐振电路理论基础
天行健,君子以自强不息。 --《周易》 在这里必须要讲解一下LC串联谐振和LC并联谐振电路以及它们的特点。 1.串联谐振 由于在交流电路中,电阻的电压和电流是同相位的,电感的电流会滞后电压90度,电容的电流会超前电压90度。所以LC串联电路的矢量图如下图: LC串联电路求解公式: 由以上矢量图及电压 ...
分类:其他好文   时间:2020-02-29 18:58:04    阅读次数:107
989条   上一页 1 ... 9 10 11 12 13 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!