240 发简信
IP属地:江苏
  • 朋友圈的断舍离

    时值清明假期,闲来无事想起倒腾微信通讯录了。竟不知不觉已有三百多好友。但,真是我好友的并没有那么多,销售,中介,同事,同学,老师等等感觉好多种渠...

  • 算法之我见(II)

    5.数据结构和算法的关系 1.常见数据结构 线性结构:对应数组,下标访问O(1),排序最快O(nlogn),也有O(n).这是最直观的一个结构。...

  • 算法之我见(I)

    1.算法如何认知 初学算法是建立在数据结构的基础上的,然后基本就是利用一堆数据结构来解决给定的数据题。虽然当时学的还不错,但并不能使我都算法有更...

  • The Singleton Pattern

    本篇我们要讲的是单例模式(the Singleton Pattern)单例模式是旨在创造只被创建一次的对象。 1.模式起源: 首先,让我们探讨以...

  • Jump Game II

    1.题目描述(难度Hard) Given an array of non-negative integers, you are initiall...

  • Maximum XOR of Two Numbers in an Array

    1.题目描述(难度Medium) Given a non-empty array of numbers, a0, a1, a2, … , an-...

  • Remove K Digits

    1.题目描述(难度Medium) Given a non-negative integer num represented as a strin...

  • Gas Station

    1.题目描述(难度Medium) There are N gas stations along a circular route, where ...

  • Longest Palindrome

    1.题目描述(难度Easy) Given a string which consists of lowercase or uppercase l...