o




| 1.8 | Parberry, section 5.2 problem 267 and section 6.2 problem 305 |
| 1.12 | Parberry, section 2.1 problem 1 |
| 1.13 | Parberry, section 2.1 problem 2 |
| 1.14 | Parberry, section 2.1 problem 3 |
| 1.15 | Parberry, section 2.1 problem 6 |
| 1.16 | Parberry, section 2.1 problem 9 |
| 1.17 | Parberry, section 2.1 problem 12 |
| 1.18 | Parberry, section 2.4 problem 27 |
| 1.19 | Parberry, section 2.11 problem 76 |
| 1.20 | Brassard and Bratley, problem 1.21 |
| 1.21 | Schaffer, chapter 2 problem 2.21 |
| 1.22 | Shaffer, chapter 2 problem 2.22 |
| 1.23 | Shaffer, chapter 2 problem 2.23 |
| 1.24 | Shaffer, chapter 2 problem 2.24 |
| 1.25 | Shaffer, chapter 2 problem 2.18 |
| 1.26 | http://www.rethinkstudying.com/estimation-interview-questions/ |
| 1.27 | https://medium.com/@wcsendom/pm-interview-cheat-sheet-f09b73b20d51 |
| 1.28 | Shaffer, chapter 2 problem 2.20 |
| 1.29 | Brassard and Bratley, problem 2.6 |
| 1.34 | http://www.techinterviews.com/?p=325 |
| 1.35 | http://www.gamedev.net/community/ forums/topic.asp?topic_id=299692 |
| 1.36 | http://www.acetheinterview.com/ questions/cats/index.php/ microsoft_google/page/2/ |
| 1.37 | http://www.acetheinterview.com/ questions/cats/index.php/ microsoft_google/page/4/ |
| 1.38 | http://www.acetheinterview.com/ questions/cats/index.php/ microsoft_google/page/4/ |
| 2.1 | Parberry, section 6.1, problem 280 |
| 2.2 | Parberry, section 6.1 problem 281 |
| 2.3 | Parberry, section 6.1 problem 282 |
| 2.4 | Parberry, section 6.1 problem 283 |
| 2.5 | https://cs.nyu.edu/home/phd/algorithms_exams/ algorithms_2016fall_exam.pdf |
| 2.6 | Baase, problem 1.13 |
| 2.7 | Parberry, section 5.1 problem 260 |
| 2.8 | CLR, problem 2.1-4 |
| 2.9 | Shaffer, chapter 3, problem 3.8 |
| 2.10 | Parberry, section 3.1 problem 100-107 |
| 2.11 | http://web.stanford.edu/class/archive/cs/cs161/ cs161.1166/homework/hw0.pdf |
| 2.12 | Parberry, section 3.3 problem 139 |
| 2.13 | Parberry, section 3.3 problem 140 |
| 2.14 | https://www5.in.tum.de/ lehre/vorlesungen/fundalg/WS03/midterm.pdf |
| 2.15 | Jon Kleinberg and Éva Tardos, Algorithm Design, pg 67 |
| 2.16 | Jon Kleinberg and Éva Tardos, Algorithm Design, pg 67 |
| 2.17 | Parberry, section 3.3 problem 165, 166,168 |
| 2.18 | Parberry, section 3.4 problem 171 |
| 2.19 | Parberry , section 3.4 problem 172 |
| 2.20 | Parberry, section 3.4 problem 177 |
| 2.21 | Parberry, section 3.3 problem 135 |
| 2.22 | CLR, problem 2.1-2 |
| 2.23 | Baase, problem 1.16 |
| 2.24 | https://courses.csail.mit.edu/ 6.006/fall11/exams/quiz1-sol.pdf |
| 2.25 | Omar Amin |
| 2.26 | Parberry, section 3.1 problem 1 |
| 2.27 | Parberry, section 3.6 problem 197-200 |
| 2.28 | Parberry, section 3.3 problem 110 |
| 2.29 | Parberry, section 3.2 problem 127 |
| 2.37 | Manber problem 2.11 |
| 2.44 | Brassard and Bratley, problem 1.15 |
| 2.45 | Baase, problem 1.27 |
| 2.46 | Parberry, section 2.13 problem 92 |
| 2.47 | Skiena, problem 2-8 |
| 2.52 | http://www.techinterviews.com/?p=325 |
| 2.53 | http://www.ocf.berkeley.edu/~wwu/ cgi-bin/yabb/YaBB.cgi?board=riddles_cs; action=display;num=1163814740 |
| 3.1 | Shaffer, chapter 1 problem 1.13 |
| 3.2 | https://www.techiedelight.com/find-length-longest-balanced-parenthesis-string/ |
| 3.3 | Manber problem 4.2 |
| 3.4 | https://www.techiedelight.com/design-stack-which-returns-minimum-element-constant-time/ |
| 3.5 | Modified from Shaffer, problem 14.16 |
| 3.6 | Skiena |
| 3.7 | Skiena |
| 3.8 | unknown |
| 3.9 | https://challenges.wolfram.com/challenge/telephone-word |
| 3.10 | TechieDelight: https://www.techiedelight.com/determine-if-two-strings-are-anagram-or-not/ |
| 3.11 | Parberry, section 11.5 problem 565 |
| 3.12 | LeetCode, Problem: 104 |
| 3.13 | https://leetcode.com/problems/recover-binary-search-tree/ |
| 3.14 | https://www.techiedelight.com/merge-two-bsts-into-doubly-linked-list-sorted-order/ |
| 3.15 | https://www.techiedelight.com/construct-height-balanced-bst-from-unbalanced-bst/ |
| 3.16 | Shaffer, chapter 5 problem 5.4 |
| 3.17 | https://leetcode.com/problems/balanced-binary-tree/description/ |
| 3.20 | Parberry, section 11.5 problem 567 |
| 3.21 | Manber, problem 4.19 |
| 3.22 | https://leetcode.com/problems/find-median-from-data-stream/ |
| 3.23 | Inspired by https://challenges.wolfram.com/challenge/words-with-a-given-prefix |
| 3.24 | https://www.techiedelight.com/find-duplicates-within-given-range-array/ |
| 3.25 | Parberry, section 11.5 problem 570 |
| 3.26 | Parberry, section 11.5 problem 575-576 |
| 3.27 | Manber, problem 5.21 |
| 3.28 | Manber, problem 4.27 |
| 3.29 | Manber problem 4.28 |
| 3.30 | MIT final |
| 3.34 | http://www.techinterviews.com/?p=325 |
| 3.35 | http://www.techinterviews.com/?p=325 |
| 3.36 | http://www.ocf.berkeley.edu/~wwu/ cgi-bin/yabb/YaBB.cgi?board=riddles_cs; action=display;num=1163814740 |
| 3.37 | http://www.ocf.berkeley.edu/~wwu/ cgi-bin/yabb/YaBB.cgi?board=riddles_cs; action=display;num=1163814740 |
| 3.38 | www.sellsbrothers.com/fun/msiview/ question.htm |
| 3.39 | www.sellsbrothers.com/fun/msiview/ question.htm |
| 3.42 | www.sellsbrothers.com/fun/msiview/ question.htm |
| 3.44 | http://gurus.wordpress.com/2007/06/28/ algorithm-challenge-1-no-division/ |
| 4.7 | Leetcode 274 |
| 4.8 | Baase, problem 2.30 |
| 4.10 | Manber, problem 6.22 |
| 4.11 | Manber, problem 6.61 and Brassard and Bratley, problem 7.35 |
| 4.12 | Manber, problem 6.25 |
| 4.13 | http://web.stanford.edu/class/archive/cs/cs161/ cs161.1166/homework/hw1.pdf |
| 4.14 | https://leetcode.com/problems/merge-intervals/description/ |
| 4.15 | CSE 373 exam |
| 4.16 | UVa 10020 |
| 4.17 | Parberry, section 13.1 problem 608 |
| 4.18 | CLR, problem 7.5-6 |
| 4.20 | Baase, problem 1.11 and 3.7 |
| 4.22 | Parberry, section 7.5 problems 344, 345. |
| 4.23 | Baase, problem 2.38 |
| 4.24 | Baase, problem 2.33 |
| 4.25 | Tim Roughgarden, Algorithms Illuminated Part 1: The basics, Quiz 5.3 pg 140 |
| 4.27 | http://web.stanford.edu/class/archive/cs/cs161/ cs161.1166/homework/hw2.pdf, also my paper with Pinter |
| 4.28 | Tim Roughgarden, Algorithms Illuminated Part 1: The basics, problem 1.2 pg 33 |
| 4.29 | Tim Roughgarden, Algorithms Illuminated Part 1: The basics, problem 1.3 pg 34 |
| 4.30 | Tim Roughgarden, Algorithms Illuminated Part 1: The basics, problem 1.4 pg 34 |
| 4.32 | Leetcode 324 |
| 4.33 | Parberry, section 13.1 problem 607 |
| 4.34 | Manber, problem 6.32 |
| 4.42 | CSE 373 exam |
| 4.45 | Shaffer, project 9.3 |
| 4.47 | http://careers.cse.sc.edu/googleinterview |
| 4.48 | http://www.sellsbrothers.com/fun/msiview /default.aspx?content=question.htm |
| 4.49 | www.sellsbrothers.com/fun/msiview/ question.htm |
| 4.51 | http://www.ocf.berkeley.edu/~wwu/ cgi-bin/yabb/YaBB.cgi?board=riddles_cs; action=display;num=1163814740 |
| 5.2 | https://www.techiedelight.com/find-missing-number-array-without-extra-space/ |
| 5.3 | Manber, problem 6.1 and 6.2 |
| 5.4 | Tim Roughgarden, Algorithms Illuminated Part 1: The basics, problem 3.2 pg 91 |
| 5.7 | Baase, problem 2.41 |
| 5.9 | Folklore |
| 5.10 | CSE 373 exam |
| 5.11 | Skiena original |
| 5.12 | Robert Piche and https://math.stackexchange.com/questions/13551/is-it-possible-to-convert-a-polynomial-into-a-recurrence-relation-if-so-how |
| 5.13 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 2.1 pg 83 |
| 5.14 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 2.5 pg 83 |
| 6.1 | http://www.cs.cmu.edu/afs/cs/academic/class/15750-s11/www/pracfinal1.pdf |
| 6.2 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 6.10 pg 193 |
| 6.3 | Baase, problem 2.9 |
| 6.5 | A Steven Skiena original |
| 6.7 | https://leetcode.com/problems/lru-cache/description/ |
| 6.8 | https://challenges.wolfram.com/challenge/rotodromes |
| 6.9 | LeetCode: Problem 528 |
| 6.10 | LeetCode: Problem 470 |
| 6.11 | Tim Roughgarden, Algorithms Illuminated Part 1: The basics, problem 5.2 pg 151 |
| 6.12 | Robert Piche' |
| 7.1 | Steven Skiena -- August 28, 1999 |
| 7.2 | Steven Skiena -- August 28, 1999 |
| 7.3 | Ian Parberry, section 2.11 problem 80 |
| 7.4 | Baase, problem 4.23 |
| 7.5 | Baase, problem 9.16 |
| 7.6 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 5.3 pg 161 |
| 7.13 | https://www.geeksforgeeks.org/snake-ladder-problem-2/ |
| 7.14 | Yimin Zhu |
| 7.15 | https://ocw.mit.edu/courses/ electrical-engineering-and-computer-science/ 6-006-introduction-to-algorithms-fall-2011/ exams/MIT6_006F11_final.pdf |
| 7.16 | CLR, problem 23.1-5 |
| 7.17 | Manber, problem 7.108 and 7.109. and CLR, problem 37.1-3 |
| 7.19 | Manber, problem problem 7.113 |
| 7.21 | Baase, problem 8.24 |
| 7.22 | FROM GASARCH |
| 7.23 | FROM GASARCH |
| 7.25 | Manber, problem 7.42 |
| 7.26 | Manber, problem 7.82 |
| 7.27 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 3.5 pg 107 |
| 7.28 | Parberry, section 13.6 problem 667-668 |
| 7.30 | Yimin Zhu |
| 7.31 | CSE 373 exam |
| 7.32 | Corman new edition |
| 7.33 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 3.11 pg 108 |
| 7.35 | Baase, problem 4.57 |
| 7.36 | https://cs.nyu.edu/home/phd/algorithms_exams/ algorithms_2006fall_exam.pdf |
| 7.37 | Parberry, section 2.10 problem 68 and Brassard and Bratley, problem 9.39 |
| 7.41 | http://web.stanford.edu/class/archive/cs/cs161/ cs161.1166/homework/hw4.pdf |
| 7.42 | google-questions.txt |
| 7.43 | google-questions.txt |
| 8.1 | Parberry, section 9.3 problem 438-440 |
| 8.4 | Shaffer, chapter 7 problem 7.20 |
| 8.5 | Shaffer, chapter 7 problem 7.22 |
| 8.6 | CSE 373 exam |
| 8.11 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 5.22 pg 162 |
| 8.12 | Manber, problem 7.71 and 7.72. |
| 8.14 | Parberry, section 11.4 problem 562 |
| 8.15 | Shaffer, chapter 7 problem 7.13 |
| 8.16 | Manber, problem 7.7 |
| 8.17 | Manber, problem 7.12 |
| 8.18 | Parberry, section 9.3 problem 448 |
| 8.19 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 4.14 pg 133 |
| 8.21 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 4.11 pg 133 |
| 8.22 | MIT algorithms problem set via Cristina Mata |
| 8.23 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 4.10 pg 133 |
| 8.24 | Parberry, section 9.2 problem 436 |
| 8.25 | Manber, problem 7.50 |
| 8.26 | Manber, problem 7.48 |
| 8.27 | Parberry, section 8,5 problem 416 |
| 8.28 | Manber, problem 7.95 |
| 8.29 | Manber, problem 7.107 |
| 9.3 | https://www.techiedelight.com/find-combinations-of-elements-satisfies-given-constraints/ |
| 9.5 | Unknown |
| 9.6 | https://leetcode.com/problems/unique-binary-search-trees-ii/ |
| 9.7 | McDowell, 8.9 |
| 9.8 | https://www.techiedelight.com/find-all-possible-topological-orderings-of-dag/ |
| 9.9 | UVa 574 - Sum It Up |
| 9.11 | CSE 373 exam |
| 9.12 | Inspired by https://challenges.wolfram.com/challenge/forbidden-substrings |
| 9.13 | https://www.techiedelight.com/k-partition-problem-print-all-subsets/ |
| 9.14 | UVa 190 |
| 9.17 | https://www.techiedelight.com/print-possible-knights-tours-chessboard/ |
| 9.18 | https://www.techiedelight.com/generate-list-of-possible-words-from-a-character-matrix/ and https://www.cs.oberlin.edu/~rhoyle/17f-cs151/lab09/index.html |
| 9.19 | From Wolfram{https://challenges.wolfram.com/challenge/babbage-squares |
| 9.28 | http://careers.cse.sc.edu/googleinterview |
| 9.29 | google-questions.txt |
| 9.30 | google-questions.txt |
| 9.31 | google-questions.txt |
| 9.32 | http://www.techinterviews.com/?p=325 |
| 9.33 | google-questions.txt |
| 10.1 | McDowell, problem 8.1 |
| 10.2 | Yao Li and https://leetcode.com/problems/house-robber/ |
| 10.3 | Inspired by https://challenges.wolfram.com/ challenge/getting-a-basketball-score |
| 10.4 | Inspired by https://challenges.wolfram.com/ challenge/getting-a-basketball-score |
| 10.5 | CSE 373 exam |
| 10.7 | Baase, problem 6.17 |
| 10.8 | Baase, problem 6.16 |
| 10.9 | Manber, problem 6.51 |
| 10.10 | Arch Robison |
| 10.11 | Brassard and Bratley, problem 6.21 |
| 10.14 | Parberry, section 9.5 problem 473 |
| 10.15 | https://www.geeksforgeeks.org/cutting-a-rod-dp-13/ and Danny Guo |
| 10.16 | https://ocw.mit.edu/courses/ electrical-engineering-and-computer-science/ 6-006-introduction-to-algorithms-fall-2011/ exams/MIT6_006F11_final.pdf |
| 10.17 | LeetCode, problem 279 |
| 10.18 | Folklore, and https://challenges.wolfram.com/ challenge/maximal-contiguous-sum |
| 10.19 | UVa 10664 |
| 10.21 | Baase, problem 6.18 |
| 10.22 | Bill Gasarch |
| 10.23 | Parberry, section 8.5 problem 410 |
| 10.25 | Bill Gasarch |
| 10.26 | Bill Gasarch |
| 10.29 | McDowell, problem 8.13 |
| 10.32 | McDowell, problem 8.13 |
| 10.33 | Unknown |
| 10.34 | https://cs.nyu.edu/home/phd/algorithms_exams/ algorithms_2014fall_exam.pdf |
| 10.35 | MIT Problem Set 5 Spring 2017 from C. Daskalakis, P. Indyk, and S. Smith via Cristina Mata |
| 10.38 | Bill Gasarch |
| 10.39 | http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board=riddles_cs;action=display;num=1163814740 |
| 10.40 | google-questions.txt |
| 10.41 | google-questions.txt |
| 11.1 | Manber, problem 11.4 |
| 11.2 | Manber, problem 11.5 |
| 11.3 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 8.8 pg 279 |
| 11.4 | CSE 373 exam |
| 11.13 | Steven Skiena |
| 11.14 | CSE 373 exam |
| 11.15 | Yimin Zhu and Steven Skiena |
| 11.19 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 8.15 pg 280 |
| 11.20 | Yao Li from Rob Patro's CSE 373 HW |
| 11.21 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 8.19 pg 280 |
| 11.22 | Garey and Johnson, pg. 64 |
| 11.23 | Garey and Johnson, pg. 64 |
| 11.24 | Garey and Johnson, pg. 75 |
| 11.25 | Garey and Johnson, pg. 75 |
| 11.26 | Garey and Johnson, pg. 75 |
| 11.28 | Garey and Johnson, pg. 75 |
| 11.29 | Garey and Johnson, pg. 75 |
| 11.30 | Unknown |
| 11.32 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 8.4 pg 278 |
| 12.1 | https://web.cs.dal.ca/~nzeh/Teaching/3110/Assignments/sample-final.pdf |
| 12.2 | http://www.cs.cmu.edu/afs/cs/academic/class/15750-s11/www/practice1soln.pdf |
| 12.3 | CSE 373 exam |
| 12.6 | Vazirani, problem 2.1 |
| 12.8 | Vazirani 9.1 |
| 12.9 | Algorithms, S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani, exercise 9.4 pg 306 |
| 12.10 | Vazirani, problem 2.6 |