Skip to content

Instantly share code, notes, and snippets.

View ADU-21's full-sized avatar

Luke Du ADU-21

View GitHub Profile
@ADU-21
ADU-21 / gist:3aa17ea810ad5725c94358eaa907ff7f
Last active October 30, 2023 19:14 — forked from psayre23/gist:c30a821239f4818b0709
Runtime Complexity of Java Collections
Below are the Big O performance of common functions of different Java Collections.
List | Add | Remove | Get | Contains | Next | Data Structure
---------------------|------|--------|------|----------|------|---------------
ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array
LinkedList | O(1) | O(n) | O(n) | O(n) | O(1) | Double Linked List
CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array
@ADU-21
ADU-21 / README.md
Created August 16, 2016 11:27 — forked from mbbx6spp/README.md
Best UNIX shell-based tools I can't live without with example usages

Best UNIX Shell tools

These are a list of usages of shell commands I can't live without on UNIX-based systems.

Install

Mac OS X

Using Homebrew (yes, I am opinionated) you can install the following tools with the following packages: