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":23075,"date":"2015-10-18T02:53:01","date_gmt":"2015-10-18T07:53:01","guid":{"rendered":"https:\/\/interestingstuff.withknown.com\/2015\/palindromes-and-fibonacci-quiz7"},"modified":"2015-10-18T02:53:01","modified_gmt":"2015-10-18T07:53:01","slug":"palindromes-and-fibonacci-quiz7","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/palindromes-and-fibonacci-quiz7\/","title":{"rendered":"Palindromes and Fibonacci #Quiz7"},"content":{"rendered":"
\n

This quiz was a little bit more of a challenge since it involved using iterations and strings to output a number in a sucession and determine if an input was a palindrome or wasn’t. It was difficult to find the pattern in the fibonacci series but i discovered that the values were passed to be sum again and again. First, there were standard results such as the first 2 numbers of the series so I did them with ifs to return the value required. For other values, I worked with 3 variables which changed values between them, and after the number was met the Sum would return from the function, thus giving the \u00a0expected value.\u00a0<\/p>\n

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

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

The question regarding palindromes was a little bit more complicated than the previous one. During the test, I managed to create a function to reverse the string by using the input lenght. What I couldn’t do was to correctly compare the values found in the strings. I guessed I did something wrong with the return or with any of the functions since it only returned one statement. Finally, I tried again and it worked as expected. Here’s the code:<\/p>\n

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

Thanks for watching!<\/p>\n

#Quiz7<\/a> #TC1017<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

\n

This quiz was a little bit more of a challenge since it involved using iterations and strings to output a number in a sucession and determine if an input was a palindrome or wasn’t. It was difficult to find the pattern in the fibonacci series but i discovered that the values were passed to be sum again and again. First, there were standard results such as the first 2 numbers of the series so I did them with ifs to return the value required. For other values, I worked with 3 variables which changed values between them, and after the number was met the Sum would return from the function, thus giving the  expected value. <\/p>\n

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

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

The question regarding palindromes was a little bit more complicated than the previous one. During the test, I managed to create a function to reverse the string by using the input lenght. What I couldn’t do was to correctly compare the values found in the strings. I guessed I did something wrong with the return or with any of the functions since it only returned one statement. Finally, I tried again and it worked as expected. Here’s the code:<\/p>\n

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

Thanks for watching!<\/p>\n

#Quiz7<\/a> #TC1017<\/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":[743,40],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23075"}],"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=23075"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23075\/revisions"}],"predecessor-version":[{"id":23347,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23075\/revisions\/23347"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=23075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=23075"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=23075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}