Journal

A stunning personal blog Jekyll theme with an image-focused design.

Latest Posts

There are several ways one could go about solving this simple HackerRank problem, so I thought I'd show my solution and also include helpful resources I found. Print Function Read an integer N. Without using any string methods, try to print the following: 123...N Note that "..." represents the values in between. Input Format The first line contains an integer N. Output Format Output the answer…

Keep Reading →

Stuttering Function. Write a function that stutters a word as if someone is struggling to read it. The first two letters are repeated twice with an ellipsis ... and space after each, and then the word is pronounced with a question mark ?. stutter("incredible") ➞ "in... in... incredible?". Notes Assume all input is in lower case and at least two characters long. So how did I go about solving this…

Keep Reading →