├── .gitignore ├── README.md ├── c ├── reverse.c └── reverse2.c ├── java └── javacode │ ├── Fibonacci.class │ ├── Fibonacci.java │ ├── FizzBuzz.class │ └── FizzBuzz.java ├── javascript ├── anagram.js ├── fizzbuzz.js ├── hangman │ ├── hangman.html │ ├── hangman.js │ ├── underscore.js │ ├── words.js │ ├── words.txt │ └── words2.txt ├── jquery_tab.html ├── js_tips.txt ├── multi_dimension_sort.js ├── palindrome.js ├── reverse.js ├── seat_circle.js ├── sum_target.js └── turn_matrix.js ├── php ├── FizzBuzz.php └── ListIntersection.php ├── python ├── __init__.py ├── alphabetical_substring.py ├── anagram.py ├── bfs.py ├── bft.py ├── bisection_guess.py ├── chess_board.py ├── clean_chain ├── count_occurances.py ├── database_structure.txt ├── deviation.py ├── dfs.py ├── dft.py ├── diagonals.py ├── double_linked_list.py ├── equal_prob.py ├── extract_num.py ├── factorial.py ├── family_tree.py ├── fibonacci.py ├── find_duplicates.py ├── find_num.py ├── find_small_nums.py ├── fixed_point.py ├── fizzbuzz.py ├── flatten_list.py ├── gcd.py ├── graph_search.py ├── hangman │ ├── hangman_helper.py │ ├── ps3_hangman.py │ └── words.txt ├── itinerary.py ├── linked_list.py ├── list_intersection.py ├── logarithm.py ├── make_change.py ├── mcmc.py ├── merge.py ├── oop.py ├── palindrome.py ├── palindrome_rearrange_words.py ├── pay_credit_debt.py ├── prime.py ├── prime_clean_chain.py ├── product_integers.py ├── pythonbee.py ├── quicksort.py ├── random_weight_value.py ├── reservoir_sampling.py ├── reverse.py ├── rock_paper_scissors.py ├── scramble.py ├── seat_circle.py ├── sentence_sort │ ├── __init__.py │ ├── sentence_sort.py │ └── test_sentence_sort.py ├── split.py ├── sqroot.py ├── square.py ├── string_lacing.py ├── string_match.py ├── sum_target.py ├── sum_target_bool.py ├── test.py ├── tic_tac_toe.py ├── tmp_seat.py ├── turn_matrix.py ├── winetasting.py └── words.txt └── ruby ├── fibonacci.rb ├── find_duplicates.rb ├── find_num.rb ├── fizzbuzz.rb ├── list_intersection.rb ├── palindrome.rb ├── prime.rb ├── random_str.rb ├── reverse.rb ├── seat_circle.rb ├── sqroot.rb ├── square.rb └── sum_target.bool.rb /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | temp* 3 | .DS_Store 4 | .html 5 | 6 | *twitter* 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/README.md -------------------------------------------------------------------------------- /c/reverse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/c/reverse.c -------------------------------------------------------------------------------- /c/reverse2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/c/reverse2.c -------------------------------------------------------------------------------- /java/javacode/Fibonacci.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/java/javacode/Fibonacci.class -------------------------------------------------------------------------------- /java/javacode/Fibonacci.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/java/javacode/Fibonacci.java -------------------------------------------------------------------------------- /java/javacode/FizzBuzz.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/java/javacode/FizzBuzz.class -------------------------------------------------------------------------------- /java/javacode/FizzBuzz.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/java/javacode/FizzBuzz.java -------------------------------------------------------------------------------- /javascript/anagram.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/anagram.js -------------------------------------------------------------------------------- /javascript/fizzbuzz.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/fizzbuzz.js -------------------------------------------------------------------------------- /javascript/hangman/hangman.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/hangman/hangman.html -------------------------------------------------------------------------------- /javascript/hangman/hangman.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/hangman/hangman.js -------------------------------------------------------------------------------- /javascript/hangman/underscore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/hangman/underscore.js -------------------------------------------------------------------------------- /javascript/hangman/words.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/hangman/words.js -------------------------------------------------------------------------------- /javascript/hangman/words.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/hangman/words.txt -------------------------------------------------------------------------------- /javascript/hangman/words2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/hangman/words2.txt -------------------------------------------------------------------------------- /javascript/jquery_tab.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/jquery_tab.html -------------------------------------------------------------------------------- /javascript/js_tips.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/js_tips.txt -------------------------------------------------------------------------------- /javascript/multi_dimension_sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/multi_dimension_sort.js -------------------------------------------------------------------------------- /javascript/palindrome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/palindrome.js -------------------------------------------------------------------------------- /javascript/reverse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/reverse.js -------------------------------------------------------------------------------- /javascript/seat_circle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/seat_circle.js -------------------------------------------------------------------------------- /javascript/sum_target.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/sum_target.js -------------------------------------------------------------------------------- /javascript/turn_matrix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/javascript/turn_matrix.js -------------------------------------------------------------------------------- /php/FizzBuzz.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/php/FizzBuzz.php -------------------------------------------------------------------------------- /php/ListIntersection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/php/ListIntersection.php -------------------------------------------------------------------------------- /python/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python/alphabetical_substring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/alphabetical_substring.py -------------------------------------------------------------------------------- /python/anagram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/anagram.py -------------------------------------------------------------------------------- /python/bfs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/bfs.py -------------------------------------------------------------------------------- /python/bft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/bft.py -------------------------------------------------------------------------------- /python/bisection_guess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/bisection_guess.py -------------------------------------------------------------------------------- /python/chess_board.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/chess_board.py -------------------------------------------------------------------------------- /python/clean_chain: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/clean_chain -------------------------------------------------------------------------------- /python/count_occurances.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/count_occurances.py -------------------------------------------------------------------------------- /python/database_structure.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/database_structure.txt -------------------------------------------------------------------------------- /python/deviation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/deviation.py -------------------------------------------------------------------------------- /python/dfs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/dfs.py -------------------------------------------------------------------------------- /python/dft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/dft.py -------------------------------------------------------------------------------- /python/diagonals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/diagonals.py -------------------------------------------------------------------------------- /python/double_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/double_linked_list.py -------------------------------------------------------------------------------- /python/equal_prob.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/equal_prob.py -------------------------------------------------------------------------------- /python/extract_num.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/extract_num.py -------------------------------------------------------------------------------- /python/factorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/factorial.py -------------------------------------------------------------------------------- /python/family_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/family_tree.py -------------------------------------------------------------------------------- /python/fibonacci.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/fibonacci.py -------------------------------------------------------------------------------- /python/find_duplicates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/find_duplicates.py -------------------------------------------------------------------------------- /python/find_num.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/find_num.py -------------------------------------------------------------------------------- /python/find_small_nums.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/find_small_nums.py -------------------------------------------------------------------------------- /python/fixed_point.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/fixed_point.py -------------------------------------------------------------------------------- /python/fizzbuzz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/fizzbuzz.py -------------------------------------------------------------------------------- /python/flatten_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/flatten_list.py -------------------------------------------------------------------------------- /python/gcd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/gcd.py -------------------------------------------------------------------------------- /python/graph_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/graph_search.py -------------------------------------------------------------------------------- /python/hangman/hangman_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/hangman/hangman_helper.py -------------------------------------------------------------------------------- /python/hangman/ps3_hangman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/hangman/ps3_hangman.py -------------------------------------------------------------------------------- /python/hangman/words.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/hangman/words.txt -------------------------------------------------------------------------------- /python/itinerary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/itinerary.py -------------------------------------------------------------------------------- /python/linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/linked_list.py -------------------------------------------------------------------------------- /python/list_intersection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/list_intersection.py -------------------------------------------------------------------------------- /python/logarithm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/logarithm.py -------------------------------------------------------------------------------- /python/make_change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/make_change.py -------------------------------------------------------------------------------- /python/mcmc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/mcmc.py -------------------------------------------------------------------------------- /python/merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/merge.py -------------------------------------------------------------------------------- /python/oop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/oop.py -------------------------------------------------------------------------------- /python/palindrome.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/palindrome.py -------------------------------------------------------------------------------- /python/palindrome_rearrange_words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/palindrome_rearrange_words.py -------------------------------------------------------------------------------- /python/pay_credit_debt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/pay_credit_debt.py -------------------------------------------------------------------------------- /python/prime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/prime.py -------------------------------------------------------------------------------- /python/prime_clean_chain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/prime_clean_chain.py -------------------------------------------------------------------------------- /python/product_integers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/product_integers.py -------------------------------------------------------------------------------- /python/pythonbee.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/pythonbee.py -------------------------------------------------------------------------------- /python/quicksort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/quicksort.py -------------------------------------------------------------------------------- /python/random_weight_value.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/random_weight_value.py -------------------------------------------------------------------------------- /python/reservoir_sampling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/reservoir_sampling.py -------------------------------------------------------------------------------- /python/reverse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/reverse.py -------------------------------------------------------------------------------- /python/rock_paper_scissors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/rock_paper_scissors.py -------------------------------------------------------------------------------- /python/scramble.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/scramble.py -------------------------------------------------------------------------------- /python/seat_circle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/seat_circle.py -------------------------------------------------------------------------------- /python/sentence_sort/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python/sentence_sort/sentence_sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/sentence_sort/sentence_sort.py -------------------------------------------------------------------------------- /python/sentence_sort/test_sentence_sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/sentence_sort/test_sentence_sort.py -------------------------------------------------------------------------------- /python/split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/split.py -------------------------------------------------------------------------------- /python/sqroot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/sqroot.py -------------------------------------------------------------------------------- /python/square.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/square.py -------------------------------------------------------------------------------- /python/string_lacing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/string_lacing.py -------------------------------------------------------------------------------- /python/string_match.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/string_match.py -------------------------------------------------------------------------------- /python/sum_target.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/sum_target.py -------------------------------------------------------------------------------- /python/sum_target_bool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/sum_target_bool.py -------------------------------------------------------------------------------- /python/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/test.py -------------------------------------------------------------------------------- /python/tic_tac_toe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/tic_tac_toe.py -------------------------------------------------------------------------------- /python/tmp_seat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/tmp_seat.py -------------------------------------------------------------------------------- /python/turn_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/turn_matrix.py -------------------------------------------------------------------------------- /python/winetasting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/winetasting.py -------------------------------------------------------------------------------- /python/words.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/python/words.txt -------------------------------------------------------------------------------- /ruby/fibonacci.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/fibonacci.rb -------------------------------------------------------------------------------- /ruby/find_duplicates.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/find_duplicates.rb -------------------------------------------------------------------------------- /ruby/find_num.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/find_num.rb -------------------------------------------------------------------------------- /ruby/fizzbuzz.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/fizzbuzz.rb -------------------------------------------------------------------------------- /ruby/list_intersection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/list_intersection.rb -------------------------------------------------------------------------------- /ruby/palindrome.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/palindrome.rb -------------------------------------------------------------------------------- /ruby/prime.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/prime.rb -------------------------------------------------------------------------------- /ruby/random_str.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/random_str.rb -------------------------------------------------------------------------------- /ruby/reverse.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/reverse.rb -------------------------------------------------------------------------------- /ruby/seat_circle.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/seat_circle.rb -------------------------------------------------------------------------------- /ruby/sqroot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/sqroot.rb -------------------------------------------------------------------------------- /ruby/square.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/square.rb -------------------------------------------------------------------------------- /ruby/sum_target.bool.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nyghtowl/Interview_Problems/HEAD/ruby/sum_target.bool.rb --------------------------------------------------------------------------------