mrlonelyjtr's blog

写BUG的程序猿


  • Home

  • Categories

  • Archives

  • Tags

  • Search

[LintCode] Problem 508 - Wiggle Sort

Posted on 2019-04-09 | In Algorithm , LintCode
Given an unsorted array nums, reorder it in-place such that nums[0] <= nums[1] >= nums[2] <= nums[3]…. ExampleInput: nums = [3,5,2,1,6,4] Out ...
Read more »

[LeetCode] Problem 732 - My Calendar III

Posted on 2019-04-09 | In Algorithm , LeetCode
Implement a MyCalendarThree class to store your events. A new event can always be added. Your class will have one method, book(int start, int end). Fo ...
Read more »

[LeetCode] Problem 731 - My Calendar II

Posted on 2019-04-07 | In Algorithm , LeetCode
Implement a MyCalendarTwo class to store your events. A new event can be added if adding the event will not cause a triple booking. Your class will ha ...
Read more »

[LeetCode] Problem 729 - My Calendar I

Posted on 2019-04-07 | In Algorithm , LeetCode
Implement a MyCalendar class to store your events. A new event can be added if adding the event will not cause a double booking. Your class will have ...
Read more »

[LintCode] Problem 849 - Basic Calculator III

Posted on 2019-04-07 | In Algorithm , LintCode
Implement a basic calculator to evaluate a simple expression string. The expression string may contain open ( and closing parentheses ), the plus + or ...
Read more »

[LeetCode] Problem 227 - Basic Calculator II

Posted on 2019-04-07 | In Algorithm , LeetCode
Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integers, +, -, *, / operators a ...
Read more »

[LeetCode] Problem 224 - Basic Calculator

Posted on 2019-04-07 | In Algorithm , LeetCode
Implement a basic calculator to evaluate a simple expression string. The expression string may contain open ( and closing parentheses ), the plus + or ...
Read more »

[LintCode] Problem 913 - Flip Game II

Posted on 2019-04-07 | In Algorithm , LintCode
You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend take tu ...
Read more »

[LintCode] Problem 914 - Flip Game

Posted on 2019-04-07 | In Algorithm , LintCode
You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend take tu ...
Read more »

[LeetCode] Problem 203 - Remove Linked List Elements

Posted on 2019-04-07 | In Algorithm , LeetCode
Remove all elements from a linked list of integers that have value val. ExampleInput: 1->2->6->3->4->5->6, val = 6 Output: 1->2- ...
Read more »
1…474849…78
mrlonelyjtr

mrlonelyjtr

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

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