Profile picture

Written by Florin Tech snippets for everybody

Algorithms

Anagram
Anagram

Problem Given two strings, a and b, write a function to determine if a is an anagram of b Description This is a classic algorithm problem…

algorithmsanagram
Read More
Climbing Stairs
Climbing Stairs

Problem You are climbing a staircase with n steps. At each step, you can climb either 1 or 2 steps. Determine the number of distinct ways to…

algorithmsstairs
Read More
Valid Parentheses
Valid Parentheses

Problem Given a string containing just the characters '(', ')', '{', '}', '[', and ']', determine if the input string is valid. Description…

algorithmsstacksparentheses
Read More

Node.js