自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Capacitated Facility Location Problem

Capacitated Facility Location Problem Suppose there are n facilities and m customers. We wish to choose: (1) which of the n facilities to open (2) the assignment of customers to facilities The objecti...

2018-12-23 20:07:05 178

原创 LeetCode-Unique Paths的一种算法

LeetCode-Unique Paths的一种算法 题目链接:https://leetcode.com/problems/unique-paths/ A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below). The robot can only move e...

2018-12-07 20:27:46 254

原创 LeetCode-Jump Game的一种算法

LeetCode-Jump Game的一种算法 题目链接:https://leetcode.com/problems/jump-game/ Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array...

2018-11-30 23:26:13 258

原创 LeetCode-String to Integer (atoi)的一种算法

LeetCode-String to Integer (atoi)的一种算法 题目链接:https://leetcode.com/problems/string-to-integer-atoi/description/ Implement atoi which converts a string to an integer. The function first discards as man...

2018-11-24 20:29:30 169

原创 LeetCode-Palindrome Number的两种算法

LeetCode-Palindrome Number的两种算法 题目链接:https://leetcode.com/problems/palindrome-number/description/ Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same back...

2018-11-17 23:20:55 139

原创 LeetCode-Search Insert Position的一种算法

LeetCode-Search Insert Position的一种算法 题目链接:https://leetcode.com/problems/search-insert-position/description/ Given a sorted array and a target value, return the index if the target is found. If not, ...

2018-11-11 21:32:14 142

原创 LeetCode-Two Sum的一种算法

LeetCode-Two Sum的一种算法 题目链接:https://leetcode.com/problems/two-sum/description/ Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume...

2018-11-03 21:30:01 144

原创 LeetCode-Implement strStr()的一种算法

LeetCode-Implement strStr()的一种算法 题目链接:https://leetcode.com/problems/implement-strstr/description/ Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle ...

2018-10-26 21:09:25 165

原创 LeetCode-Remove Nth Node From End of List的一种算法

LeetCode-Remove Nth Node From End of List的一种算法 题目链接:https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/ Given a linked list, remove the n-th node from the end of list and ret...

2018-10-19 20:43:22 158

原创 LeetCode-Reverse Integer的一种算法

LeetCode-Reverse Integer的一种算法 题目链接:https://leetcode.com/problems/reverse-integer/description/ Given a binary tree, return the zigzag level order traversal of its nodes’ values. (ie, from left to rig...

2018-10-11 20:39:52 135

原创 # LeetCode-Binary Tree Zigzag Level Order Traversal一种算法

LeetCode-Binary Tree Zigzag Level Order Traversal一种算法 题目链接:https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/description/ Given a binary tree, return the zigzag level order trav...

2018-09-29 00:00:12 159

原创 LeetCode-Sum Root to Leaf Numbers一种算法

LeetCode-Sum Root to Leaf Numbers一种算法 题目链接:https://leetcode.com/problems/sum-root-to-leaf-numbers/description/ Given a binary tree containing digits from 0-9 only, each root-to-leaf path could repre...

2018-09-20 23:51:34 240

原创 LeetCode-Longest Substring Without Repeating Characters一种算法

LeetCode-Longest Substring Without Repeating Characters一种算法 https://leetcode.com/problems/longest-substring-without-repeating-characters/description/ Given a string, find the length of the longe...

2018-09-14 21:42:39 134

原创 LeetCode-Add Two Numbers一种算法

LeetCode-Add Two Numbers一种算法 题目链接:https://leetcode.com/problems/add-two-numbers/description/ You are given two non-empty linked lists representing two non-negative integers. The digits are store...

2018-09-04 23:13:09 148

空空如也

空空如也

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

TA关注的人

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