![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习笔记
文章平均质量分 70
nanjingdc
More breakpoints in my life
展开
-
REST Design 学习笔记
Representative State Transfer(REST)是目前业界比较流行的一种系统架构设计风格。很多大公司内部没有专门的培训,但是比较统一的系统设计都会遵循一些REST的约束和框架。如果我们完全遵循REST来设计网络服务,那么这个网络服务也可以叫做RESTful的服务。想要彻底明白REST,需要先理清几个概念:资源(Resources):在REST中,资源是客户端从服务器端所请...原创 2020-03-30 05:06:13 · 234 阅读 · 0 评论 -
LeetCode 315 - Count of Smaller Numbers After Self
You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the number of smaller elements to the right of nums[i].Example:...原创 2018-07-07 11:49:54 · 208 阅读 · 0 评论 -
LeetCode 87 - Scramble String
原题: Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively. Below is one possible representation of s1 = “great”: great / \ ...原创 2018-06-27 12:49:33 · 180 阅读 · 0 评论 -
LeetCode 85 - Maximal Rectangle
原题: Given a 2D binary matrix filled with 0’s and 1’s, find the largest rectangle containing only 1’s and return its area.Example:Input:[ ["1","0","1","0","0"], ["1","0","1&原创 2018-06-27 12:28:53 · 136 阅读 · 0 评论 -
LeetCode 406 - Queue Reconstruction by Height
原题: Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the person and k is the number of people in front of ...原创 2018-07-09 03:05:14 · 170 阅读 · 0 评论 -
LeetCode 80 - Remove Duplicate From Sorted Array II
原题: Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length. Do not allocate extra space for another array, you must do this b...原创 2018-06-26 13:41:14 · 123 阅读 · 0 评论 -
LeetCode 57 - Insert Interval
原题: Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initially sorted according to their start times....原创 2018-06-26 13:20:37 · 79 阅读 · 0 评论 -
LeetCode 45 - Jump Game II
原题: 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 maximum jump length at that position. Your goal ...原创 2018-06-26 12:52:35 · 121 阅读 · 0 评论 -
LeetCode 39 - Combination Sum
原题:Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the candidate numbers sums to target.The same r...原创 2018-06-26 12:33:51 · 103 阅读 · 0 评论 -
Leetcode 4 - Median of Two Sorted Arrays
There are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).大致题意就是:对于两个排好序的数组nums1和nums2,s...原创 2018-06-26 12:05:13 · 75 阅读 · 0 评论 -
信息安全学习笔记-简单linux命令与c语言编程
最近开始陪女朋友上信息安全课,其实就是帮她做作业。由于她实在是没有编程基础,基本上第一个project一大半都是我完成的。其主要内容就是写几个简单的c语言程序去产生(exploit)一个栈缓存溢出或者是堆溢出。我基础也好不到哪里去,不过平时上班c++会用到。但毕竟不是科班出身,对于基础的c语言编程、汇编代码等内容几乎没有接触过。我不上课(懒+那老师基本不讲关键点),但幸运地在youtube上面找到...原创 2018-02-09 14:35:00 · 519 阅读 · 0 评论