Cheatsheet: Data Structures
    Array / List
    Map / Dict
    Set
    Tuple
    Struct / Data Class
    Stacks
    Other Data Structures
    Collection Conversions
Cheatsheet: Control Flow
Cheatsheet: Class

Polyglot CheatSheet - Slices

Updated: 2022-04-04

Python

arr_slice = arr[start:end]
str_slice = str[start:end]

JavaScript

const arrSlice = arr.slice(start, end);
const strSlice = str.substring(start, end);