自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(115)
  • 收藏
  • 关注

原创 零基础做算法?清华计算机系学长带你斩获大厂算法校招SSP

每年秋招的时候,知乎都会有对于算法岗内卷的讨论,从18年是否值得进入,19年供大于求,20年一片红海诸神黄昏,21年灰飞烟灭到22年人间地狱。不改变的是算法岗很卷的事实,在变化的是薪资包越来越大。方向有多卷,包就有多大,这就是为什么算法岗一直红海的原因。因此,如何让自己脱颖而出,成为卷王?下面将从确定求职方向、算法岗秋招时间线、算法岗面试流程进行细致介绍(文末会有彩蛋)。

2022-03-29 22:15:15 2098

原创 带你走遍2018年清北中科院计算机相关保研夏令营、预推免的全过程和必须要注意的坑(干货满满)

前言这是一篇笔者的保研经历回顾,主要是针对于计算机专业,不过很多地方也适用于其他专业。如有错误,欢迎交流指正:)笔者的保研准备是从大三下(大概是18年4月份)才开始的,之前一直是抱着出国的想法去准备各种东西。后来由于各种原因没有选择出国(其中一个原因也是为了圆儿时的清华梦XD)。首先列出笔者的基本情况:本科院校中山大学本科专业软件工程专业排名3/119竞...

2018-09-25 13:19:19 14034 10

原创 Beautiful Arrangement

[leetcode]Beautiful Arrangement链接:https://leetcode.com/problems/beautiful-arrangement/description/QuestionSuppose you have N integers from 1 to N. We define a beautiful arrangement as an array...

2018-08-27 11:09:48 270

原创 URL映射

[CCF]URL映射QuestionURL 映射是诸如 Django、Ruby on Rails 等网页框架 (web frameworks) 的一个重要组件。对于从浏览器发来的 HTTP 请求,URL 映射模块会解析请求中的 URL 地址,并将其分派给相应的处理代码。现在,请你来实现一个简单的 URL 映射功能。   本题中 URL 映射功能的配置由若干条 URL 映射规则组成。当...

2018-08-21 19:10:52 262

原创 Unique Substrings in Wraparound String

[leetcode]Unique Substrings in Wraparound String链接:https://leetcode.com/problems/unique-substrings-in-wraparound-string/description/QuestionConsider the string s to be the infinite wraparound ...

2018-08-21 19:07:31 149

原创 Unique Binary Search Trees II

[leetcode]Unique Binary Search Trees II链接:https://leetcode.com/problems/unique-binary-search-trees-ii/description/QuestionGiven an integer n, generate all structurally unique BST’s (binary sea...

2018-08-21 18:59:55 123

原创 Ugly Number II

[leetcode]Ugly Number链接:https://leetcode.com/problems/ugly-number/description/QuestionWrite a program to find the n-th ugly number.Ugly numbers are positive numbers whose prime factors only ...

2018-08-14 22:12:14 167

原创 Triangle

[leetcode]Triangle链接:https://leetcode.com/problems/triangle/description/QuestionGiven a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on th...

2018-08-14 22:11:54 367

原创 Task Scheduler

[leetcode]Task Scheduler链接:https://leetcode.com/problems/task-scheduler/description/QuestionGiven a char array representing tasks CPU need to do. It contains capital letters A to Z where diffe...

2018-08-14 22:11:35 338

原创 Split Array into Fibonacci Sequence

[leetcode]Split Array into Fibonacci Sequence链接:https://leetcode.com/problems/split-array-into-fibonacci-sequence/description/QuestionGiven a string S of digits, such as S = "123456579", we ca...

2018-08-14 22:11:07 209

原创 Split Array into Consecutive Subsequences

[leetcode]Split Array into Consecutive Subsequences链接:https://leetcode.com/problems/split-array-into-consecutive-subsequences/QuestionYou are given an integer array sorted in ascending order (...

2018-08-14 22:10:45 153

原创 Soup Servings

[leetcode]Soup Servings链接:https://leetcode.com/problems/soup-servings/description/QuestionThere are two types of soup: type A and type B. Initially we have N ml of each type of soup. There are...

2018-08-14 22:10:25 164

原创 Score After Flipping Matrix

[leetcode]Score After Flipping Matrix链接:https://leetcode.com/problems/score-after-flipping-matrix/description/QuestionWe have a two dimensional matrix A where each value is 0 or 1.A move con...

2018-08-14 22:10:04 115

原创 Restore IP Addresses

[leetcode]Restore IP Addresses链接:https://leetcode.com/problems/restore-ip-addresses/description/QuestionGiven a string containing only digits, restore it by returning all possible valid IP add...

2018-08-14 22:09:32 98

原创 Reorganize String

[leetcode]Reorganize String链接:https://leetcode.com/problems/reorganize-string/description/QuestionGiven a string S, check if the letters can be rearranged so that two characters that are adjac...

2018-08-14 22:08:58 180

原创 Remove K Digits

[leetcode]Remove K Digits链接:https://leetcode.com/problems/remove-k-digits/description/QuestionGiven a non-negative integer num represented as a string, remove k digits from the number so that ...

2018-08-14 22:07:43 150

原创 Perfect Squares

[leetcode]Perfect Squares链接:https://leetcode.com/problems/ugly-number/description/QuestionGiven a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16,...

2018-08-12 21:57:01 150

原创 Partition to K Equal Sum Subsets

[leetcode]Partition to K Equal Sum Subsets链接:https://leetcode.com/problems/partition-to-k-equal-sum-subsets/description/QuestionGiven an array of integers nums and a positive integer...

2018-08-12 21:56:34 184

原创 Partition Equal Subset Sum.cpp

