---
title: "Abu Saleh Faysal (@AbuSalehFaysal) | Hashnode"
description: "Software Engineer | Front-End Developer | JavaScript | TypeScript | React | Redux. Read the latest articles by Abu Saleh Faysal on Hashnode."
url: "https://hashnode.com/@AbuSalehFaysal"
---

@AbuSalehFaysal

# Abu Saleh Faysal

@AbuSalehFaysal · Dhaka, Bangladesh · Joined November 2022

Software Engineer | Front-End Developer | JavaScript | TypeScript | React | Redux

[Website](https://abusalehfaysal.github.io/)

### [20\. Valid Parentheses - JavaScript Solution - by Abu Saleh Faysal](https://abusalehfaysal.hashnode.dev/20-valid-parentheses-javascript-solution-by-abu-saleh-faysal?utm_source=hashnode&utm_medium=feed)

An array of parentheses are given. We need to find out if the array contains both opening and closing parentheses or not. Steps: Declare a variable called "stack" and store an empty array. Iterate a for loop over the given array and store the array...

2 min read · [abusalehfaysal.hashnode.dev](https://abusalehfaysal.hashnode.dev/20-valid-parentheses-javascript-solution-by-abu-saleh-faysal?utm_source=hashnode&utm_medium=feed)

[Feb 10, 2023](https://hashnode.com/posts/20-valid-parentheses-javascript-solution-by-abu-saleh-faysal/63e657e302c6f60ef75d075c)

### [14\. Longest Common Prefix - JavaScript Solution - by Abu Saleh Faysal](https://abusalehfaysal.hashnode.dev/14-longest-common-prefix-javascript-solution-by-abu-saleh-faysal?utm_source=hashnode&utm_medium=feed)

14\. Longest Common Prefix - JavaScript Solution - by Abu Saleh Faysal

2 min read · [abusalehfaysal.hashnode.dev](https://abusalehfaysal.hashnode.dev/14-longest-common-prefix-javascript-solution-by-abu-saleh-faysal?utm_source=hashnode&utm_medium=feed)

[Jan 20, 2023](https://hashnode.com/posts/14-longest-common-prefix-javascript-solution-by-abu-saleh-faysal/63cad9beb0e317fe8fa4880e)

### [13\. Roman to Integer - JavaScript Solution - by Abu Saleh Faysal](https://abusalehfaysal.hashnode.dev/13-roman-to-integer-javascript-solution-by-abu-saleh-faysal?utm_source=hashnode&utm_medium=feed)

Given a roman numeral, we need to convert it to an integer. After seeing the problem, I thought that I can try with an object to store the roman symbol value and for loop to access the given string. Solution Step 01: Store the roman symbol value in a...

2 min read · [abusalehfaysal.hashnode.dev](https://abusalehfaysal.hashnode.dev/13-roman-to-integer-javascript-solution-by-abu-saleh-faysal?utm_source=hashnode&utm_medium=feed)

[Dec 7, 2022](https://hashnode.com/posts/13-roman-to-integer-javascript-solution-by-abu-saleh-faysal/6390f9a921578ec6557d8e7e)

### [9\. Palindrome Number - JavaScript Solution - by Abu Saleh Faysal](https://abusalehfaysal.hashnode.dev/9-palindrome-number-javascript-solution-by-abu-saleh-faysal?utm_source=hashnode&utm_medium=feed)

Checking "Palindrome number" is a very widespread problem. Compared to the other languages, I found it easier to solve this problem with JavaScript. Solution: Step 01: Convert x into string using toString(). Step 02: Split the string using split(). S...

1 min read · [abusalehfaysal.hashnode.dev](https://abusalehfaysal.hashnode.dev/9-palindrome-number-javascript-solution-by-abu-saleh-faysal?utm_source=hashnode&utm_medium=feed)

[Nov 16, 2022](https://hashnode.com/posts/9-palindrome-number-javascript-solution-by-abu-saleh-faysal/63753fc39a72c78e7db11443)

### [1\. Two Sum - Leetcode - JavaScript Solution using HashMap - by Abu Saleh Faysal](https://abusalehfaysal.hashnode.dev/1-two-sum-leetcode-javascript-solution-using-hashmap-by-abu-saleh-faysal?utm_source=hashnode&utm_medium=feed)

I previously solved this problem using two for loops. However, that was not a very efficient way to solve this problem. So, this time I solved this problem using HashMap. Solution: Step 01: Hashmap is a set of key, value pairs. I declared a variable ...

2 min read · [abusalehfaysal.hashnode.dev](https://abusalehfaysal.hashnode.dev/1-two-sum-leetcode-javascript-solution-using-hashmap-by-abu-saleh-faysal?utm_source=hashnode&utm_medium=feed)

[Nov 12, 2022](https://hashnode.com/posts/1-two-sum-leetcode-javascript-solution-using-hashmap-by-abu-saleh-faysal/636fb49cba12f9110e26062f)
