mrlonelyjtr's blog

写BUG的程序猿


  • Home

  • Categories

  • Archives

  • Tags

  • Search

[LeetCode] Problem 237 - Delete Node in a Linked List

Posted on 2019-04-07 | In Algorithm , LeetCode
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Given linked list – head = [4,5,1,9], whi ...
Read more »

[LeetCode] Problem 240 - Search a 2D Matrix II

Posted on 2019-04-07 | In Algorithm , LeetCode
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted ...
Read more »

[LeetCode] Problem 74 - Search a 2D Matrix

Posted on 2019-04-07 | In Algorithm , LeetCode
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted ...
Read more »

[LeetCode] Problem 373 - Find K Pairs with Smallest Sums

Posted on 2019-04-05 | In Algorithm , LeetCode
You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. Define a pair (u,v) which consists of one element from th ...
Read more »

[LeetCode] Problem 378 - Kth Smallest Element in a Sorted Matrix

Posted on 2019-04-05 | In Algorithm , LeetCode
Given a n x n matrix where each of the rows and columns are sorted in ascending order, find the kth smallest element in the matrix. Note that it is th ...
Read more »

[LeetCode] Problem 93 - Restore IP Addresses

Posted on 2019-04-05 | In Algorithm , LeetCode
Given a string containing only digits, restore it by returning all possible valid IP address combinations. ExampleInput: “25525511135” Output: [“255.2 ...
Read more »

[LeetCode] Problem 556 - Next Greater Element III

Posted on 2019-04-04 | In Algorithm , LeetCode
Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer n and is gre ...
Read more »

[LeetCode] Problem 503 - Next Greater Element II

Posted on 2019-04-04 | In Algorithm , LeetCode
Given a circular array (the next element of the last element is the first element of the array), print the Next Greater Number for every element. The ...
Read more »

[LeetCode] Problem 496 - Next Greater Element I

Posted on 2019-04-03 | In Algorithm , LeetCode
You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1’ ...
Read more »

[LintCode] Problem 176 - Route Between Two Nodes in Graph

Posted on 2019-04-01 | In Algorithm , LintCode
Given a directed graph, design an algorithm to find out whether there is a route between two nodes. ExampleGiven graph: 123456 A----->B----->C\ ...
Read more »
1…484950…78
mrlonelyjtr

mrlonelyjtr

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

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