Nov 19, 2020CoDEVIANT #27 — Goldilocks, Kit-Kat Bars, & the Three IntegersDid you know that integers can swallow children whole? They also roam national parkgrounds and swipe peoples’ pic-nic baskets. Well today we’re going to solve a neat little problem. I have recently discovered my developer super power. As an extremely visual person who…5 min read5 min read
Nov 14, 2020CoDEVIANT #26 — Fibonacci FunOur job is to find the nth Fibonacci number via a function we will write that takes an integer n. We will get the nth number by adding So before I started this, I actually didn’t know what a Fibonacci Number was, honest to God.4 min read4 min read
Nov 14, 2020CoDEVIANT #25 — Linked List SurgerySo today, we’re going to put a linked list under a scalpel. Our job is to make sure we don’t fuck up the entire list while trying to get one little node out of there the correct way. How I think I’ll approach this: Althought it may end up…7 min read7 min read
Nov 10, 2020CoDEVIANT #24 — Apples Falling from the Binary TreeYou know what they say about apples: that they don’t fall far from the tree. Today’s problem is about finding the depth of a tree. What does this mean? Well, it means we are going to count the number of links it takes to get to a given node from…4 min read4 min read
Nov 10, 2020CoDEVIANT #23 — Tree Hee HeeSo remember about a month ago when I said “I’m going to do my best to make writing these a daily thing!”….? Well, life got in the way. I had a slew of interviews, none of which I got the job for. And I’ve been…4 min read4 min read
Oct 12, 2020CoDEVIANT #22 — Linked Lists and Pyramid Schemes (I.P.)(10/12/20)Hey people, sorry for the delay. I try to make these articles a daily thing (or as close to it as my pea-brain will allow). However, as is wont to occur, I occasionally run into new concepts that take a while for me to wrap my head around. …15 min read15 min read
Oct 11, 2020CoDEVIANT #21 (10/11/20) — Spiral MotionSo I’ve got a neat doozy of a problem to write about here. We are to write a problem that takes a two-dimensional array and returns an array of the values when the values are read in a spiral motion. So…I got a confession to make. I couldn’t figure out…5 min read5 min read
Oct 7, 2020CoDEVIANT #20 (10/7/20)-Strings and Things (Soup is good food)Problem# 1: Now this one is a pretty classic and simple one, but I’m looking at it today because I am getting better at utilizing pointers and while-loops instead of using a boatload of for-loops. So we are writing a function that takes a non-empty string and returns a boolean…Coding Challenge10 min readCoding Challenge10 min read
Oct 7, 2020CoDEVIANT #19 — If there’s a problem yo I’ll solve it Check out the hook while my DJ revolves it!…but regardless, I can at least spit some bars and get a single out there. I’m trying to be good. I’m trying to be better. I put my time in, I gets down. Today’s problem is kinda cool because I learned a…5 min read5 min read
Oct 5, 2020CoDEVIANT #18 (10/5/20) — Sprinkles on Top!Once upon a time, I had a really wild dream. I dreamt that I was in the last ice-cream shop in the galaxy; it was right on the edge of the cosmos. In most diner-style ice-creameries, you can peruse a juke-box containing myriad more choices of songs than there are…5 min read5 min read