[leetcode]416-Partition Equal Subset Sum链接:https://leetcode.com/problems/partition-equal-subset-sum/description/QuestionGiven a non-empty array containing only positive integers, find if the a...

2018-08-12 21:56:13 123

原创 Out of Boundary Paths

[leetcode]Out of Boundary Paths链接:https://leetcode.com/problems/out-of-boundary-paths/description/QuestionThere is an m by n grid with a ball. Given the start coordinate&nb...

2018-08-12 21:55:58 288

原创 Ones and Zeroes

[leetcode]Ones and Zeroes链接:https://leetcode.com/problems/ones-and-zeroes/description/QuestionIn the computer world, use restricted resource you have to generate maximum benefit is what we alw...

2018-08-12 21:55:42 158

原创 My Calendar II

[leetcode]My Calendar II链接:https://leetcode.com/problems/my-calendar-ii/QuestionImplement a MyCalendarTwo class to store your events. A new event can be added if adding the event will not caus...

2018-08-12 21:55:24 168

原创 Monotone Increasing Digits

[leetcode]Monotone Increasing Digits链接:https://leetcode.com/problems/monotone-increasing-digits/description/QuestionGiven a non-negative integer N, find the largest number that is less than or...

2018-08-12 21:54:38 154

原创 Minimum Path Sum

[leetcode]Minimum Path Sum链接:https://leetcode.com/problems/minimum-path-sum/description/QuestionGiven a m x n grid filled with non-negative numbers, find a path from top left to bottom right w...

2018-08-12 21:54:12 100

原创 Minimum Absolute Difference in BST

[leetcode]Minimum Absolute Difference in BST链接:https://leetcode.com/problems/minimum-absolute-difference-in-bst/description/QuestionGiven a binary search tree with non-negative values, find th...

2018-08-12 21:53:49 160

原创 Largest Divisible Subset

[leetcode]Largest Divisible Subset链接:https://leetcode.com/problems/largest-divisible-subset/description/QuestionGiven a set of distinct positive integers, find the largest subset such that eve...

2018-08-12 21:53:12 106

原创 K-th Symbol in Grammar

[leetcode]K-th Symbol in Grammar链接:https://leetcode.com/problems/reorganize-string/description/QuestionOn the first row, we write a 0. Now in every subsequent row, we look at the previous row ...

2018-08-11 22:21:32 143

原创 Jump Game

[leetcode]Jump Game链接:https://leetcode.com/problems/jump-game/description/QuestionGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each e...

2018-08-11 22:21:14 103

原创 Increasing Subsequences

[leetcode]Increasing Subsequences链接:https://leetcode.com/problems/increasing-subsequences/description/QuestionGiven an integer array, your task is to find all the different possible increasing...

2018-08-11 22:20:37 87

原创 Guess Number Higher or Lower

[leetcode]Guess Number Higher or Lower链接:https://leetcode.com/problems/guess-number-higher-or-lower/description/QuestionWe are playing the Guess Game. The game is as follows:I pick a number ...

2018-08-11 22:20:19 141

原创 Guess Number Higher or Lower II

[leetcode]Guess Number Higher or Lower II链接:https://leetcode.com/problems/guess-number-higher-or-lower-ii/description/QuestionWe are playing the Guess Game. The game is as follows:I pick a n...

2018-08-11 22:19:57 170

原创 Dota2 Senate

[leetcode]Dota2 Senate链接:https://leetcode.com/problems/dota2-senate/description/QuestionIn the world of Dota2, there are two parties: the Radiant and the Dire.The Dota2 senate consists of se...

2018-08-11 22:19:33 483

原创 Domino and Tromino Tiling

[leetcode]Domino and Tromino Tiling链接:https://leetcode.com/problems/domino-and-tromino-tiling/description/QuestionWe have two types of tiles: a 2x1 domino shape, and an “L” tromino shape. Thes...

2018-08-11 22:19:10 182

原创 Contains Duplicate III

[leetcode]Contains Duplicate III链接:https://leetcode.com/problems/contains-duplicate-iii/description/QuestionGiven an array of integers, find out whether there are two distinct indices i&n...

2018-08-11 22:18:53 85

原创 Advantage Shuffle

[leetcode]Advantage Shuffle链接:https://leetcode.com/problems/advantage-shuffle/description/QuestionGiven two arrays A and B of equal size, the advantage of A with respect to B is the number of ...

2018-08-11 22:18:02 257

原创 Walking Robot Simulation

[leetcode]Walking Robot Simulation链接:https://leetcode.com/problems/walking-robot-simulation/description/QuestionA robot on an infinite grid starts at point (0, 0) and faces north. The robot c...

2018-08-08 22:35:03 215

原创 Score After Flipping Matrix

[leetcode]Score After Flipping Matrix链接:https://leetcode.com/problems/score-after-flipping-matrix/description/QuestionWe have a two dimensional matrix A where each value is 0 or 1.A move con...

2018-08-08 22:34:41 124

原创 Queue Reconstruction by Height

[leetcode]Queue Reconstruction by Height链接:https://leetcode.com/problems/queue-reconstruction-by-height/description/QuestionSuppose you have a random list of people standing in a queue. Each p...

2018-08-08 22:34:17 129

原创 Partition Labels

[leetcode]Partition Labels链接:https://leetcode.com/problems/partition-labels/description/QuestionA string S of lowercase letters is given. We want to partition this string into as many parts as...

2018-08-08 22:33:55 130

原创 Non-overlapping Intervals

[leetcode]Non-overlapping Intervals链接:https://leetcode.com/problems/non-overlapping-intervals/description/QuestionGiven a collection of intervals, find the minimum number of intervals you need...

2018-08-08 22:33:33 119

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除