标签: 算法
-
leetcode讲解–884. Uncommon Words from Two Sentences
We are given two sentences A and B. (A sentence is a st…
-
算法之旅总览
常用算法思想 回溯法 分治法(Divide and Conquer)怎么用? 动态规划怎么用? 常见动态规划的…
-
leetcode讲解–791. Custom Sort String
S and T are strings composed of lowercase letters. In S…
-
leetcode讲解–897. Increasing Order Search Tree
Given a tree, rearrange the tree in in-order so that th…
-
一篇文章了解广告全链路
笔者加入腾讯已经快5年时光,一直负责广告前端研发工作。最近即将离开公司,特意将广告的全链路整理了一下,作为自己…
-
leetcode讲解–959. Regions Cut By Slashes
In a N x N grid composed of 1 x 1 squares, each 1 x 1 s…
-
leetcode讲解–766. Toeplitz Matrix
A matrix is Toeplitz if every diagonal from top-left to…
-
leetcode讲解–893. Groups of Special-Equivalent Strings
Two strings S and T are special-equivalent if after any…
-
965-单值二叉树
如果二叉树每个节点都具有相同的值,那么该二叉树就是单值二叉树。 只有给定的树是单值二叉树时,才返回 true;…
-
leetcode讲解–821. Shortest Distance to a Character
Given a string S and a character C, return an array of …