An open API service indexing awesome lists of open source software.

https://github.com/likhithkp/top-five-js-dsa-questions

Data Structures in JavaScript ( Top 5 Questions )
https://github.com/likhithkp/top-five-js-dsa-questions

best-time-to-buy-and-sell-stocks dsa-algorithm fibonacci javscript palindrome two-sum-problem valid-anagram

Last synced: 3 months ago
JSON representation

Data Structures in JavaScript ( Top 5 Questions )

Awesome Lists containing this project

README

        

# Top 5 DSA questions

## Ques 1 - Palindrome Number
Solution #1 - Using Inbuilt JS Methods

## Ques 2 - Fibonacci Number
Solution #1 - Using "for" Loop
Solution #2 - Using Recursion

## Ques 3 - Valid Anagram
Solution #1 - Normal Approach
Solution #2 - Using Objects

## Ques 4 - Two Sum
Solution #1 - Brute Force
Solution #2 - Using JS Objects

## Ques 5 - Best time to buy and sell stocks
Solution #1 - Brute Force
Solution #2 - Greedy Algorithm