ZMR小站

很高兴遇见你~


  • 首页

  • 标签

  • 分类

  • 归档

一次逆向失败

发表于 2016-09-21 | 分类于 blog

记一次失败的逆向&未完待续???

据说失败是成功之母。。汪汪汪。。

于是记录下这次失败的逆向过程。。汪汪汪。。
希望有朝一日能够成功~蠢真脸。

一次逆向获取接口的过程

阅读全文 »

p198

发表于 2016-09-19 | 分类于 blog

LeetCode p198 Combinations 题解

1.题目:

You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security system connected and it will automatically contact the police if two adjacent houses were broken into on the same night.
Given a list of non-negative integers representing the amount of money of each house, determine the maximum amount of money you can rob tonight without alerting the police.

阅读全文 »

p64

发表于 2016-09-15 | 分类于 blog

LeetCode p64 Minimum Path Sum 题解

1.题目:

Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.

阅读全文 »

p24

发表于 2016-09-15 | 分类于 blog

LeetCode p24 Swap Nodes in Pairs 题解

1.题目:

Given a linked list, swap every two adjacent nodes and return its head.
For example,
Given 1->2->3->4, you should return the list as 2->1->4->3.
Your algorithm should use only constant space. You may not modify the values in the list, only nodes itself can be changed.

阅读全文 »

p342

发表于 2016-09-15 | 分类于 blog

LeetCode p342 Power of Four 题解

1.题目:

Given an integer (signed 32 bits), write a function to check whether it is a power of 4.
Example:
Given num = 16, return true. Given num = 5, return false.
Follow up: Could you solve it without loops/recursion?

阅读全文 »

p345

发表于 2016-09-15 | 分类于 blog

LeetCode p345 Reverse Vowels of a String 题解

1.题目:

Write a function that takes a string as input and reverse only the vowels of a string.
Example 1:
Given s = “hello”, return “holle”.
Example 2:
Given s = “leetcode”, return “leotcede”.
Note:
The vowels does not include the letter “y”.

阅读全文 »

p240

发表于 2016-09-15 | 分类于 blog

LeetCode p240 Search a 2D Matrix II 题解

1.题目:

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 in ascending from left to right.
Integers in each column are sorted in ascending from top to bottom.

For example,

Consider the following matrix:

[
[1, 4, 7, 11, 15],
[2, 5, 8, 12, 19],
[3, 6, 9, 16, 22],
[10, 13, 14, 17, 24],
[18, 21, 23, 26, 30]
]

Given target = 5, return true.
Given target = 20, return false.

阅读全文 »

1…171819…33
ZhangMengRou

ZhangMengRou

ZMR小站

230 日志
4 分类
14 标签
© 2019 ZhangMengRou
由 Hexo 强力驱动
|
主题 — NexT.Gemini v5.1.4