Skip to content

Instantly share code, notes, and snippets.

View kruzus's full-sized avatar
:atom:
Focusing

bek kruzus

:atom:
Focusing
  • 02:50 (UTC -04:00)
View GitHub Profile
Big O complexities for common methods of Java Collections and common sorting algorithms.
Complexity (Best to Worst)
===================================================================================================
O(1) < O(log n) < O(n) < O(n log n) < O(n^2) < O(2^n) < O(n!)
Collections
===================================================================================================
@kruzus
kruzus / linux-cmd-cheatsheet.md
Created February 5, 2021 23:30 — forked from riipandi/linux-cmd-cheatsheet.md
Linux Command Cheat Sheet

#Linux Cheat Sheet

##File Commands:

  • ls – directory listing
  • ls -al – formatted listing with hidden files
  • cd dir - change directory to dir
  • cd – change to home
  • pwd – show current directory
  • mkdir dir – create a directory dir
  • rm file – delete file
@kruzus
kruzus / chmodCheatSheet.md
Created February 5, 2021 23:30 — forked from juanarbol/chmodCheatSheet.md
Chmod cheat sheet

Chmod codes cheat sheet

How to use chmod codes in UNIX:

  1. There are three types of permissions in files and folders in unix
    1. Read (r)
    2. Write (w)
    3. Execute (x)
  2. And, there is a classification of users called UGO (explained bellow):
  3. U ~> User (usually, you)