{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Array\n", "- Python use reference when slide or extend an array. (Because python uses immutable value for integers and strings)\n", "## Dynamic Array Implementation\n", "- The array has an initial size and will expand twice when extending.\n" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "\" \".join()\n", "reversed()\n", "s.split()\n", "len(set(s))" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.2" } }, "nbformat": 4, "nbformat_minor": 2 }