---
title: "Melvin Cayas (@melvincayas) | Hashnode"
description: "Electrical engineer, budding web dev. Read the latest articles by Melvin Cayas on Hashnode."
url: "https://hashnode.com/@melvincayas"
---

@melvincayas

# Melvin Cayas

@melvincayas · New York, NY · Joined June 2021

Electrical engineer, budding web dev

[Website](https://melvincayas.com/)

### [Code Challenge #4: Barking Dog Method with Java](https://melvincayas.hashnode.dev/code-challenge-4-barking-dog-method-with-java?utm_source=hashnode&utm_medium=feed)

Learning new programming languages is fun, here's my go at Java!

3 min read · [melvincayas.hashnode.dev](https://melvincayas.hashnode.dev/code-challenge-4-barking-dog-method-with-java?utm_source=hashnode&utm_medium=feed)

[Sep 21, 2021](https://hashnode.com/posts/code-challenge-4-barking-dog-method-with-java/614a0f0420bcc6765ac05385)

### [Code Challenge #3: Two Sum from LeetCode](https://melvincayas.hashnode.dev/code-challenge-3-two-sum-from-leetcode?utm_source=hashnode&utm_medium=feed)

This post goes over the Two Sum (easy) challenge from LeetCode using for loops.

3 min read · [melvincayas.hashnode.dev](https://melvincayas.hashnode.dev/code-challenge-3-two-sum-from-leetcode?utm_source=hashnode&utm_medium=feed)

[Sep 19, 2021](https://hashnode.com/posts/code-challenge-3-two-sum-from-leetcode/61469697e1f56817e36075c1)

### [Code Challenge #2: Reversing Words with 5 or More Characters in a String](https://melvincayas.hashnode.dev/code-challenge-2-reversing-words-with-5-or-more-characters-in-a-string?utm_source=hashnode&utm_medium=feed)

How to reverse words with 5 or more characters in a string using JavaScript with the methods split, reverse, and join.

4 min read · [melvincayas.hashnode.dev](https://melvincayas.hashnode.dev/code-challenge-2-reversing-words-with-5-or-more-characters-in-a-string?utm_source=hashnode&utm_medium=feed)

[Aug 16, 2021](https://hashnode.com/posts/code-challenge-2-reversing-words-with-5-or-more-characters-in-a-string/611a9433888ca15f5d38f07f)

### [Code Challenge #1: Removing Duplicate Words from a String](https://melvincayas.hashnode.dev/code-challenge-1-removing-duplicate-words-from-a-string?utm_source=hashnode&utm_medium=feed)

Removing duplicate words from a string using split, filter, indexOf, and join in JavaScript.

3 min read · [melvincayas.hashnode.dev](https://melvincayas.hashnode.dev/code-challenge-1-removing-duplicate-words-from-a-string?utm_source=hashnode&utm_medium=feed)

[Aug 14, 2021](https://hashnode.com/posts/code-challenge-1-removing-duplicate-words-from-a-string/61173b65f6ebde51f64f9e77)

### [Code Fix #3: Toggling Classes with querySelectorAll](https://melvincayas.hashnode.dev/code-fix-3-toggling-classes-with-queryselectorall?utm_source=hashnode&utm_medium=feed)

The difference between querySelector and querySelectorAll.

2 min read · [melvincayas.hashnode.dev](https://melvincayas.hashnode.dev/code-fix-3-toggling-classes-with-queryselectorall?utm_source=hashnode&utm_medium=feed)

[Aug 14, 2021](https://hashnode.com/posts/code-fix-3-toggling-classes-with-queryselectorall/61172581e9f08a51fd85f07c)
