├── .editorconfig ├── .gitignore ├── .gitmodules ├── .jshintignore ├── .jshintrc ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── Readme.md ├── package.json ├── problems ├── anagram-detection │ └── Readme.md ├── array-pair-sum │ └── Readme.md ├── async-task-runner │ └── Readme.md ├── balanced-brackets │ └── Readme.md ├── binary-search-tree-check │ └── Readme.md ├── binary-search-tree │ └── Readme.md ├── bubble-sort │ └── Readme.md ├── byte-format │ └── README.md ├── closest-sum │ └── problem.txt ├── combine-two-strings │ └── Readme.md ├── convert-array │ └── Readme.md ├── csv-parsing │ └── Readme.md ├── debounce │ └── Readme.md ├── even-occuring-element │ └── Readme.md ├── factorial │ └── readme.md ├── fibonacci │ └── Readme.md ├── find-missing-element │ └── Readme.md ├── first-non-repeated-character │ └── Readme.md ├── flatten-array │ └── Readme.md ├── get-elements-by-class-name │ └── Readme.md ├── hotel-room │ └── Readme.md ├── insertion-sort │ └── README.md ├── integer-difference │ └── Readme.md ├── integer-length │ └── Readme.md ├── kth-largest-element-in-array │ └── Readme.md ├── largest-continuous-sum │ └── Readme.md ├── largest-palindrome │ └── Readme.md ├── linked-list │ └── Readme.md ├── longest-common-prefix │ └── Readme.md ├── longest-compound-word │ └── Readme.md ├── longest-words │ └── Readme.md ├── matching-nodes │ └── Readme.md ├── median-integer-stream │ └── Readme.md ├── merge-sort │ └── Readme.md ├── missing-number │ └── Readme.md ├── money-format │ └── Readme.md ├── multiples-of-3-and-5 │ └── Readme.md ├── next-highest-number │ └── Readme.md ├── next-palindrome-number │ └── Readme.md ├── number-format │ └── Readme.md ├── odd-occuring-element │ └── Readme.md ├── once │ └── Readme.md ├── prime-number │ └── Readme.md ├── queen-threatens-king │ ├── queen-threatens-king.png │ └── readme.md ├── queue │ └── Readme.md ├── quick-sort │ └── Readme.md ├── remove-duplicates-from-string │ └── Readme.md ├── reverse-words-in-string │ └── Readme.md ├── search-unknown-length-array │ └── Readme.md ├── selection-sort │ └── readme.md ├── shortest-fizz-buzz │ └── Readme.md ├── skiing-in-singapore │ └── README.md ├── sorted-array-search │ └── Readme.md ├── spiral │ ├── Readme.md │ ├── input-1.png │ └── input-2.png ├── spreadsheet │ └── README.md ├── stack-machine │ └── Readme.md ├── stack │ └── Readme.md ├── string-format │ └── Readme.md ├── string-permutations │ └── Readme.md ├── string-rotation │ └── Readme.md ├── sum-of-array-plus-one │ └── Readme.md ├── throttle │ └── Readme.md ├── transform-word │ └── Readme.md ├── tree-level-order-print │ └── Readme.md ├── word-analytics │ ├── Readme.md │ └── huckleberry-finn.txt └── word-positions │ └── Readme.md ├── solutions ├── coffeescript │ ├── anagram-detection.coffee │ ├── array-pair-sum.coffee │ ├── balanced-brackets.coffee │ ├── bubble-sort.coffee │ ├── byte-format.coffee │ ├── combine-two-strings.coffee │ ├── csv-parsing.coffee │ ├── debounce.coffee │ ├── even-occuring-element.coffee │ ├── factorial.coffee │ ├── fibonacci.coffee │ ├── find-missing-element.coffee │ ├── first-non-repeated-character.coffee │ ├── flatten-array.coffee │ ├── get-elements-by-class-name.coffee │ ├── hotel-room.coffee │ ├── integer-difference.coffee │ ├── integer-length.coffee │ ├── kth-largest-element-in-array.coffee │ ├── largest-continuous-sum.coffee │ ├── largest-palindrome.coffee │ ├── linked-list.coffee │ └── word-positions.coffee ├── go │ ├── longest-words.go │ ├── merge-sort.go │ ├── multiples-of-3-or-5.go │ └── shortest-fizz-buzz.go ├── java │ ├── AnagramDetection.java │ ├── ArrayPairSum.java │ ├── BalancedBrackets.java │ ├── BinarySearchTree.java │ ├── BinarySearchTreeCheck.java │ ├── BubbleSort.java │ ├── CombineTwoStrings.java │ ├── ConvertArray.java │ ├── EvenOccuringElement.java │ ├── Fibonacci.java │ ├── FindingMissingElement.java │ ├── HotelRoom.java │ ├── IntegerDifference.java │ ├── LargestContinuousSum.java │ ├── LargestPalindrome.java │ ├── LongestCommonPrefix.java │ ├── LongestCompoundWord.java │ ├── MedianIntegerStream.java │ ├── NextHighestNumber.java │ ├── RemoveDuplicatesFromString.java │ ├── ReverseWordsInAString.java │ ├── SearchUnknownLengthArray.java │ ├── Spiral.java │ ├── StackMachine.java │ ├── StringRotation.java │ └── TreeLevelOrderPrint.java ├── javascript │ ├── anagram-detection.js │ ├── array-pair-sum.js │ ├── async-task-runner.js │ ├── balanced-brackets.js │ ├── binary-search-tree-check.js │ ├── binary-search-tree.js │ ├── bubble-sort.js │ ├── byte-format.js │ ├── combine-two-strings.js │ ├── convert-array.js │ ├── csv-parsing.js │ ├── debounce.js │ ├── even-occuring-element.js │ ├── factorial.js │ ├── fibonnaci.js │ ├── find-missing-element.js │ ├── first-non-repeated-character.js │ ├── flatten-array.js │ ├── flatten-array │ │ ├── copy.js │ │ ├── es5.js │ │ ├── in-place.js │ │ └── recursive.js │ ├── get-elements-by-class-name.js │ ├── hotel-room.js │ ├── insertion-sort.js │ ├── integer-difference.js │ ├── integer-length.js │ ├── kth-largest-element-in-array.js │ ├── largest-continuous-sum.js │ ├── largest-palindrome.js │ ├── linked-list.js │ ├── longest-compound-word.js │ ├── longest-words.js │ ├── matching-nodes.js │ ├── median-integer-stream.js │ ├── merge-sort.js │ ├── missing-number.js │ ├── money-format.js │ ├── multiples-of-3-and-5.js │ ├── next-highest-number.js │ ├── next-palindrome-number.js │ ├── number-format.js │ ├── odd-occuring-element.js │ ├── once.js │ ├── prime-number.js │ ├── queen-threatens-king.js │ ├── queen-threatens-king │ │ ├── queen-threatens-king-solution-diagonal-1.png │ │ ├── queen-threatens-king-solution-diagonal-2.png │ │ ├── queen-threatens-king-solution-horizontal.png │ │ ├── queen-threatens-king-solution-vertical.png │ │ └── readme.md │ ├── queue.js │ ├── quick-sort.js │ ├── remove-duplicates-from-string.js │ ├── reverse-words-in-string.js │ ├── search-unknown-length-array.js │ ├── selection-sort.js │ ├── shortest-fizz-buzz.js │ ├── sorted-array-search.js │ ├── spiral.js │ ├── stack.js │ ├── string-format.js │ ├── string-permutations.js │ ├── string-rotation.js │ ├── sum-of-array-plus-one.js │ ├── throttle.js │ ├── transform-word.js │ ├── tree-level-order-print.js │ ├── word-analytics.js │ └── word-positions.js ├── php │ ├── factorial.php │ ├── hotel-room.php │ ├── integer-length.php │ ├── reverse-words-in-string.php │ ├── shortest-fizz-buzz.php │ └── sum-of-array-plus-one.php └── ruby │ ├── anagram_detection.rb │ ├── array_pair_sum.rb │ ├── balanced_brackets.rb │ ├── bubble_sort.rb │ ├── factorial.rb │ ├── fib.rb │ ├── fibonacci.rb │ ├── flatten_array.rb │ ├── int_length.rb │ ├── longest_words.rb │ ├── merge_sort.rb │ ├── multiples_of_three_and_five.rb │ ├── odd_occuring_element.rb │ ├── prime_number.rb │ ├── quick_sort.rb │ ├── remove_duplicates.rb │ ├── reverse_words.rb │ ├── selection_sort.rb │ ├── shortest_fizz_buzz.rb │ ├── sum_of_array_plus_one.rb │ ├── sum_plus_one.rb │ └── word_position.rb └── tests ├── cpp ├── common.cpp ├── common.hpp ├── once.cpp ├── queue.cpp ├── spiral.cpp └── stack.cpp └── javascript ├── anagram-detection.js ├── array-pair-sum.js ├── binary-search-tree-check.js ├── binary-search-tree.js ├── byte-format.js ├── convert-array.js ├── factorial.js ├── flatten-array.js ├── insertion-sort.js ├── largest-continuous-sum.js ├── next-highest-number.js ├── prime-number.js ├── queen-threatens-king.js ├── quick-sort.js ├── search-unknown-length-array.js ├── sorted-array-search.js └── word-positions.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea 3 | node_modules 4 | *.o 5 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/.gitmodules -------------------------------------------------------------------------------- /.jshintignore: -------------------------------------------------------------------------------- 1 | solutions/javascript/shortest-fizz-buzz.js 2 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/.jshintrc -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/Makefile -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/Readme.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/package.json -------------------------------------------------------------------------------- /problems/anagram-detection/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/anagram-detection/Readme.md -------------------------------------------------------------------------------- /problems/array-pair-sum/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/array-pair-sum/Readme.md -------------------------------------------------------------------------------- /problems/async-task-runner/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/async-task-runner/Readme.md -------------------------------------------------------------------------------- /problems/balanced-brackets/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/balanced-brackets/Readme.md -------------------------------------------------------------------------------- /problems/binary-search-tree-check/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/binary-search-tree-check/Readme.md -------------------------------------------------------------------------------- /problems/binary-search-tree/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/binary-search-tree/Readme.md -------------------------------------------------------------------------------- /problems/bubble-sort/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/bubble-sort/Readme.md -------------------------------------------------------------------------------- /problems/byte-format/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/byte-format/README.md -------------------------------------------------------------------------------- /problems/closest-sum/problem.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/closest-sum/problem.txt -------------------------------------------------------------------------------- /problems/combine-two-strings/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/combine-two-strings/Readme.md -------------------------------------------------------------------------------- /problems/convert-array/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/convert-array/Readme.md -------------------------------------------------------------------------------- /problems/csv-parsing/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/csv-parsing/Readme.md -------------------------------------------------------------------------------- /problems/debounce/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/debounce/Readme.md -------------------------------------------------------------------------------- /problems/even-occuring-element/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/even-occuring-element/Readme.md -------------------------------------------------------------------------------- /problems/factorial/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/factorial/readme.md -------------------------------------------------------------------------------- /problems/fibonacci/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/fibonacci/Readme.md -------------------------------------------------------------------------------- /problems/find-missing-element/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/find-missing-element/Readme.md -------------------------------------------------------------------------------- /problems/first-non-repeated-character/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/first-non-repeated-character/Readme.md -------------------------------------------------------------------------------- /problems/flatten-array/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/flatten-array/Readme.md -------------------------------------------------------------------------------- /problems/get-elements-by-class-name/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/get-elements-by-class-name/Readme.md -------------------------------------------------------------------------------- /problems/hotel-room/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/hotel-room/Readme.md -------------------------------------------------------------------------------- /problems/insertion-sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/insertion-sort/README.md -------------------------------------------------------------------------------- /problems/integer-difference/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/integer-difference/Readme.md -------------------------------------------------------------------------------- /problems/integer-length/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/integer-length/Readme.md -------------------------------------------------------------------------------- /problems/kth-largest-element-in-array/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/kth-largest-element-in-array/Readme.md -------------------------------------------------------------------------------- /problems/largest-continuous-sum/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/largest-continuous-sum/Readme.md -------------------------------------------------------------------------------- /problems/largest-palindrome/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/largest-palindrome/Readme.md -------------------------------------------------------------------------------- /problems/linked-list/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/linked-list/Readme.md -------------------------------------------------------------------------------- /problems/longest-common-prefix/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/longest-common-prefix/Readme.md -------------------------------------------------------------------------------- /problems/longest-compound-word/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/longest-compound-word/Readme.md -------------------------------------------------------------------------------- /problems/longest-words/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/longest-words/Readme.md -------------------------------------------------------------------------------- /problems/matching-nodes/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/matching-nodes/Readme.md -------------------------------------------------------------------------------- /problems/median-integer-stream/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/median-integer-stream/Readme.md -------------------------------------------------------------------------------- /problems/merge-sort/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/merge-sort/Readme.md -------------------------------------------------------------------------------- /problems/missing-number/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/missing-number/Readme.md -------------------------------------------------------------------------------- /problems/money-format/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/money-format/Readme.md -------------------------------------------------------------------------------- /problems/multiples-of-3-and-5/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/multiples-of-3-and-5/Readme.md -------------------------------------------------------------------------------- /problems/next-highest-number/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/next-highest-number/Readme.md -------------------------------------------------------------------------------- /problems/next-palindrome-number/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/next-palindrome-number/Readme.md -------------------------------------------------------------------------------- /problems/number-format/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/number-format/Readme.md -------------------------------------------------------------------------------- /problems/odd-occuring-element/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/odd-occuring-element/Readme.md -------------------------------------------------------------------------------- /problems/once/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/once/Readme.md -------------------------------------------------------------------------------- /problems/prime-number/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/prime-number/Readme.md -------------------------------------------------------------------------------- /problems/queen-threatens-king/queen-threatens-king.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/queen-threatens-king/queen-threatens-king.png -------------------------------------------------------------------------------- /problems/queen-threatens-king/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/queen-threatens-king/readme.md -------------------------------------------------------------------------------- /problems/queue/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/queue/Readme.md -------------------------------------------------------------------------------- /problems/quick-sort/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/quick-sort/Readme.md -------------------------------------------------------------------------------- /problems/remove-duplicates-from-string/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/remove-duplicates-from-string/Readme.md -------------------------------------------------------------------------------- /problems/reverse-words-in-string/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/reverse-words-in-string/Readme.md -------------------------------------------------------------------------------- /problems/search-unknown-length-array/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/search-unknown-length-array/Readme.md -------------------------------------------------------------------------------- /problems/selection-sort/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/selection-sort/readme.md -------------------------------------------------------------------------------- /problems/shortest-fizz-buzz/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/shortest-fizz-buzz/Readme.md -------------------------------------------------------------------------------- /problems/skiing-in-singapore/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/skiing-in-singapore/README.md -------------------------------------------------------------------------------- /problems/sorted-array-search/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/sorted-array-search/Readme.md -------------------------------------------------------------------------------- /problems/spiral/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/spiral/Readme.md -------------------------------------------------------------------------------- /problems/spiral/input-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/spiral/input-1.png -------------------------------------------------------------------------------- /problems/spiral/input-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/spiral/input-2.png -------------------------------------------------------------------------------- /problems/spreadsheet/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/spreadsheet/README.md -------------------------------------------------------------------------------- /problems/stack-machine/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/stack-machine/Readme.md -------------------------------------------------------------------------------- /problems/stack/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/stack/Readme.md -------------------------------------------------------------------------------- /problems/string-format/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/string-format/Readme.md -------------------------------------------------------------------------------- /problems/string-permutations/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/string-permutations/Readme.md -------------------------------------------------------------------------------- /problems/string-rotation/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/string-rotation/Readme.md -------------------------------------------------------------------------------- /problems/sum-of-array-plus-one/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/sum-of-array-plus-one/Readme.md -------------------------------------------------------------------------------- /problems/throttle/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/throttle/Readme.md -------------------------------------------------------------------------------- /problems/transform-word/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/transform-word/Readme.md -------------------------------------------------------------------------------- /problems/tree-level-order-print/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/tree-level-order-print/Readme.md -------------------------------------------------------------------------------- /problems/word-analytics/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/word-analytics/Readme.md -------------------------------------------------------------------------------- /problems/word-analytics/huckleberry-finn.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/word-analytics/huckleberry-finn.txt -------------------------------------------------------------------------------- /problems/word-positions/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/problems/word-positions/Readme.md -------------------------------------------------------------------------------- /solutions/coffeescript/anagram-detection.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/anagram-detection.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/array-pair-sum.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/array-pair-sum.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/balanced-brackets.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/balanced-brackets.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/bubble-sort.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/bubble-sort.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/byte-format.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/byte-format.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/combine-two-strings.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/combine-two-strings.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/csv-parsing.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/csv-parsing.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/debounce.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/debounce.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/even-occuring-element.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/even-occuring-element.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/factorial.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/factorial.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/fibonacci.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/fibonacci.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/find-missing-element.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/find-missing-element.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/first-non-repeated-character.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/first-non-repeated-character.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/flatten-array.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/flatten-array.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/get-elements-by-class-name.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/get-elements-by-class-name.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/hotel-room.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/hotel-room.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/integer-difference.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/integer-difference.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/integer-length.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/integer-length.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/kth-largest-element-in-array.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/kth-largest-element-in-array.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/largest-continuous-sum.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/largest-continuous-sum.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/largest-palindrome.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/largest-palindrome.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/linked-list.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/linked-list.coffee -------------------------------------------------------------------------------- /solutions/coffeescript/word-positions.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/coffeescript/word-positions.coffee -------------------------------------------------------------------------------- /solutions/go/longest-words.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/go/longest-words.go -------------------------------------------------------------------------------- /solutions/go/merge-sort.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/go/merge-sort.go -------------------------------------------------------------------------------- /solutions/go/multiples-of-3-or-5.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/go/multiples-of-3-or-5.go -------------------------------------------------------------------------------- /solutions/go/shortest-fizz-buzz.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/go/shortest-fizz-buzz.go -------------------------------------------------------------------------------- /solutions/java/AnagramDetection.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/AnagramDetection.java -------------------------------------------------------------------------------- /solutions/java/ArrayPairSum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/ArrayPairSum.java -------------------------------------------------------------------------------- /solutions/java/BalancedBrackets.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/BalancedBrackets.java -------------------------------------------------------------------------------- /solutions/java/BinarySearchTree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/BinarySearchTree.java -------------------------------------------------------------------------------- /solutions/java/BinarySearchTreeCheck.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/BinarySearchTreeCheck.java -------------------------------------------------------------------------------- /solutions/java/BubbleSort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/BubbleSort.java -------------------------------------------------------------------------------- /solutions/java/CombineTwoStrings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/CombineTwoStrings.java -------------------------------------------------------------------------------- /solutions/java/ConvertArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/ConvertArray.java -------------------------------------------------------------------------------- /solutions/java/EvenOccuringElement.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/EvenOccuringElement.java -------------------------------------------------------------------------------- /solutions/java/Fibonacci.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/Fibonacci.java -------------------------------------------------------------------------------- /solutions/java/FindingMissingElement.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/FindingMissingElement.java -------------------------------------------------------------------------------- /solutions/java/HotelRoom.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/HotelRoom.java -------------------------------------------------------------------------------- /solutions/java/IntegerDifference.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/IntegerDifference.java -------------------------------------------------------------------------------- /solutions/java/LargestContinuousSum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/LargestContinuousSum.java -------------------------------------------------------------------------------- /solutions/java/LargestPalindrome.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/LargestPalindrome.java -------------------------------------------------------------------------------- /solutions/java/LongestCommonPrefix.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/LongestCommonPrefix.java -------------------------------------------------------------------------------- /solutions/java/LongestCompoundWord.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/LongestCompoundWord.java -------------------------------------------------------------------------------- /solutions/java/MedianIntegerStream.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/MedianIntegerStream.java -------------------------------------------------------------------------------- /solutions/java/NextHighestNumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/NextHighestNumber.java -------------------------------------------------------------------------------- /solutions/java/RemoveDuplicatesFromString.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/RemoveDuplicatesFromString.java -------------------------------------------------------------------------------- /solutions/java/ReverseWordsInAString.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/ReverseWordsInAString.java -------------------------------------------------------------------------------- /solutions/java/SearchUnknownLengthArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/SearchUnknownLengthArray.java -------------------------------------------------------------------------------- /solutions/java/Spiral.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/Spiral.java -------------------------------------------------------------------------------- /solutions/java/StackMachine.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/StackMachine.java -------------------------------------------------------------------------------- /solutions/java/StringRotation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/StringRotation.java -------------------------------------------------------------------------------- /solutions/java/TreeLevelOrderPrint.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/java/TreeLevelOrderPrint.java -------------------------------------------------------------------------------- /solutions/javascript/anagram-detection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/anagram-detection.js -------------------------------------------------------------------------------- /solutions/javascript/array-pair-sum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/array-pair-sum.js -------------------------------------------------------------------------------- /solutions/javascript/async-task-runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/async-task-runner.js -------------------------------------------------------------------------------- /solutions/javascript/balanced-brackets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/balanced-brackets.js -------------------------------------------------------------------------------- /solutions/javascript/binary-search-tree-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/binary-search-tree-check.js -------------------------------------------------------------------------------- /solutions/javascript/binary-search-tree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/binary-search-tree.js -------------------------------------------------------------------------------- /solutions/javascript/bubble-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/bubble-sort.js -------------------------------------------------------------------------------- /solutions/javascript/byte-format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/byte-format.js -------------------------------------------------------------------------------- /solutions/javascript/combine-two-strings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/combine-two-strings.js -------------------------------------------------------------------------------- /solutions/javascript/convert-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/convert-array.js -------------------------------------------------------------------------------- /solutions/javascript/csv-parsing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/csv-parsing.js -------------------------------------------------------------------------------- /solutions/javascript/debounce.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/debounce.js -------------------------------------------------------------------------------- /solutions/javascript/even-occuring-element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/even-occuring-element.js -------------------------------------------------------------------------------- /solutions/javascript/factorial.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/factorial.js -------------------------------------------------------------------------------- /solutions/javascript/fibonnaci.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/fibonnaci.js -------------------------------------------------------------------------------- /solutions/javascript/find-missing-element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/find-missing-element.js -------------------------------------------------------------------------------- /solutions/javascript/first-non-repeated-character.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/first-non-repeated-character.js -------------------------------------------------------------------------------- /solutions/javascript/flatten-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/flatten-array.js -------------------------------------------------------------------------------- /solutions/javascript/flatten-array/copy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/flatten-array/copy.js -------------------------------------------------------------------------------- /solutions/javascript/flatten-array/es5.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/flatten-array/es5.js -------------------------------------------------------------------------------- /solutions/javascript/flatten-array/in-place.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/flatten-array/in-place.js -------------------------------------------------------------------------------- /solutions/javascript/flatten-array/recursive.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/flatten-array/recursive.js -------------------------------------------------------------------------------- /solutions/javascript/get-elements-by-class-name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/get-elements-by-class-name.js -------------------------------------------------------------------------------- /solutions/javascript/hotel-room.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/hotel-room.js -------------------------------------------------------------------------------- /solutions/javascript/insertion-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/insertion-sort.js -------------------------------------------------------------------------------- /solutions/javascript/integer-difference.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/integer-difference.js -------------------------------------------------------------------------------- /solutions/javascript/integer-length.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/integer-length.js -------------------------------------------------------------------------------- /solutions/javascript/kth-largest-element-in-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/kth-largest-element-in-array.js -------------------------------------------------------------------------------- /solutions/javascript/largest-continuous-sum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/largest-continuous-sum.js -------------------------------------------------------------------------------- /solutions/javascript/largest-palindrome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/largest-palindrome.js -------------------------------------------------------------------------------- /solutions/javascript/linked-list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/linked-list.js -------------------------------------------------------------------------------- /solutions/javascript/longest-compound-word.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/longest-compound-word.js -------------------------------------------------------------------------------- /solutions/javascript/longest-words.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/longest-words.js -------------------------------------------------------------------------------- /solutions/javascript/matching-nodes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/matching-nodes.js -------------------------------------------------------------------------------- /solutions/javascript/median-integer-stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/median-integer-stream.js -------------------------------------------------------------------------------- /solutions/javascript/merge-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/merge-sort.js -------------------------------------------------------------------------------- /solutions/javascript/missing-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/missing-number.js -------------------------------------------------------------------------------- /solutions/javascript/money-format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/money-format.js -------------------------------------------------------------------------------- /solutions/javascript/multiples-of-3-and-5.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/multiples-of-3-and-5.js -------------------------------------------------------------------------------- /solutions/javascript/next-highest-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/next-highest-number.js -------------------------------------------------------------------------------- /solutions/javascript/next-palindrome-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/next-palindrome-number.js -------------------------------------------------------------------------------- /solutions/javascript/number-format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/number-format.js -------------------------------------------------------------------------------- /solutions/javascript/odd-occuring-element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/odd-occuring-element.js -------------------------------------------------------------------------------- /solutions/javascript/once.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/once.js -------------------------------------------------------------------------------- /solutions/javascript/prime-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/prime-number.js -------------------------------------------------------------------------------- /solutions/javascript/queen-threatens-king.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/queen-threatens-king.js -------------------------------------------------------------------------------- /solutions/javascript/queen-threatens-king/queen-threatens-king-solution-diagonal-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/queen-threatens-king/queen-threatens-king-solution-diagonal-1.png -------------------------------------------------------------------------------- /solutions/javascript/queen-threatens-king/queen-threatens-king-solution-diagonal-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/queen-threatens-king/queen-threatens-king-solution-diagonal-2.png -------------------------------------------------------------------------------- /solutions/javascript/queen-threatens-king/queen-threatens-king-solution-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/queen-threatens-king/queen-threatens-king-solution-horizontal.png -------------------------------------------------------------------------------- /solutions/javascript/queen-threatens-king/queen-threatens-king-solution-vertical.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/queen-threatens-king/queen-threatens-king-solution-vertical.png -------------------------------------------------------------------------------- /solutions/javascript/queen-threatens-king/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/queen-threatens-king/readme.md -------------------------------------------------------------------------------- /solutions/javascript/queue.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/queue.js -------------------------------------------------------------------------------- /solutions/javascript/quick-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/quick-sort.js -------------------------------------------------------------------------------- /solutions/javascript/remove-duplicates-from-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/remove-duplicates-from-string.js -------------------------------------------------------------------------------- /solutions/javascript/reverse-words-in-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/reverse-words-in-string.js -------------------------------------------------------------------------------- /solutions/javascript/search-unknown-length-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/search-unknown-length-array.js -------------------------------------------------------------------------------- /solutions/javascript/selection-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/selection-sort.js -------------------------------------------------------------------------------- /solutions/javascript/shortest-fizz-buzz.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/shortest-fizz-buzz.js -------------------------------------------------------------------------------- /solutions/javascript/sorted-array-search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/sorted-array-search.js -------------------------------------------------------------------------------- /solutions/javascript/spiral.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/spiral.js -------------------------------------------------------------------------------- /solutions/javascript/stack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/stack.js -------------------------------------------------------------------------------- /solutions/javascript/string-format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/string-format.js -------------------------------------------------------------------------------- /solutions/javascript/string-permutations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/string-permutations.js -------------------------------------------------------------------------------- /solutions/javascript/string-rotation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/string-rotation.js -------------------------------------------------------------------------------- /solutions/javascript/sum-of-array-plus-one.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/sum-of-array-plus-one.js -------------------------------------------------------------------------------- /solutions/javascript/throttle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/throttle.js -------------------------------------------------------------------------------- /solutions/javascript/transform-word.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/transform-word.js -------------------------------------------------------------------------------- /solutions/javascript/tree-level-order-print.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/tree-level-order-print.js -------------------------------------------------------------------------------- /solutions/javascript/word-analytics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/word-analytics.js -------------------------------------------------------------------------------- /solutions/javascript/word-positions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/javascript/word-positions.js -------------------------------------------------------------------------------- /solutions/php/factorial.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/php/factorial.php -------------------------------------------------------------------------------- /solutions/php/hotel-room.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/php/hotel-room.php -------------------------------------------------------------------------------- /solutions/php/integer-length.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/php/integer-length.php -------------------------------------------------------------------------------- /solutions/php/reverse-words-in-string.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/php/reverse-words-in-string.php -------------------------------------------------------------------------------- /solutions/php/shortest-fizz-buzz.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/php/shortest-fizz-buzz.php -------------------------------------------------------------------------------- /solutions/php/sum-of-array-plus-one.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/php/sum-of-array-plus-one.php -------------------------------------------------------------------------------- /solutions/ruby/anagram_detection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/anagram_detection.rb -------------------------------------------------------------------------------- /solutions/ruby/array_pair_sum.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/array_pair_sum.rb -------------------------------------------------------------------------------- /solutions/ruby/balanced_brackets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/balanced_brackets.rb -------------------------------------------------------------------------------- /solutions/ruby/bubble_sort.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/bubble_sort.rb -------------------------------------------------------------------------------- /solutions/ruby/factorial.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/factorial.rb -------------------------------------------------------------------------------- /solutions/ruby/fib.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/fib.rb -------------------------------------------------------------------------------- /solutions/ruby/fibonacci.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/fibonacci.rb -------------------------------------------------------------------------------- /solutions/ruby/flatten_array.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/flatten_array.rb -------------------------------------------------------------------------------- /solutions/ruby/int_length.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/int_length.rb -------------------------------------------------------------------------------- /solutions/ruby/longest_words.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/longest_words.rb -------------------------------------------------------------------------------- /solutions/ruby/merge_sort.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/merge_sort.rb -------------------------------------------------------------------------------- /solutions/ruby/multiples_of_three_and_five.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/multiples_of_three_and_five.rb -------------------------------------------------------------------------------- /solutions/ruby/odd_occuring_element.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/odd_occuring_element.rb -------------------------------------------------------------------------------- /solutions/ruby/prime_number.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/prime_number.rb -------------------------------------------------------------------------------- /solutions/ruby/quick_sort.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/quick_sort.rb -------------------------------------------------------------------------------- /solutions/ruby/remove_duplicates.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/remove_duplicates.rb -------------------------------------------------------------------------------- /solutions/ruby/reverse_words.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/reverse_words.rb -------------------------------------------------------------------------------- /solutions/ruby/selection_sort.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/selection_sort.rb -------------------------------------------------------------------------------- /solutions/ruby/shortest_fizz_buzz.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/shortest_fizz_buzz.rb -------------------------------------------------------------------------------- /solutions/ruby/sum_of_array_plus_one.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/sum_of_array_plus_one.rb -------------------------------------------------------------------------------- /solutions/ruby/sum_plus_one.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/sum_plus_one.rb -------------------------------------------------------------------------------- /solutions/ruby/word_position.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/solutions/ruby/word_position.rb -------------------------------------------------------------------------------- /tests/cpp/common.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/cpp/common.cpp -------------------------------------------------------------------------------- /tests/cpp/common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/cpp/common.hpp -------------------------------------------------------------------------------- /tests/cpp/once.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/cpp/once.cpp -------------------------------------------------------------------------------- /tests/cpp/queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/cpp/queue.cpp -------------------------------------------------------------------------------- /tests/cpp/spiral.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/cpp/spiral.cpp -------------------------------------------------------------------------------- /tests/cpp/stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/cpp/stack.cpp -------------------------------------------------------------------------------- /tests/javascript/anagram-detection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/anagram-detection.js -------------------------------------------------------------------------------- /tests/javascript/array-pair-sum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/array-pair-sum.js -------------------------------------------------------------------------------- /tests/javascript/binary-search-tree-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/binary-search-tree-check.js -------------------------------------------------------------------------------- /tests/javascript/binary-search-tree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/binary-search-tree.js -------------------------------------------------------------------------------- /tests/javascript/byte-format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/byte-format.js -------------------------------------------------------------------------------- /tests/javascript/convert-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/convert-array.js -------------------------------------------------------------------------------- /tests/javascript/factorial.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/factorial.js -------------------------------------------------------------------------------- /tests/javascript/flatten-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/flatten-array.js -------------------------------------------------------------------------------- /tests/javascript/insertion-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/insertion-sort.js -------------------------------------------------------------------------------- /tests/javascript/largest-continuous-sum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/largest-continuous-sum.js -------------------------------------------------------------------------------- /tests/javascript/next-highest-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/next-highest-number.js -------------------------------------------------------------------------------- /tests/javascript/prime-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/prime-number.js -------------------------------------------------------------------------------- /tests/javascript/queen-threatens-king.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/queen-threatens-king.js -------------------------------------------------------------------------------- /tests/javascript/quick-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/quick-sort.js -------------------------------------------------------------------------------- /tests/javascript/search-unknown-length-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/search-unknown-length-array.js -------------------------------------------------------------------------------- /tests/javascript/sorted-array-search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/sorted-array-search.js -------------------------------------------------------------------------------- /tests/javascript/word-positions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muthu-cs/code-problems-solutions/HEAD/tests/javascript/word-positions.js --------------------------------------------------------------------------------