From fcf48070b29aaa64821bdcc543db71ba6a3430c8 Mon Sep 17 00:00:00 2001 From: Jeffrey Date: Fri, 9 Jun 2017 13:38:03 +0800 Subject: [PATCH] leetcode update --- .gitignore | 207 ++++++ .idea/AlgorithmsByPython.iml | 2 +- .idea/misc.xml | 12 +- .idea/workspace.xml | 700 +++++++++++------- BinarySearch.py | 2 +- BinarySearchTree.py | 16 +- BurstBalloons.py | 56 ++ Dynamic Programming.py | 40 +- MergeSort.py | 11 +- QuickSort.py | 41 +- ...44\345\201\232\345\212\240\346\263\225.py" | 4 +- ...15\350\275\254\351\223\276\350\241\250.py" | 7 +- ...45\345\217\212\350\277\233\351\230\266.py" | 29 +- divideAndConquer.py | 16 +- regularExpression/.idea/misc.xml | 14 - regularExpression/.idea/modules.xml | 8 - regularExpression/.idea/regularExpression.iml | 11 - regularExpression/.idea/workspace.xml | 466 ------------ 18 files changed, 791 insertions(+), 851 deletions(-) create mode 100644 .gitignore create mode 100644 BurstBalloons.py rename "Target Offer/\351\233\266\351\222\261\346\211\276\351\233\266\344\273\245\345\217\212\350\277\233\351\230\266" => "Target Offer/\351\233\266\351\222\261\346\211\276\351\233\266\344\273\245\345\217\212\350\277\233\351\230\266.py" (57%) delete mode 100644 regularExpression/.idea/misc.xml delete mode 100644 regularExpression/.idea/modules.xml delete mode 100644 regularExpression/.idea/regularExpression.iml delete mode 100644 regularExpression/.idea/workspace.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..98d341f --- /dev/null +++ b/.gitignore @@ -0,0 +1,207 @@ +# Created by .ignore support plugin (hsz.mobi) +### Python template +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# dotenv +.env + +# virtualenv +.venv +venv/ +ENV/ + +# Spyder project settings +.spyderproject + +# Rope project settings +.ropeproject +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff: +.idea/**/workspace.xml +.idea/**/tasks.xml + +# Sensitive or high-churn files: +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.xml +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml + +# Gradle: +.idea/**/gradle.xml +.idea/**/libraries + +# Mongo Explorer plugin: +.idea/**/mongoSettings.xml + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties +### Gradle template +.gradle +/build/ + +# Ignore Gradle GUI config +gradle-app.setting + +# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) +!gradle-wrapper.jar + +# Cache of project +.gradletasknamecache + +# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898 +# gradle/wrapper/gradle-wrapper.properties +### Eclipse template + +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.settings/ +.loadpath +.recommenders + +# Eclipse Core +.project + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# PyDev specific (Python IDE for Eclipse) +*.pydevproject + +# CDT-specific (C/C++ Development Tooling) +.cproject + +# JDT-specific (Eclipse Java Development Tools) +.classpath + +# Java annotation processor (APT) +.factorypath + +# PDT-specific (PHP Development Tools) +.buildpath + +# sbteclipse plugin +.target + +# Tern plugin +.tern-project + +# TeXlipse plugin +.texlipse + +# STS (Spring Tool Suite) +.springBeans + +# Code Recommenders +.recommenders/ + +.idea +.idea/AlgorithmsByPython.iml +*.iml diff --git a/.idea/AlgorithmsByPython.iml b/.idea/AlgorithmsByPython.iml index e451288..20a7513 100644 --- a/.idea/AlgorithmsByPython.iml +++ b/.idea/AlgorithmsByPython.iml @@ -2,7 +2,7 @@ - + diff --git a/.idea/misc.xml b/.idea/misc.xml index 6985f4e..517284e 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,14 +1,4 @@ - - - - - - - - - - - + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7657e1d..fed10ca 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,24 @@ - + + + + + + + + + + + + + + + + + @@ -14,6 +30,17 @@ + + + + + + + + + + + @@ -27,46 +54,58 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + @@ -83,18 +122,6 @@ - -