This week I am going to explain my solution the the palindrome number problem. A palindrome is a number that read the same forwards and it does backwards, for example 121 is a palindrome number. In this problem we are given a number and we are tasked with writing a function that returns true for palindrome numbers and false for numbers that are not palindromes. So.. lets get into the solution..

This week I decided to tackle the tech interview question “only digits”. In this problem you are tasked with discovering if a string contains only digits, or only numbers.

This weeks coding challange is to find the missing number in a string from 1 to 100. I came to a very quick and simple solution to this one. If we know there is only one number missing in the array all we have to do is make sure the…

I have heard about this interview question many times, so this week I decided to take it on. Here is a description of the problem at hand…

Given an array of integers, every element appears twice except for one. Find that single one.

This seems like a very simple problem, but in reality javascript doesn’t have a built in uniq method so it gets pretty complicated.

Two numbers is a fun problem where you are tasked to create a function that takes 2 arguments; an array of numbers and a target. Within the array of numbers there are 2 numbers of which their sum will equal the target. We are then asked to return the indexes…

Running a google search for the word anagram you will see that an anagram is..

a word, phrase, or name formed by rearranging the letters of another, such as cinema, formed from iceman

For this blog entry I am going to do a walk through of how to create a…

Continuing my algorithm practice I ran into a pretty fun and challenging problem. The task is to make a function that takes a roman numeral and returns the value of the numeral as an integer. For example “XL” = 40, “V” = 5, “IV” = 4, and so on.

The…

So in basic math 10 + 10 = 20; well in javascript sometimes this is not the case. There are many times when working with JS that 10 + 10 will equal 1010. What gives? Since “strings” are a very common data type used on the internet a lot of…

As you know I have been brushing up on possible interview questions. One that I came across that seems to be extremely common is a question called “FizzBuzz” In this challange you are given numbers and are asked to crate at function that returns “Fizz” if the number is divisible…

As you know if you have been reading my recent posts, I have been practicing writing algorithms for my next tech interviews. In this installment I am going to walk you trough creating a function that checks if the input is an integer in javascript. An integer is a whole…

Joseph K Abe

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store