240 发简信
IP属地:西藏
  • Docker in practice: pipe stdin into docker executables

    Scenario You are on a machine that does not have tr . You want to use tr...

  • Docker in practice: export a mongodb collection

    Question You starts a remote terminal in a linux machine that has networ...

  • Bubble Sort: Imperative vs Funtional Way

    Imperative Way (Optimized) Functional Way (Not Optimized Yet) Functional...

  • Quicksort idea to solve Kth-largest in O(N)

    Background knowledge The formula relation of Kth big and its element pos...

  • In-place Partition func in quicksort

    ˋˋˋ function partition(nums, left, right) { const pivot = const pivotPo...

  • A glance on PEG.js

    It really reminds my course "automata" in the university. https://pegjs....

  • One-liner JS debug-logger for recursive function coding exercise

    Coding exercise like leetcode, lintcode, hacker rank are just gym rooms ...

  • Stone Game with Recursion

    Many days ago I showed how to use dynamic programming to solve the stone...

  • 2018-06-02 How to do inheritance in JS

    JS is incredibly flexible. This is a quick recipe for OOP people. The ol...