├── .gitignore ├── Algorithm ├── Implementation │ ├── 1-angry-professor.php │ ├── 10-the-grid-search.php │ ├── 11-cavity-map.cpp │ ├── 11-cavity-map.php │ ├── 12-library-fine.cpp │ ├── 12-library-fine.php │ ├── 12-manasa-and-stones.cpp │ ├── 12-manasa-and-stones.php │ ├── 13-acm-icpc-team.c │ ├── 13-acm-icpc-team.cpp │ ├── 13-acm-icpc-team.php │ ├── 14-extra-long-factorials.c │ ├── 14-extra-long-factorials.php │ ├── 15-taum-and-bday.c │ ├── 15-taum-and-bday.php │ ├── 16-the-time-in-words.php │ ├── 17-kaprekar-numbers.php │ ├── 18-encryption.cpp │ ├── 18-encryption.php │ ├── 19-matrix-rotation-algo.cpp │ ├── 2-sherlock-and-the-beast.cpp │ ├── 2-sherlock-and-the-beast.php │ ├── 3-utopian-tree.cpp │ ├── 3-utopian-tree.php │ ├── 4-find-digits.cpp │ ├── 4-find-digits.php │ ├── 5-sherlock-and-squares.cpp │ ├── 5-sherlock-and-squares.php │ ├── 6-service-lane.c │ ├── 6-service-lane.cpp │ ├── 6-service-lane.php │ ├── 7-cut-the-sticks.cpp │ ├── 7-cut-the-sticks.php │ ├── 8-chocolate-feast.c │ ├── 8-chocolate-feast.php │ ├── 9-caesar-cipher-1.c │ ├── 9-caesar-cipher-1.php │ └── a.out ├── Search │ ├── 1-sherlock-and-array.cpp │ ├── 1-sherlock-and-array.php │ ├── 2-icecream-parlor.php │ ├── 3-maximise-sum.cpp │ ├── 3-maximise-sum.php │ ├── 4-missing-numbers.cpp │ ├── 4-missing-numbers.php │ └── 5-connected-cell-in-a-grid.php ├── Sorting │ ├── 1-tutorial-intro.cpp │ ├── 1-tutorial-intro.php │ ├── 10-quicksort4.php │ ├── 11-countingsort1.php │ ├── 12-countingsort2.php │ ├── 13-countingsort3.php │ ├── 14-countingsort4.cpp │ ├── 14-countingsort4.php │ ├── 15-closest-numbers.php │ ├── 16-find-median.php │ ├── 17-sherlock-and-watson.php │ ├── 18-almost-sorted.cpp │ ├── 18-almost-sorted.php │ ├── 19-sherlock-and-pairs.php │ ├── 2-insertionsort1.php │ ├── 20-insertion-sort.cpp │ ├── 20-insertion-sort.php │ ├── 3-insertionsort2.php │ ├── 4-correctness-invariant.php │ ├── 5-runningtime.php │ ├── 6-quicksort1.php │ ├── 7-quicksort2.php │ ├── 8-quicksort3.cpp │ ├── 8-quicksort3.php │ ├── 9-bigger-is-greater.cpp │ ├── 9-bigger-is-greater.php │ └── a.out ├── String │ ├── 1-pangrams.c │ ├── 1-pangrams.php │ ├── 10-palindrome-index.php │ ├── 11-reverse-shuffle-merge.php │ ├── 12-the-love-letter-mystery.cpp │ ├── 12-the-love-letter-mystery.php │ ├── 13-common-child.cpp │ ├── 14-morgan-and-a-string.php │ ├── 15-sherlock-and-valid-string.php │ ├── 16-count-string.php │ ├── 17-string-function-calculation.cpp │ ├── 17-string-function-calculation.php │ ├── 2-funny-string.cpp │ ├── 2-funny-string.php │ ├── 22-string-similarity.cpp │ ├── 22-string-similarity.php │ ├── 3-alternating-characters.cpp │ ├── 3-alternating-characters.php │ ├── 4-game-of-thrones.cpp │ ├── 4-game-of-thrones.php │ ├── 5-gem-stones.cpp │ ├── 5-gem-stones.php │ ├── 6-make-it-anagram.cpp │ ├── 6-make-it-anagram.php │ ├── 7-anagram.cpp │ ├── 7-anagram.php │ ├── 8-two-string.cpp │ ├── 8-two-string.php │ ├── 9-sherlock-and-anagrams.cpp │ └── a.out └── Warmup │ ├── 1-solve-me-first.c │ ├── 2-simple-array-sum.c │ ├── 3-a-very-big-sum.cpp │ ├── 4-diagonal-difference.cpp │ ├── 4-diagonal-difference.php │ ├── 5-plus-minus.c │ ├── 6-staircase.c │ ├── 6-staircase.php │ ├── 7-time-conversion.cpp │ └── 7-time-conversion.php ├── C++ ├── Classes │ ├── 1-c-tutorial-struct.cpp │ ├── 2-c-tutorial-class.cpp │ ├── 3-classes-objects.cpp │ ├── 4-c-class-templates.cpp │ ├── 5-box-it.cpp │ ├── 6-attending-workshops.cpp │ ├── 7-abstract-classes-polymorphism.cpp │ └── a.out ├── Inheritance │ ├── 1-inheritance-introduction.cpp │ ├── 2-rectangle-area.cpp │ ├── 3-multi-level-inheritance-cpp.cpp │ └── 4-accessing-inherited-functions.cpp ├── Introdution │ ├── 1-cpp-hello-world.cpp │ ├── 10-variable-sized-arrays.cpp │ ├── 11-overload-operators.cpp │ ├── 12-virtual-functions.cpp │ ├── 13-bitset-1.cpp │ ├── 2-cpp-input-and-output.cpp │ ├── 3-c-tutorial-basic-data-types.cpp │ ├── 4-c-tutorial-conditional-if-else.cpp │ ├── 5-c-tutorial-for-loop.cpp │ ├── 6-c-tutorial-functions.cpp │ ├── 7-c-tutorial-pointer.cpp │ ├── 8-arrays-introduction.cpp │ ├── 9-operator-overloading.cpp │ └── a.out ├── STL │ ├── 1-vector-sort.cpp │ ├── 2-vector-erase.cpp │ ├── 3-cpp-lower-bound.cpp │ ├── 4-cpp-sets.cpp │ ├── 5-cpp-maps.cpp │ └── 6-deque-stl.cpp └── Strings │ ├── 1-c-tutorial-strings.cpp │ ├── 2-c-tutorial-stringstream.cpp │ └── 3-attribute-parser.php ├── DataStructure ├── Arrays │ ├── 1-arrays-ds.cpp │ ├── 2-2d-array.cpp │ ├── 3-dynamic-array.cpp │ ├── 3-dynamic-array.php │ ├── 4-sparse-arrays.php │ └── a.out ├── CMakeLists.txt └── LinkedLists │ ├── 1-print-the-elements-of-a-linked-list.cpp │ ├── 2-insert-a-node-at-the-tail-of-a-linked-list.cpp │ ├── 3-insert-a-node-at-the-head-of-a-linked-list.cpp │ ├── 4-insert-a-node-at-a-specific-position-in-a-linked-list.cpp │ ├── 5-delete-a-node-from-a-linked-list.cpp │ ├── 6-print-the-elements-of-a-linked-list-in-reverse.cpp │ ├── 7-reverse-a-linked-list.cpp │ ├── 8-compare-two-linked-lists.cpp │ ├── 9-merge-two-sorted-linked-lists.cpp │ └── a.out ├── Euler ├── euler001.cpp ├── euler001.php ├── euler002.php ├── euler003.php ├── euler004.cpp ├── euler004.php ├── euler005.php ├── euler006.cpp ├── euler006.php ├── euler007.cpp ├── euler008.php ├── euler009.php ├── euler010.cpp ├── euler010.php ├── euler011.cpp ├── euler012.cpp ├── euler013.php ├── euler014.cpp ├── euler014.php ├── euler015.php └── euler016.php ├── Linux-Shell ├── awk-1.sh ├── awk-2.sh ├── awk-3.sh ├── awk-4.sh ├── bash-tutorials-concatenate-an-array-with-itself.sh ├── bash-tutorials-count-the-number-of-elements-in-an-array.sh ├── bash-tutorials-display-the-third-element-of-an-array.sh ├── bash-tutorials-filter-an-array-with-patterns.sh ├── bash-tutorials-read-in-an-array.sh ├── bash-tutorials-remove-the-first-capital-letter-from-each-array-element.sh ├── bash-tutorials-slice-an-array.sh ├── cut-1.sh ├── cut-2.sh ├── cut-3.sh ├── cut-4.sh ├── cut-5.sh ├── cut-6.sh ├── cut-7.sh ├── cut-8.sh ├── cut-9.sh ├── lonely-integer-2.sh ├── parse-1.sh ├── parse-3.sh ├── parse-4.sh ├── text-processing-head-1.sh ├── text-processing-head-2.sh ├── text-processing-in-linux---the-middle-of-a-text-file.sh ├── text-processing-in-linux-the-grep-command-1.sh ├── text-processing-in-linux-the-grep-command-3.sh ├── text-processing-in-linux-the-grep-command-4.sh ├── text-processing-in-linux-the-grep-command-5.sh ├── text-processing-in-linux-the-sed-command-1.sh ├── text-processing-in-linux-the-sed-command-2.sh ├── text-processing-in-linux-the-sed-command-3.sh ├── text-processing-in-linux-the-uniq-command-1.sh ├── text-processing-in-linux-the-uniq-command-2.sh ├── text-processing-in-linux-the-uniq-command-3.sh ├── text-processing-in-linux-the-uniq-command-4.sh ├── text-processing-sort-1.sh ├── text-processing-sort-2.sh ├── text-processing-sort-3.sh ├── text-processing-sort-4.sh ├── text-processing-sort-5.sh ├── text-processing-sort-6.sh ├── text-processing-sort-7.sh ├── text-processing-tail-1.sh ├── text-processing-tail-2.sh ├── text-processing-tr-1.sh ├── text-processing-tr-2.sh ├── text-processing-tr-3.sh └── text.txt ├── Python ├── Build-Ins │ ├── 1-zipped.py │ ├── 2-input.py │ ├── 3-python-eval.py │ ├── 4-python-sort-sort.py │ ├── 5-any-or-all.py │ └── 6-ginorts.py ├── Classes │ ├── 1-class-1-dealing-with-complex-numbers.py │ └── 2-class-2-find-the-torsional-angle.py ├── Closures and Decorators │ ├── 1-standardize-mobile-number-using-decorators.py │ └── 2-decorators-2-name-directory.py ├── Collections │ ├── 1-collections-counter.py │ ├── 2-defaultdict-tutorial.py │ ├── 3-py-collections-namedtuple.py │ ├── 4-py-collections-ordereddict.py │ ├── 5-word-order.py │ ├── 6-py-collections-deque.py │ ├── 7-piling-up.py │ └── 8-most-commons.py ├── Data Types │ ├── 1-python-lists.py │ ├── 2-python-tuples.py │ ├── 3-sets.py │ ├── 4-list-comprehensions.py │ ├── 5-find-second-maximum-number-in-a-list.py │ └── 6-nested-list.py ├── Date and Time │ ├── 1-calendar-module.py │ └── 2-python-time-delta.py ├── Exceptions │ ├── 1-exceptions.py │ └── 2-incorrect-regex.py ├── Introduction │ ├── 1-py-hello-world.py │ ├── 10-whats-your-name.py │ ├── 11-interchange-two-numbers.py │ ├── 12-finding-the-percentage.py │ ├── 13-python-print.py │ ├── 2-python-raw-input.py │ ├── 3-python-arithmetic-operators.py │ ├── 4-python-division.py │ ├── 5-python-mod-divmod.py │ ├── 6-python-power-mod-power.py │ ├── 7-python-integers-come-in-all-sizes.py │ ├── 8-python-integers-come-in-all-sizes.py │ └── 9-python-loops.py ├── Itertools │ ├── 1-itertools-product.py │ ├── 2-itertools-permutations.py │ ├── 3-itertools-combinations.py │ ├── 4-itertools-combinations-with-replacement.py │ ├── 5-compress-the-string.py │ ├── 6-iterables-and-iterators.py │ └── 7-maximize-it.py ├── Math │ ├── 1-polar-coordinates.py │ ├── 2-triangle-quest-2.py │ ├── 3-triangle-quest-2.py │ └── 4-triangle-quest-1.py ├── Numpy │ ├── 1-np-arrays.py │ ├── 10-np-min-and-max.py │ ├── 11-np-mean-var-and-std.py │ ├── 12-np-dot-and-cross.py │ ├── 13-np-inner-and-outer.py │ ├── 14-np-polynomials.py │ ├── 15-np-linear-algebra.py │ ├── 2-np-shape-reshape.py │ ├── 3-np-transpose-and-flatten.py │ ├── 4-np-concatenate.py │ ├── 5-np-zeros-and-ones.py │ ├── 6-np-eye-and-identity.py │ ├── 7-np-array-mathematics.py │ ├── 8-floor-ceil-and-rint.py │ └── 9-np-sum-and-prod.py ├── Python Functionals │ ├── 1-map-and-lambda-expression.py │ └── 2-validate-list-of-email-address-with-filter.py ├── Regex and Parsing │ ├── 1-introduction-to-regex.py │ ├── 10-hex-color-code.py │ ├── 11-html-parser-part-1.py │ ├── 12-html-parser-part-2.py │ ├── 13-detect-html-tags-attributes-and-attribute-values.py │ ├── 14-validating-uid.py │ ├── 15-validating-credit-card-number.py │ ├── 16-validating-postalcode.py │ ├── 17-matrix-script.py │ ├── 2-re-split.py │ ├── 3-re-group-groups.py │ ├── 4-re-findall-re-finditer.py │ ├── 5-re-start-re-end.py │ ├── 6-re-sub-regex-substitution.py │ ├── 7-validate-a-roman-number.py │ ├── 8-validating-the-phone-number.py │ └── 9-validating-named-email-addresses.py ├── Sets │ ├── 1-py-introduction-to-sets.py │ ├── 10-py-check-strict-superset.py │ ├── 2-no-idea.py │ ├── 3-py-set-add.py │ ├── 4-py-set-discard-remove-pop.py │ ├── 5-py-set-union.py │ ├── 6-py-set-intersection-operation.py │ ├── 7-py-set-difference-operation.py │ ├── 8-py-the-captains-room.py │ └── 9-py-check-subset.py ├── String │ ├── 1-swap-case.py │ ├── 10-python-string-formatting.py │ ├── 11-alphabet-rangoli.py │ ├── 12-capitalize.py │ ├── 13-the-minion-game.py │ ├── 2-python-string-split-and-join.py │ ├── 3-python-mutations.py │ ├── 4-find-a-string.py │ ├── 5-string-validators.py │ ├── 6-text-alignment.py │ ├── 7-text-alignment.py │ ├── 8-text-wrap.py │ └── 9-designer-door-mat.py └── XML │ ├── 1-xml-1-find-the-score.py │ └── 2-xml2-find-the-maximum-depth.py ├── README.md ├── Regex ├── Applications │ ├── 1-detect-html-links.js │ ├── 1-detect-html-links.php │ ├── 10-detecting-valid-latitude-and-longitude.php │ ├── 11-hackerrank-tweets.php │ ├── 12-stack-exchange-scraper.php │ ├── 13-utopian-identification-number.php │ ├── 14-valid-pan-format.php │ ├── 15-find-hackerrank.php │ ├── 16-saying-hi.php │ ├── 17-programming-language-detection.php │ ├── 18-split-number.php │ ├── 19-html-attributes.php │ ├── 2-detect-html-tags.php │ ├── 20-html-attributes.php │ ├── 21-uk-and-us.php │ ├── 22-uk-and-us-2.php │ ├── 3-find-substring.php │ ├── 4-alien-username.php │ ├── 5-ip-address-validation.php │ ├── 6-find-a-word.php │ ├── 7-detect-the-email-addresses.php │ ├── 8-detect-the-domain-name.php │ └── 9-ide-identifying-comments.php ├── Assertions │ ├── 1-Positive-lookahead.php │ ├── 2-negative-lookahead.php │ ├── 3-positive-lookbehind.php │ └── 4-negative-lookbehind.php ├── Backreferences │ ├── 1-matching-same-text-again-again.php │ ├── 2-backreferences-to-failed-groups.php │ ├── 3-branch-reset-groups.php │ └── 4-forward-references.php ├── Character Class │ ├── 1-matching-specific-characters.php │ ├── 2-excluding-specific-characters.php │ └── 3-matching-range-of-characters.php ├── Grouping and Capturing │ ├── 1-matching-word-boundaries.php │ ├── 2-capturing-non-capturing-groups.php │ └── 3-alternative-matching.php ├── Introduction │ ├── 1-matching-specific-string.php │ ├── 2-matching-anything-but-new-line.php │ ├── 3-matching-digits-non-digit-character.php │ ├── 4-matching-whitespace-non-whitespace-character.php │ ├── 5-matching-word-non-word.php │ └── 6-matching-start-end.php └── Repetitions │ ├── 1-matching-x-repetitions.php │ ├── 2-matching-x-y-repititions.php │ ├── 3-matching-zero-or-more-repetitions.php │ ├── 4-matching-one-or-more-repititions.php │ └── 5-matching-ending-items.php └── SQL ├── Advanced Select ├── 1-the-pads.sql ├── 2-occupations.sql ├── 3-binary-search-tree-1.sql └── 4-what-type-of-triangle.sql ├── Aggregation ├── 1-revising-aggregations-the-count-function.sql ├── 10-weather-observation-station-15.sql ├── 11-weather-observation-station-16.sql ├── 12-weather-observation-station-17.sql ├── 13-weather-observation-station-18.sql ├── 14-weather-observation-station-19.sql ├── 15-weather-observation-station-20.sql ├── 2-revising-aggregations-sum.sql ├── 3-revising-aggregations-the-average-function.sql ├── 4-average-population.sql ├── 5-japan-population.sql ├── 6-population-density-difference.sql ├── 7-weather-observation-station-2.sql ├── 8-weather-observation-station-13.sql └── 9-weather-observation-station-14.sql └── Basic Select ├── 1-revising-the-select-query.sql ├── 10-weather-observation-station-5.sql ├── 11-weather-observation-station-6.sql ├── 12-weather-observation-station-7.sql ├── 13-weather-observation-station-8.sql ├── 14-weather-observation-station-9.sql ├── 15-weather-observation-station-10.sql ├── 16-weather-observation-station-11.sql ├── 17-weather-observation-station-12.sql ├── 18-more-than-75-marks.sql ├── 2-revising-the-select-query-2.sql ├── 3-select-all-sql.sql ├── 4-select-by-id.sql ├── 5-japanese-cities-detail.sql ├── 6-japanese-cities-name.sql ├── 7-weather-observation-station-1.sql ├── 8-weather-observation-station-3.sql └── 9-weather-observation-station-4.sql /.gitignore: -------------------------------------------------------------------------------- 1 | DataStructure 2 | /.idea 3 | -------------------------------------------------------------------------------- /Algorithm/Implementation/1-angry-professor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/1-angry-professor.php -------------------------------------------------------------------------------- /Algorithm/Implementation/10-the-grid-search.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/10-the-grid-search.php -------------------------------------------------------------------------------- /Algorithm/Implementation/11-cavity-map.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/11-cavity-map.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/11-cavity-map.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/11-cavity-map.php -------------------------------------------------------------------------------- /Algorithm/Implementation/12-library-fine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/12-library-fine.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/12-library-fine.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/12-library-fine.php -------------------------------------------------------------------------------- /Algorithm/Implementation/12-manasa-and-stones.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/12-manasa-and-stones.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/12-manasa-and-stones.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/12-manasa-and-stones.php -------------------------------------------------------------------------------- /Algorithm/Implementation/13-acm-icpc-team.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/13-acm-icpc-team.c -------------------------------------------------------------------------------- /Algorithm/Implementation/13-acm-icpc-team.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/13-acm-icpc-team.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/13-acm-icpc-team.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/13-acm-icpc-team.php -------------------------------------------------------------------------------- /Algorithm/Implementation/14-extra-long-factorials.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/14-extra-long-factorials.c -------------------------------------------------------------------------------- /Algorithm/Implementation/14-extra-long-factorials.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/14-extra-long-factorials.php -------------------------------------------------------------------------------- /Algorithm/Implementation/15-taum-and-bday.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/15-taum-and-bday.c -------------------------------------------------------------------------------- /Algorithm/Implementation/15-taum-and-bday.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/15-taum-and-bday.php -------------------------------------------------------------------------------- /Algorithm/Implementation/16-the-time-in-words.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/16-the-time-in-words.php -------------------------------------------------------------------------------- /Algorithm/Implementation/17-kaprekar-numbers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/17-kaprekar-numbers.php -------------------------------------------------------------------------------- /Algorithm/Implementation/18-encryption.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/18-encryption.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/18-encryption.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/18-encryption.php -------------------------------------------------------------------------------- /Algorithm/Implementation/19-matrix-rotation-algo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/19-matrix-rotation-algo.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/2-sherlock-and-the-beast.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/2-sherlock-and-the-beast.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/2-sherlock-and-the-beast.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/2-sherlock-and-the-beast.php -------------------------------------------------------------------------------- /Algorithm/Implementation/3-utopian-tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/3-utopian-tree.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/3-utopian-tree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/3-utopian-tree.php -------------------------------------------------------------------------------- /Algorithm/Implementation/4-find-digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/4-find-digits.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/4-find-digits.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/4-find-digits.php -------------------------------------------------------------------------------- /Algorithm/Implementation/5-sherlock-and-squares.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/5-sherlock-and-squares.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/5-sherlock-and-squares.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/5-sherlock-and-squares.php -------------------------------------------------------------------------------- /Algorithm/Implementation/6-service-lane.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/6-service-lane.c -------------------------------------------------------------------------------- /Algorithm/Implementation/6-service-lane.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/6-service-lane.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/6-service-lane.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/6-service-lane.php -------------------------------------------------------------------------------- /Algorithm/Implementation/7-cut-the-sticks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/7-cut-the-sticks.cpp -------------------------------------------------------------------------------- /Algorithm/Implementation/7-cut-the-sticks.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/7-cut-the-sticks.php -------------------------------------------------------------------------------- /Algorithm/Implementation/8-chocolate-feast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/8-chocolate-feast.c -------------------------------------------------------------------------------- /Algorithm/Implementation/8-chocolate-feast.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/8-chocolate-feast.php -------------------------------------------------------------------------------- /Algorithm/Implementation/9-caesar-cipher-1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/9-caesar-cipher-1.c -------------------------------------------------------------------------------- /Algorithm/Implementation/9-caesar-cipher-1.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/9-caesar-cipher-1.php -------------------------------------------------------------------------------- /Algorithm/Implementation/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Implementation/a.out -------------------------------------------------------------------------------- /Algorithm/Search/1-sherlock-and-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Search/1-sherlock-and-array.cpp -------------------------------------------------------------------------------- /Algorithm/Search/1-sherlock-and-array.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Search/1-sherlock-and-array.php -------------------------------------------------------------------------------- /Algorithm/Search/2-icecream-parlor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Search/2-icecream-parlor.php -------------------------------------------------------------------------------- /Algorithm/Search/3-maximise-sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Search/3-maximise-sum.cpp -------------------------------------------------------------------------------- /Algorithm/Search/3-maximise-sum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Search/3-maximise-sum.php -------------------------------------------------------------------------------- /Algorithm/Search/4-missing-numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Search/4-missing-numbers.cpp -------------------------------------------------------------------------------- /Algorithm/Search/4-missing-numbers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Search/4-missing-numbers.php -------------------------------------------------------------------------------- /Algorithm/Search/5-connected-cell-in-a-grid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Search/5-connected-cell-in-a-grid.php -------------------------------------------------------------------------------- /Algorithm/Sorting/1-tutorial-intro.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/1-tutorial-intro.cpp -------------------------------------------------------------------------------- /Algorithm/Sorting/1-tutorial-intro.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/1-tutorial-intro.php -------------------------------------------------------------------------------- /Algorithm/Sorting/10-quicksort4.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/10-quicksort4.php -------------------------------------------------------------------------------- /Algorithm/Sorting/11-countingsort1.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/11-countingsort1.php -------------------------------------------------------------------------------- /Algorithm/Sorting/12-countingsort2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/12-countingsort2.php -------------------------------------------------------------------------------- /Algorithm/Sorting/13-countingsort3.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/13-countingsort3.php -------------------------------------------------------------------------------- /Algorithm/Sorting/14-countingsort4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/14-countingsort4.cpp -------------------------------------------------------------------------------- /Algorithm/Sorting/14-countingsort4.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/14-countingsort4.php -------------------------------------------------------------------------------- /Algorithm/Sorting/15-closest-numbers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/15-closest-numbers.php -------------------------------------------------------------------------------- /Algorithm/Sorting/16-find-median.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/16-find-median.php -------------------------------------------------------------------------------- /Algorithm/Sorting/17-sherlock-and-watson.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/17-sherlock-and-watson.php -------------------------------------------------------------------------------- /Algorithm/Sorting/18-almost-sorted.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/18-almost-sorted.cpp -------------------------------------------------------------------------------- /Algorithm/Sorting/18-almost-sorted.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/18-almost-sorted.php -------------------------------------------------------------------------------- /Algorithm/Sorting/19-sherlock-and-pairs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/19-sherlock-and-pairs.php -------------------------------------------------------------------------------- /Algorithm/Sorting/2-insertionsort1.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/2-insertionsort1.php -------------------------------------------------------------------------------- /Algorithm/Sorting/20-insertion-sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/20-insertion-sort.cpp -------------------------------------------------------------------------------- /Algorithm/Sorting/20-insertion-sort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/20-insertion-sort.php -------------------------------------------------------------------------------- /Algorithm/Sorting/3-insertionsort2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/3-insertionsort2.php -------------------------------------------------------------------------------- /Algorithm/Sorting/4-correctness-invariant.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/4-correctness-invariant.php -------------------------------------------------------------------------------- /Algorithm/Sorting/5-runningtime.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/5-runningtime.php -------------------------------------------------------------------------------- /Algorithm/Sorting/6-quicksort1.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/6-quicksort1.php -------------------------------------------------------------------------------- /Algorithm/Sorting/7-quicksort2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/7-quicksort2.php -------------------------------------------------------------------------------- /Algorithm/Sorting/8-quicksort3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/8-quicksort3.cpp -------------------------------------------------------------------------------- /Algorithm/Sorting/8-quicksort3.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/8-quicksort3.php -------------------------------------------------------------------------------- /Algorithm/Sorting/9-bigger-is-greater.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/9-bigger-is-greater.cpp -------------------------------------------------------------------------------- /Algorithm/Sorting/9-bigger-is-greater.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/9-bigger-is-greater.php -------------------------------------------------------------------------------- /Algorithm/Sorting/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/Sorting/a.out -------------------------------------------------------------------------------- /Algorithm/String/1-pangrams.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/String/1-pangrams.c -------------------------------------------------------------------------------- /Algorithm/String/1-pangrams.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/String/1-pangrams.php -------------------------------------------------------------------------------- /Algorithm/String/10-palindrome-index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/String/10-palindrome-index.php -------------------------------------------------------------------------------- /Algorithm/String/11-reverse-shuffle-merge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/String/11-reverse-shuffle-merge.php -------------------------------------------------------------------------------- /Algorithm/String/12-the-love-letter-mystery.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/String/12-the-love-letter-mystery.cpp -------------------------------------------------------------------------------- /Algorithm/String/12-the-love-letter-mystery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/String/12-the-love-letter-mystery.php -------------------------------------------------------------------------------- /Algorithm/String/13-common-child.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/String/13-common-child.cpp -------------------------------------------------------------------------------- /Algorithm/String/14-morgan-and-a-string.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/String/14-morgan-and-a-string.php -------------------------------------------------------------------------------- /Algorithm/String/15-sherlock-and-valid-string.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Algorithm/String/15-sherlock-and-valid-string.php -------------------------------------------------------------------------------- /Algorithm/String/16-count-string.php: -------------------------------------------------------------------------------- 1 | /this/' 2 | 3 | -------------------------------------------------------------------------------- /Linux-Shell/text-processing-in-linux-the-sed-command-2.sh: -------------------------------------------------------------------------------- 1 | sed -E 's/[tT][hH][yY]/your/g' -------------------------------------------------------------------------------- /Linux-Shell/text-processing-in-linux-the-sed-command-3.sh: -------------------------------------------------------------------------------- 1 | sed -E 's/thy/{&}/gi' -------------------------------------------------------------------------------- /Linux-Shell/text-processing-in-linux-the-uniq-command-1.sh: -------------------------------------------------------------------------------- 1 | uniq -------------------------------------------------------------------------------- /Linux-Shell/text-processing-in-linux-the-uniq-command-2.sh: -------------------------------------------------------------------------------- 1 | uniq -c | xargs -L1 -------------------------------------------------------------------------------- /Linux-Shell/text-processing-in-linux-the-uniq-command-3.sh: -------------------------------------------------------------------------------- 1 | uniq -ci | xargs -L1 -------------------------------------------------------------------------------- /Linux-Shell/text-processing-in-linux-the-uniq-command-4.sh: -------------------------------------------------------------------------------- 1 | uniq -u -------------------------------------------------------------------------------- /Linux-Shell/text-processing-sort-1.sh: -------------------------------------------------------------------------------- 1 | sort -------------------------------------------------------------------------------- /Linux-Shell/text-processing-sort-2.sh: -------------------------------------------------------------------------------- 1 | sort -r -------------------------------------------------------------------------------- /Linux-Shell/text-processing-sort-3.sh: -------------------------------------------------------------------------------- 1 | sort -h -------------------------------------------------------------------------------- /Linux-Shell/text-processing-sort-4.sh: -------------------------------------------------------------------------------- 1 | sort -h -r -------------------------------------------------------------------------------- /Linux-Shell/text-processing-sort-5.sh: -------------------------------------------------------------------------------- 1 | sort -t $'\t' -k2 -rn -------------------------------------------------------------------------------- /Linux-Shell/text-processing-sort-6.sh: -------------------------------------------------------------------------------- 1 | sort -t$'\t' -nk2 -------------------------------------------------------------------------------- /Linux-Shell/text-processing-sort-7.sh: -------------------------------------------------------------------------------- 1 | sort -t $'\t' -k2 -rn -------------------------------------------------------------------------------- /Linux-Shell/text-processing-tail-1.sh: -------------------------------------------------------------------------------- 1 | tail -20 2 | -------------------------------------------------------------------------------- /Linux-Shell/text-processing-tail-2.sh: -------------------------------------------------------------------------------- 1 | tail -c20 -------------------------------------------------------------------------------- /Linux-Shell/text-processing-tr-1.sh: -------------------------------------------------------------------------------- 1 | tr "()" "[]" -------------------------------------------------------------------------------- /Linux-Shell/text-processing-tr-2.sh: -------------------------------------------------------------------------------- 1 | tr -d "[:lower:]" -------------------------------------------------------------------------------- /Linux-Shell/text-processing-tr-3.sh: -------------------------------------------------------------------------------- 1 | tr -s " " -------------------------------------------------------------------------------- /Linux-Shell/text.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Linux-Shell/text.txt -------------------------------------------------------------------------------- /Python/Build-Ins/1-zipped.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Build-Ins/1-zipped.py -------------------------------------------------------------------------------- /Python/Build-Ins/2-input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Build-Ins/2-input.py -------------------------------------------------------------------------------- /Python/Build-Ins/3-python-eval.py: -------------------------------------------------------------------------------- 1 | from __future__ import print_function 2 | 3 | eval(raw_input()) 4 | -------------------------------------------------------------------------------- /Python/Build-Ins/4-python-sort-sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Build-Ins/4-python-sort-sort.py -------------------------------------------------------------------------------- /Python/Build-Ins/5-any-or-all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Build-Ins/5-any-or-all.py -------------------------------------------------------------------------------- /Python/Build-Ins/6-ginorts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Build-Ins/6-ginorts.py -------------------------------------------------------------------------------- /Python/Classes/1-class-1-dealing-with-complex-numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Classes/1-class-1-dealing-with-complex-numbers.py -------------------------------------------------------------------------------- /Python/Classes/2-class-2-find-the-torsional-angle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Classes/2-class-2-find-the-torsional-angle.py -------------------------------------------------------------------------------- /Python/Closures and Decorators/1-standardize-mobile-number-using-decorators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Closures and Decorators/1-standardize-mobile-number-using-decorators.py -------------------------------------------------------------------------------- /Python/Closures and Decorators/2-decorators-2-name-directory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Closures and Decorators/2-decorators-2-name-directory.py -------------------------------------------------------------------------------- /Python/Collections/1-collections-counter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Collections/1-collections-counter.py -------------------------------------------------------------------------------- /Python/Collections/2-defaultdict-tutorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Collections/2-defaultdict-tutorial.py -------------------------------------------------------------------------------- /Python/Collections/3-py-collections-namedtuple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Collections/3-py-collections-namedtuple.py -------------------------------------------------------------------------------- /Python/Collections/4-py-collections-ordereddict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Collections/4-py-collections-ordereddict.py -------------------------------------------------------------------------------- /Python/Collections/5-word-order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Collections/5-word-order.py -------------------------------------------------------------------------------- /Python/Collections/6-py-collections-deque.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Collections/6-py-collections-deque.py -------------------------------------------------------------------------------- /Python/Collections/7-piling-up.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Collections/7-piling-up.py -------------------------------------------------------------------------------- /Python/Collections/8-most-commons.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Collections/8-most-commons.py -------------------------------------------------------------------------------- /Python/Data Types/1-python-lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Data Types/1-python-lists.py -------------------------------------------------------------------------------- /Python/Data Types/2-python-tuples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Data Types/2-python-tuples.py -------------------------------------------------------------------------------- /Python/Data Types/3-sets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Data Types/3-sets.py -------------------------------------------------------------------------------- /Python/Data Types/4-list-comprehensions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Data Types/4-list-comprehensions.py -------------------------------------------------------------------------------- /Python/Data Types/5-find-second-maximum-number-in-a-list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Data Types/5-find-second-maximum-number-in-a-list.py -------------------------------------------------------------------------------- /Python/Data Types/6-nested-list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Data Types/6-nested-list.py -------------------------------------------------------------------------------- /Python/Date and Time/1-calendar-module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Date and Time/1-calendar-module.py -------------------------------------------------------------------------------- /Python/Date and Time/2-python-time-delta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Date and Time/2-python-time-delta.py -------------------------------------------------------------------------------- /Python/Exceptions/1-exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Exceptions/1-exceptions.py -------------------------------------------------------------------------------- /Python/Exceptions/2-incorrect-regex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Exceptions/2-incorrect-regex.py -------------------------------------------------------------------------------- /Python/Introduction/1-py-hello-world.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | print("Hello World!") 4 | -------------------------------------------------------------------------------- /Python/Introduction/10-whats-your-name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/10-whats-your-name.py -------------------------------------------------------------------------------- /Python/Introduction/11-interchange-two-numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/11-interchange-two-numbers.py -------------------------------------------------------------------------------- /Python/Introduction/12-finding-the-percentage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/12-finding-the-percentage.py -------------------------------------------------------------------------------- /Python/Introduction/13-python-print.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/13-python-print.py -------------------------------------------------------------------------------- /Python/Introduction/2-python-raw-input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/2-python-raw-input.py -------------------------------------------------------------------------------- /Python/Introduction/3-python-arithmetic-operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/3-python-arithmetic-operators.py -------------------------------------------------------------------------------- /Python/Introduction/4-python-division.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/4-python-division.py -------------------------------------------------------------------------------- /Python/Introduction/5-python-mod-divmod.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/5-python-mod-divmod.py -------------------------------------------------------------------------------- /Python/Introduction/6-python-power-mod-power.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/6-python-power-mod-power.py -------------------------------------------------------------------------------- /Python/Introduction/7-python-integers-come-in-all-sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/7-python-integers-come-in-all-sizes.py -------------------------------------------------------------------------------- /Python/Introduction/8-python-integers-come-in-all-sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/8-python-integers-come-in-all-sizes.py -------------------------------------------------------------------------------- /Python/Introduction/9-python-loops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Introduction/9-python-loops.py -------------------------------------------------------------------------------- /Python/Itertools/1-itertools-product.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Itertools/1-itertools-product.py -------------------------------------------------------------------------------- /Python/Itertools/2-itertools-permutations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Itertools/2-itertools-permutations.py -------------------------------------------------------------------------------- /Python/Itertools/3-itertools-combinations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Itertools/3-itertools-combinations.py -------------------------------------------------------------------------------- /Python/Itertools/4-itertools-combinations-with-replacement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Itertools/4-itertools-combinations-with-replacement.py -------------------------------------------------------------------------------- /Python/Itertools/5-compress-the-string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Itertools/5-compress-the-string.py -------------------------------------------------------------------------------- /Python/Itertools/6-iterables-and-iterators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Itertools/6-iterables-and-iterators.py -------------------------------------------------------------------------------- /Python/Itertools/7-maximize-it.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Itertools/7-maximize-it.py -------------------------------------------------------------------------------- /Python/Math/1-polar-coordinates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Math/1-polar-coordinates.py -------------------------------------------------------------------------------- /Python/Math/2-triangle-quest-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Math/2-triangle-quest-2.py -------------------------------------------------------------------------------- /Python/Math/3-triangle-quest-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Math/3-triangle-quest-2.py -------------------------------------------------------------------------------- /Python/Math/4-triangle-quest-1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Math/4-triangle-quest-1.py -------------------------------------------------------------------------------- /Python/Numpy/1-np-arrays.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/1-np-arrays.py -------------------------------------------------------------------------------- /Python/Numpy/10-np-min-and-max.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/10-np-min-and-max.py -------------------------------------------------------------------------------- /Python/Numpy/11-np-mean-var-and-std.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/11-np-mean-var-and-std.py -------------------------------------------------------------------------------- /Python/Numpy/12-np-dot-and-cross.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/12-np-dot-and-cross.py -------------------------------------------------------------------------------- /Python/Numpy/13-np-inner-and-outer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/13-np-inner-and-outer.py -------------------------------------------------------------------------------- /Python/Numpy/14-np-polynomials.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/14-np-polynomials.py -------------------------------------------------------------------------------- /Python/Numpy/15-np-linear-algebra.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/15-np-linear-algebra.py -------------------------------------------------------------------------------- /Python/Numpy/2-np-shape-reshape.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/2-np-shape-reshape.py -------------------------------------------------------------------------------- /Python/Numpy/3-np-transpose-and-flatten.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/3-np-transpose-and-flatten.py -------------------------------------------------------------------------------- /Python/Numpy/4-np-concatenate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/4-np-concatenate.py -------------------------------------------------------------------------------- /Python/Numpy/5-np-zeros-and-ones.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/5-np-zeros-and-ones.py -------------------------------------------------------------------------------- /Python/Numpy/6-np-eye-and-identity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/6-np-eye-and-identity.py -------------------------------------------------------------------------------- /Python/Numpy/7-np-array-mathematics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/7-np-array-mathematics.py -------------------------------------------------------------------------------- /Python/Numpy/8-floor-ceil-and-rint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/8-floor-ceil-and-rint.py -------------------------------------------------------------------------------- /Python/Numpy/9-np-sum-and-prod.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Numpy/9-np-sum-and-prod.py -------------------------------------------------------------------------------- /Python/Python Functionals/1-map-and-lambda-expression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Python Functionals/1-map-and-lambda-expression.py -------------------------------------------------------------------------------- /Python/Python Functionals/2-validate-list-of-email-address-with-filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Python Functionals/2-validate-list-of-email-address-with-filter.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/1-introduction-to-regex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/1-introduction-to-regex.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/10-hex-color-code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/10-hex-color-code.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/11-html-parser-part-1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/11-html-parser-part-1.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/12-html-parser-part-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/12-html-parser-part-2.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/13-detect-html-tags-attributes-and-attribute-values.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/13-detect-html-tags-attributes-and-attribute-values.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/14-validating-uid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/14-validating-uid.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/15-validating-credit-card-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/15-validating-credit-card-number.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/16-validating-postalcode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/16-validating-postalcode.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/17-matrix-script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/17-matrix-script.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/2-re-split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/2-re-split.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/3-re-group-groups.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/3-re-group-groups.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/4-re-findall-re-finditer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/4-re-findall-re-finditer.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/5-re-start-re-end.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/5-re-start-re-end.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/6-re-sub-regex-substitution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/6-re-sub-regex-substitution.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/7-validate-a-roman-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/7-validate-a-roman-number.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/8-validating-the-phone-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/8-validating-the-phone-number.py -------------------------------------------------------------------------------- /Python/Regex and Parsing/9-validating-named-email-addresses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Regex and Parsing/9-validating-named-email-addresses.py -------------------------------------------------------------------------------- /Python/Sets/1-py-introduction-to-sets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Sets/1-py-introduction-to-sets.py -------------------------------------------------------------------------------- /Python/Sets/10-py-check-strict-superset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Sets/10-py-check-strict-superset.py -------------------------------------------------------------------------------- /Python/Sets/2-no-idea.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Sets/2-no-idea.py -------------------------------------------------------------------------------- /Python/Sets/3-py-set-add.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Sets/3-py-set-add.py -------------------------------------------------------------------------------- /Python/Sets/4-py-set-discard-remove-pop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Sets/4-py-set-discard-remove-pop.py -------------------------------------------------------------------------------- /Python/Sets/5-py-set-union.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Sets/5-py-set-union.py -------------------------------------------------------------------------------- /Python/Sets/6-py-set-intersection-operation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Sets/6-py-set-intersection-operation.py -------------------------------------------------------------------------------- /Python/Sets/7-py-set-difference-operation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Sets/7-py-set-difference-operation.py -------------------------------------------------------------------------------- /Python/Sets/8-py-the-captains-room.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Sets/8-py-the-captains-room.py -------------------------------------------------------------------------------- /Python/Sets/9-py-check-subset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/Sets/9-py-check-subset.py -------------------------------------------------------------------------------- /Python/String/1-swap-case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/1-swap-case.py -------------------------------------------------------------------------------- /Python/String/10-python-string-formatting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/10-python-string-formatting.py -------------------------------------------------------------------------------- /Python/String/11-alphabet-rangoli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/11-alphabet-rangoli.py -------------------------------------------------------------------------------- /Python/String/12-capitalize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/12-capitalize.py -------------------------------------------------------------------------------- /Python/String/13-the-minion-game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/13-the-minion-game.py -------------------------------------------------------------------------------- /Python/String/2-python-string-split-and-join.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | print "-".join(raw_input().split()) 4 | -------------------------------------------------------------------------------- /Python/String/3-python-mutations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/3-python-mutations.py -------------------------------------------------------------------------------- /Python/String/4-find-a-string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/4-find-a-string.py -------------------------------------------------------------------------------- /Python/String/5-string-validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/5-string-validators.py -------------------------------------------------------------------------------- /Python/String/6-text-alignment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/6-text-alignment.py -------------------------------------------------------------------------------- /Python/String/7-text-alignment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/7-text-alignment.py -------------------------------------------------------------------------------- /Python/String/8-text-wrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/8-text-wrap.py -------------------------------------------------------------------------------- /Python/String/9-designer-door-mat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/String/9-designer-door-mat.py -------------------------------------------------------------------------------- /Python/XML/1-xml-1-find-the-score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/XML/1-xml-1-find-the-score.py -------------------------------------------------------------------------------- /Python/XML/2-xml2-find-the-maximum-depth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Python/XML/2-xml2-find-the-maximum-depth.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/README.md -------------------------------------------------------------------------------- /Regex/Applications/1-detect-html-links.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/1-detect-html-links.js -------------------------------------------------------------------------------- /Regex/Applications/1-detect-html-links.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/1-detect-html-links.php -------------------------------------------------------------------------------- /Regex/Applications/10-detecting-valid-latitude-and-longitude.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/10-detecting-valid-latitude-and-longitude.php -------------------------------------------------------------------------------- /Regex/Applications/11-hackerrank-tweets.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/11-hackerrank-tweets.php -------------------------------------------------------------------------------- /Regex/Applications/12-stack-exchange-scraper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/12-stack-exchange-scraper.php -------------------------------------------------------------------------------- /Regex/Applications/13-utopian-identification-number.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/13-utopian-identification-number.php -------------------------------------------------------------------------------- /Regex/Applications/14-valid-pan-format.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/14-valid-pan-format.php -------------------------------------------------------------------------------- /Regex/Applications/15-find-hackerrank.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/15-find-hackerrank.php -------------------------------------------------------------------------------- /Regex/Applications/16-saying-hi.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/16-saying-hi.php -------------------------------------------------------------------------------- /Regex/Applications/17-programming-language-detection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/17-programming-language-detection.php -------------------------------------------------------------------------------- /Regex/Applications/18-split-number.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/18-split-number.php -------------------------------------------------------------------------------- /Regex/Applications/19-html-attributes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/19-html-attributes.php -------------------------------------------------------------------------------- /Regex/Applications/2-detect-html-tags.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/2-detect-html-tags.php -------------------------------------------------------------------------------- /Regex/Applications/20-html-attributes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/20-html-attributes.php -------------------------------------------------------------------------------- /Regex/Applications/21-uk-and-us.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/21-uk-and-us.php -------------------------------------------------------------------------------- /Regex/Applications/22-uk-and-us-2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/22-uk-and-us-2.php -------------------------------------------------------------------------------- /Regex/Applications/3-find-substring.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/3-find-substring.php -------------------------------------------------------------------------------- /Regex/Applications/4-alien-username.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/4-alien-username.php -------------------------------------------------------------------------------- /Regex/Applications/5-ip-address-validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/5-ip-address-validation.php -------------------------------------------------------------------------------- /Regex/Applications/6-find-a-word.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/6-find-a-word.php -------------------------------------------------------------------------------- /Regex/Applications/7-detect-the-email-addresses.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/7-detect-the-email-addresses.php -------------------------------------------------------------------------------- /Regex/Applications/8-detect-the-domain-name.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/8-detect-the-domain-name.php -------------------------------------------------------------------------------- /Regex/Applications/9-ide-identifying-comments.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/Regex/Applications/9-ide-identifying-comments.php -------------------------------------------------------------------------------- /Regex/Assertions/1-Positive-lookahead.php: -------------------------------------------------------------------------------- 1 | 120000 and COUNTRYCODE = 'USA'; 2 | -------------------------------------------------------------------------------- /SQL/Basic Select/3-select-all-sql.sql: -------------------------------------------------------------------------------- 1 | select * from CITY; 2 | -------------------------------------------------------------------------------- /SQL/Basic Select/4-select-by-id.sql: -------------------------------------------------------------------------------- 1 | select * from CITY WHERE ID = 1661; 2 | -------------------------------------------------------------------------------- /SQL/Basic Select/5-japanese-cities-detail.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/SQL/Basic Select/5-japanese-cities-detail.sql -------------------------------------------------------------------------------- /SQL/Basic Select/6-japanese-cities-name.sql: -------------------------------------------------------------------------------- 1 | select NAME from CITY where COUNTRYCODE = 'JPN'; 2 | -------------------------------------------------------------------------------- /SQL/Basic Select/7-weather-observation-station-1.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/SQL/Basic Select/7-weather-observation-station-1.sql -------------------------------------------------------------------------------- /SQL/Basic Select/8-weather-observation-station-3.sql: -------------------------------------------------------------------------------- 1 | select DISTINCT(CITY) from STATION where ID % 2 = 0 ORDER by CITY DESC; 2 | -------------------------------------------------------------------------------- /SQL/Basic Select/9-weather-observation-station-4.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sword-jin/HackerRank-Solution/HEAD/SQL/Basic Select/9-weather-observation-station-4.sql --------------------------------------------------------------------------------