Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":23963,"date":"2015-10-25T18:37:28","date_gmt":"2015-10-26T00:37:28","guid":{"rendered":"https:\/\/interestingstuff.withknown.com\/2015\/euclidean-algorithm-wsq12"},"modified":"2015-10-25T18:37:28","modified_gmt":"2015-10-26T00:37:28","slug":"euclidean-algorithm-wsq12","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/euclidean-algorithm-wsq12\/","title":{"rendered":"Euclidean Algorithm #WSQ12"},"content":{"rendered":"
\n

This WSQ consisted on using the Euclidean Algorithm to calculate the Greatest Common Divisor of two values. To understand this concept I had to watch a video explaining it: https:\/<\/wbr>\/<\/wbr>www.youtube.com\/<\/wbr>watch?v=AJn843kplDw<\/a><\/p>\n

Afterwards, it resulted easy to turn this into code since it consists on repetition and reassignment of values. I had no trouble since I have done it in previous WSQs. The idea of turning it into a funtion was simple since it consisted only on grabbing that segment of the code and turning it into a function.<\/p>\n

Here’s the code:\u00a0<\/p>\n

https:\/<\/wbr>\/<\/wbr>github.com\/<\/wbr>CarlosGallegosT\/<\/wbr>Codes007\/<\/wbr>blob\/<\/wbr>master\/<\/wbr>Euclidean_Algorithm.cpp<\/a><\/p>\n

#TC1017<\/a> #WSQ12<\/a><\/p>\n

\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0\"\"<\/p>\n

Image Source:\u00a0http:\/<\/wbr>\/<\/wbr>web.williams.edu\/<\/wbr>Mathematics\/<\/wbr>lg5\/<\/wbr>C15W13\/<\/wbr>summary.html<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

\n

This WSQ consisted on using the Euclidean Algorithm to calculate the Greatest Common Divisor of two values. To understand this concept I had to watch a video explaining it: https:\/\/www.youtube.com\/watch?v=AJn843kplDw<\/a><\/p>\n

Afterwards, it resulted easy to turn this into code since it consists on repetition and reassignment of values. I had no trouble since I have done it in previous WSQs. The idea of turning it into a funtion was simple since it consisted only on grabbing that segment of the code and turning it into a function.<\/p>\n

Here’s the code: <\/p>\n

https:\/\/github.com\/CarlosGallegosT\/Codes007\/blob\/master\/Euclidean_Algorithm.cpp<\/a><\/p>\n

#TC1017<\/a> #WSQ12<\/a><\/p>\n

                                          \"\"<\/p>\n

Image Source: http:\/\/web.williams.edu\/Mathematics\/lg5\/C15W13\/summary.html<\/a><\/p>\n<\/div>\n","protected":false},"author":226,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[40,356],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23963"}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/users\/226"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=23963"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23963\/revisions"}],"predecessor-version":[{"id":23964,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23963\/revisions\/23964"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=23963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=23963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=23963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}