mrlonelyjtr's blog

写BUG的程序猿


  • Home

  • Categories

  • Archives

  • Tags

  • Search

[LintCode] Problem 900 - Closest Binary Search Tree Value

Posted on 2019-07-15 | In Algorithm , LintCode
Given a non-empty binary search tree and a target value, find the value in the BST that is closest to the target. Note Given target value is a floatin ...
Read more »

[LeetCode] Problem 45 - Jump Game II

Posted on 2019-07-15 | In Algorithm , LeetCode
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 maxim ...
Read more »

[LeetCode] Problem 55 - Jump Game

Posted on 2019-07-15 | In Algorithm , LeetCode
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 maxim ...
Read more »

[LeetCode] Problem 52 - N-Queens II

Posted on 2019-07-14 | In Algorithm , LeetCode
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return the ...
Read more »

[LeetCode] Problem 51 - N-Queens

Posted on 2019-07-14 | In Algorithm , LeetCode
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all ...
Read more »

【图解设计模式】Builder模式

Posted on 2019-07-14 | In Design Pattern
用于组装具有复杂结构的实例。 示例编写“文档”。编写出的文档具有以下结构: 含有一个标题 含有几个字符串 含有条目项目 类图 Builder类123456public abstract class Builder { public abstract void makeTitle( ...
Read more »

[LeetCode] Problem 117 - Populating Next Right Pointers in Each Node II

Posted on 2019-07-12 | In Algorithm , LeetCode
Given a binary tree 123456struct Node { int val; Node *left; Node *right; Node *next;} Populate each next pointer to point to i ...
Read more »

[LeetCode] Problem 116 - Populating Next Right Pointers in Each Node

Posted on 2019-07-12 | In Algorithm , LeetCode
You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin ...
Read more »

[LeetCode] Problem 375 - Guess Number Higher or Lower II

Posted on 2019-07-09 | In Algorithm , LeetCode
We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wron ...
Read more »

[LeetCode] Problem 374 - Guess Number Higher or Lower

Posted on 2019-07-09 | In Algorithm , LeetCode
We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wron ...
Read more »
1…303132…78
mrlonelyjtr

mrlonelyjtr

间歇性踌躇满志,持续性混吃等死

780 posts
18 categories
18 tags
Github
© 2020 mrlonelyjtr
Powered by Hexo
Theme - NexT.Pisces