I believe I get this question weekly, if not daily. “How can you tweet so much and also work?” is one of the most popular questions I receive. The answer is very simple and straightforward. As you all might guess, I schedule ninety per cent of my tweets. That means I do not have to […]
This is a short post explaining my absence from the blog. The last (almost) three months were filled with stress due to finishing University, and I had to focus on projects and exams. However, I am back, and the blog is my main focus right now. That means I will post regularly on the blog.
This problem asks us to add a dash between each pair of odd numbers in the given string. A more detailed description from Coderbyte: Have the function DashInsert(str) insert dashes (‘-‘) between each two odd numbers in str. For example: if str is 454793 the output should be 4547-9-3. Don’t count zero as an odd number. The first step is to create a […]
The “Vowel Count” is a popular and a self-explanatory challenge. Regardless, below is the challenge description taken from the Coderbyte website: Have the function VowelCount(str) take the str string parameter being passed and return the number of vowels the string contains (ie. “All cows eat grass and moo” would return 8). Do not count y as a vowel for this challenge. Use […]
I want to start this post by mentioning that I have moved from LeetCode to Coderbyte for a while. The reason for doing so is because Coderbyte offers a discount on the premium plan for students. The premium membership offers access to all the coding challenges (200+), and it offers step-by-step solutions as well. Also, […]