{"id":1405,"date":"2017-03-16T18:00:13","date_gmt":"2017-03-17T01:00:13","guid":{"rendered":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/?p=1405"},"modified":"2017-03-13T14:26:01","modified_gmt":"2017-03-13T21:26:01","slug":"handouts-and-notes-for-20170317","status":"publish","type":"post","link":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/2017\/03\/16\/handouts-and-notes-for-20170317\/","title":{"rendered":"Handouts and Notes for 2017\/03\/17"},"content":{"rendered":"<p>Today we&#8217;ll continue to talk about NP-completeness and reductions.<\/p>\n<ul>\n<li>For next class, please <strong>read section 8.3<\/strong> and <strong>complete the pre-class quiz on 8.2 and 8.3<\/strong>.<\/li>\n<li>Here\u2019s a <a href=\"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/files\/2017\/03\/2017-03-15-reductions-sample-soln.pdf\">sample solution to our current notes<\/a> on reductions and NP-completeness.<\/li>\n<li>Here is <a href=\"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/files\/2017\/03\/Longest-Common-Subsequence-Completed.pdf\">code implementing memoized and DP versions of Longest Common Subsequence<\/a>. Here&#8217;s a <a href=\"http:\/\/www.ugrad.cs.ubc.ca\/~cs320\/2016W2\/Longest%20Common%20Subsequence%20Completed.ipynb\">Jupyter Notebook version<\/a> and <a href=\"http:\/\/www.ugrad.cs.ubc.ca\/~cs320\/2016W2\/Longest%20Common%20Subsequence%20Completed.py\">plain Python version<\/a>. (I use the CPSC 103 test library, but it should be pretty easy to remove that dependency!)<\/li>\n<li>Start in on the assignment, due next week and posted at the end of the day Friday!<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Today we&#8217;ll continue to talk about NP-completeness and reductions. For next class, please read section 8.3 and complete the pre-class quiz on 8.2 and 8.3. Here\u2019s a sample solution to our current notes on reductions and NP-completeness. Here is code implementing memoized and DP versions of Longest Common Subsequence. Here&#8217;s a Jupyter Notebook version and &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/2017\/03\/16\/handouts-and-notes-for-20170317\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Handouts and Notes for 2017\/03\/17&#8221;<\/span><\/a><\/p>\n","protected":false},"author":7560,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[318531,99],"tags":[],"class_list":["post-1405","post","type-post","status-publish","format-standard","hentry","category-handouts","category-readings"],"_links":{"self":[{"href":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/wp-json\/wp\/v2\/posts\/1405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/wp-json\/wp\/v2\/users\/7560"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/wp-json\/wp\/v2\/comments?post=1405"}],"version-history":[{"count":3,"href":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/wp-json\/wp\/v2\/posts\/1405\/revisions"}],"predecessor-version":[{"id":1409,"href":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/wp-json\/wp\/v2\/posts\/1405\/revisions\/1409"}],"wp:attachment":[{"href":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/wp-json\/wp\/v2\/media?parent=1405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/wp-json\/wp\/v2\/categories?post=1405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ubc.ca\/cpsc3202016w2\/wp-json\/wp\/v2\/tags?post=1405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}