30 seconds of code provides a curated collection of short code snippets for all your development needs. Our collection spans many topics, ranging from simple coding problems to theoretical concepts and development techniques.
Checks if a date is between two other dates.
JavaScript, Date · Oct 20, 2020
Checks if the given number falls within the given range.
JavaScript, Math · Nov 1, 2020
Checks if all the values in a list are unique.
Python, List · Jan 7, 2021
Generates a list, containing the Fibonacci sequence, up until the nth term.
Python, Math · Nov 2, 2020
Finds the first key in the provided dictionary that has the given value.
Python, Dictionary · Nov 2, 2020