240 发简信
IP属地:香港
  • js中的new到底做了什么?如何手写一个new

    描述过程 1.创建一个js对象2.这个对象的_proto_要指向构造函数的原型prototype3.将这个对象作为this的上下文4.如果这个函...

  • 数据库中的limit和limit offset

    Limit的用法 Limit offset的用法 最后总结一下二者的区别

  • Dev中使用c++11中的函数

    如果想要在Dev-Cpp里面使用C++11特性的函数,比如刷算法中常用的stoi、to_string、unordered_map、unorder...

  • [Leetcode]99. Recover Binary Search Tree

    99. Recover Binary Search Tree Two elements of a binary search tree (BST...

  • [Leetcode]5. Longest Palindromic Substring

    5. Longest Palindromic Substring Given a string s, find the longest pali...

  • [Leetcode]929. Unique Email Addresses

    929. Unique Email Addresses Every email consists of a local name and a d...

  • [Leetcode]49. Group Anagrams

    49. Group Anagrams Given an array of strings, group anagrams together. E...

  • [Leetcode]38. Count and Say

    38. Count and Say The count-and-say sequence is the sequence of integers...

  • [Leetcode]543. Diameter of Binary Tree

    543. Diameter of Binary Tree Given a binary tree, you need to compute th...