Problem : Given a non empty array of non negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elemen ...
分类:
其他好文 时间:
2020-04-18 18:27:07
阅读次数:
49
Problem : Given a non negative integer, you could swap two digits at most once to get the maximum valued number. Return the maximum valued number you ...
分类:
其他好文 时间:
2020-04-18 13:33:58
阅读次数:
75
1、切换到dev后,当远端代码被修改,无法正常提交代码时: [rejected] dev -> dev (non-fast-forward) git checkout dev //切换分支 git fetch origin dev //获取远程dev分支的修改 git merge origin de ...
分类:
其他好文 时间:
2020-04-15 10:48:24
阅读次数:
57
Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) Yo ...
分类:
其他好文 时间:
2020-04-14 22:48:18
阅读次数:
67
Problem : Given two non negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: 1. The length of both num1 and n ...
分类:
其他好文 时间:
2020-04-11 23:42:02
阅读次数:
75
Given a non empty, singly linked list with head node head, return a middle node of linked list. If there are two middle nodes, return the second middl ...
分类:
其他好文 时间:
2020-04-08 22:19:40
阅读次数:
93
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style type="text/css"> * { margin: 0; padding: 0; } ul { list-style: non ...
分类:
其他好文 时间:
2020-04-08 21:05:11
阅读次数:
73
Problem : Given an array, rotate the array to the right by k steps, where k is non negative. Example 1: Example 2: Note: Try to come up as many soluti ...
分类:
其他好文 时间:
2020-04-06 18:59:35
阅读次数:
67
0.写在前面 本文首发于公众号【 两猿社 】,后续将在公众号内持续更新~ 其实算下来接触PCIe很久了,但是由于之前换工作,一直没有系统的学习和练手项目,现在新项目买了Synopsys的PCIe IP,总算是有机会和时间来整理学习了~~~ 目前PCI Express总线取代PCI总线成为PC局部总线 ...
分类:
其他好文 时间:
2020-04-06 12:04:49
阅读次数:
129
Given a non empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runti ...
分类:
其他好文 时间:
2020-04-06 09:48:06
阅读次数:
63