Be prepared

Topics: Array (Stack, Queue, Pointer) Quick find all primes Greatest common divisor Find the next greater element (monotone stack) Longest consecutive subarray (swaped queue) Remove duplicates in sorted array Interval intersection Merge intervals Pancake sorting LinkedList Circle in a linkedlist (fast&slow pointer) Linkedlist reverse Remove Nth from the end Heap (PriorityQueue) Find the Kth largest …

5 + 2 Questions

Linked List Cycle II (leetcode 142) Longest Palindromic Substring(leetcode 5) Binary Tree Maximum Path Sum(leetcode 124) Binary Tree Zigzag Level Order Traversal(leetcode 103) Change in a Foreign Currency Optional: Minimizing Permutations 3 Way Quick Sort Quest 1: Linked List Cycle Start Node. Quest 2: Longest Palindromic Substring. Quest 3: Binary Tree Maximum Path Sum Quest …

Design Pattern & Design Principles

分类 设计模式 简述 一句话归纳 目的 生活案例 创建型设计模式(简单来说就是用来创建对象的) 工厂模式(Factory Pattern) 不同条件下创建不同实例 产品标准化,生产更高效 封装创建细节 实体工厂 ^ 单例模式(Singleton Pattern) 保证一个类仅有一个实例,并且提供一个全局访问点 世上只有一个我 保证独一无二 CEO ^ 原型模式(Prototype Pattern) 通过拷贝原型创建新的对象 拔一根猴毛,吹出千万个 高效创建对象 克隆 ^ 建造者模式(Builder Pattern) 用来创建复杂的复合对象 高配中配和低配,想选哪配就哪配 开放个性配置步骤 选配 结构型设计模式(关注类和对象的组合) 代理模式(Proxy Pattern) 为其他对象提供一种代理以控制对这个对象的访问 没有资源没时间,得找别人来帮忙 增强职责 媒婆 ^ 外观模式(Facade Pattern) 对外提供一个统一的接口用来访问子系统 打开一扇门,通向全世界 统一访问入口 前台 ^ 装饰器模式(Decorator Pattern) 为对象添加新功能 他大舅他二舅都是他舅 灵活扩展、同宗同源 煎饼 …

What is a Googol?

short -> Int16.MaxValue == 32767 -> 32,767 ushort -> UInt16.MaxValue == 65535 -> 65,535 int -> Int32.MaxValue == 2147483647 -> 2,147,483,647 uint -> UInt32.MaxValue == 4294967295 -> 4,294,967,295 long -> Int64.MaxValue == 9223372036854775807 -> 9,223,372,036,854,775,807 ulong -> UInt64.MaxValue == 18446744073709551615 -> 18,446,744,073,709,551,615 How to descript a number which is higher than a hundred billion or …

Algorithm 4th Edition

These are 2 links for Algorithm 4th Edition, the English version, and the Chinese version. EN -> https://www.tabtu.top/doc/Algorithms_4th_Edition_en.pdf CH -> https://www.tabtu.top/doc/Algorithms_4th_Edition_ch.pdf JAR package -> https://www.tabtu.top/doc/algs4.jar Code -> https://algs4.cs.princeton.edu/code/ Data -> https://introcs.cs.princeton.edu/java/data/ Index: Fundamentals Basic Programming Model Data Abstraction Bags, Queues, and Stacks Analysis of Algorithms Case Study: Union-Find Sorting Elementary Sorts Mergesort Quicksort Priority Queues …

Load sysobjects from SQLServer

Load all User Table list: Load all User View list: Load User Function list: Load stored procedures list: Load stored procedure modify context: Load view context:

Working on R&D (2020-2021)

Redmine R&D project with Ezi-Technologies. http://xametw57y2.1ju.ca/redmine on tabtu Map Report: (2020.11 – 2021-03) Drawing by map and generate report by current. E-Chart show result by searching cities and communities. Line or Bar grown chart by timing, 2017-01 to current. Calculator on serverless platform. .Net5, C# Source Distribution System: (2021.04 – 2021.10) continue Call CodeDom on …