Sign in

This one was a request. Implement the function uniqueInOrder which takes as argument a sequence and returns a list of items without any elements with the same value next to each other and preserving the original order of elements.

I found this is actually another Codewars challenge. You can find the challenge here.

Disclaimer: There are MANY ways to solve this problem. These are a few answers that I wrote or find clever with explanations of why/how they work

TLDR: explanation of best solution at the bottom of the post and actual solutions at the bottom of each section

The Problem

Create…


Happy day 10 of 365 Days of Coding! Today is day 3 of a 4 day series on creating a sign up form! This form can have any input but you must require, first name, last name, phone number and email. It should also have a section for OAuth (allow for sign in with Facebook, Google, etc.). The phone number must be formatted. It will also have validation for the email and phone number. Since this is more than just 1 function I am going to create a Github repository for it. Every day will be a branch and…


originally posted on hellodevworld.com

This post contains affiliate links. If you use these links to buy something I may earn a commission. Thanks.

So I often get asked what the best computer for doing software development is and I kind of hate that question because the answer is it depends. Are you only going to use it for software development? What else do you want to do on it? What operating system do you want? What kind of development are you going to be doing? So ya. It depends and arguably you could do development from just your phone. Nothing…


originally published on hellodevworld.com

Congrats! You have chosen the best and most overwhelming career. There are so many great things about being a developer or software engineer but do not fall into these pitfalls junior engineers frequently fall into!

1. Be a Smart Ass

You may think this is a given but you would be surprised how many junior developers have an attitude and that they know better than everyone. Let me tell you no matter how much faster you could do your work than the others in your class you do not know more than your senior developer and you have no reason to…


Originally publish on hellodevworld.com

Congrats! You have chosen the best and most overwhelming career and you are at the magical point where very little is expected of you. There are so many great things about being a developer or software engineer but be sure to do these things as a junior engineer to get your career on the right track!

1. Ask Questions

Some people may think this is a given but you may be amazed how many junior engineers feel they should know everything and stay quiet rather than asking questions, or they think their question is stupid so they don’t want…


originally published on hellodevworld.com

Happy day 9 of 365 Days of Coding! Today is day 2 of a 4 day series on creating a sign up form! This form can have any input but you must require, first name, last name, phone number and email. It should also have a section for OAuth (allow for sign in with Facebook, Google, etc.). The phone number must be formatted. It will also have validation for the email and phone number. Since this is more than just 1 function I am going to create a Github repository for it. Every day will…


Originally published on hellodevworld.com

Happy day 8 of 365 Days of Coding! Today we are starting a 4 day series on creating a sign up form! This form can have any input but you must require, first name, last name, phone number and email. It should also have a section for OAuth (allow for sign in with Facebook, Google, etc.). The phone number must be formatted. It will also have validation for the email and phone number. Since this is more than just 1 function I am going to create a Github repository for it. Every day will be…


originally published on hellodevworld.com

Happy day 7 of 365 Days of Coding! 1 week down 52 to go. A JavaScript solution for a function that counts how many times something shows up in an array. This can be a flat array or an array of arrays.

Disclaimer: there are MANY ways to solve this problem this is an answer that I would see or use in a coding interview and would accept as a proper answer

TLDR: Solution is at the bottom of the post

The Problem

Create a function that accepts an array and an item and counts the number…


originally published on hellodevworld.com

Happy Day 6! Today we are going back to basics. This challenge can easily be applied to front end as well as backend.

Disclaimer: there are MANY ways to solve this problem this is an answer that I would see or use in a coding interview and would accept as a proper answer

TLDR: Solution is at the bottom of the post

The Problem

Create a function that accepts a string and a number. The function must return the given string truncated to the maximum length (number that was passed in) followed by "...". …


Today we are borrowing a challenge from Codewars!

Disclaimer: This is not my challenge the original challenge is linked about. Also, there are MANY ways to solve this problem. These are a few answers that I wrote or find clever with explanations of why/how they work

TLDR: explanation of best solution at the bottom of the post and actual solutions at the bottom of each section

The Problem

Create a function that accepts and array. Given an n x n array, return the array elements arranged from outermost elements to the middle element, traveling clockwise.

Examples:

snail( [[1,2,3], [4,5,6],[7,8,9]]) // [1,2,3,6,9,8,7,4,5]…

HelloDevWorldBlog

I love being a dev and learning from other devs as well! I want to help aspiring and current devs love their jobs, fix issues, and solve the world’s problems!

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