Commit Graph

8987 Commits

Author SHA1 Message Date
010be0b89b fix: allow for shorter arrays in isSorted
Also add some style changes
2020-10-12 21:55:18 +03:00
805c6bd36c Add isNode, randomIpAddress and isRegularExpression (#1526)
* add isNode()

Co-authored-by: Angelos Chalaris <chalarangelo@gmail.com>
2020-10-12 20:01:21 +03:00
6f26dd9e6e Merge pull request #1539 from nishanth2143/patch-1
typo
2020-10-12 19:42:26 +03:00
96888494fa Merge pull request #1529 from beingageek/master
Adding addDaysToDate snippet
2020-10-12 19:41:04 +03:00
3b888653ed Update addDaysToDate.md 2020-10-12 19:40:53 +03:00
45259ad4ec typo 2020-10-12 22:09:08 +05:30
9e72405852 Merge pull request #1517 from nishanth2143/master
add week days to a given date
2020-10-12 19:34:26 +03:00
7c8f677b3f Update addWeekDays.md 2020-10-12 19:34:13 +03:00
a0f84dd6b2 Adding addDaysToDate snippet 2020-10-11 17:03:18 -07:00
9a3809c000 Add split_list
This code comes from one of my [gists][1], but could probably be more
useful here where it might be easier to find.

[1]: https://gist.github.com/JonasAlfredsson/6e30169c5c69813651baf050dbfc7203
2020-10-11 23:39:19 +02:00
77270422b4 Add rangeGenerator 2020-10-11 17:05:55 +03:00
c6ed8a48db Add repeatGenerator 2020-10-11 17:05:48 +03:00
3f32b58ef4 Add cycleGenerator 2020-10-11 17:05:38 +03:00
506e0e95d3 addWeekDays 2020-10-11 19:21:39 +05:30
8f81fb58b0 Merge pull request #357 from gurukiran07/issue#354
refactored sum_of_powers, Resolves #354
2020-10-11 15:59:31 +03:00
e9db92ee22 refactored sum_of_powers, Resolves #354 2020-10-11 17:54:06 +05:30
8390a1c8ae Merge pull request #1512 from nishanth2143/master
Count weekdays between 2 dates
2020-10-11 14:33:35 +03:00
5a6bb0c353 Update countWeekDaysBetween.md 2020-10-11 14:33:23 +03:00
7df78ad5ed Add find_index_of_all 2020-10-11 13:45:19 +03:00
281a9871e1 Update snippets 2020-10-11 13:40:42 +03:00
eca0ad5743 Added find all indices of occurrences of a value 2020-10-11 13:37:22 +03:00
6f09a19637 Use set instead of slicing 2020-10-11 13:36:53 +03:00
3e5dc5c39c Merge pull request #335 from psyonara/better_collect_dict
Collect Dictionary: better readability when appending to list
2020-10-11 12:16:41 +03:00
12a13d8bfb Update collect_dictionary.md 2020-10-11 12:16:27 +03:00
f277c23df1 Merge pull request #1513 from 30-seconds/set-operations
Set operations
2020-10-11 11:54:49 +03:00
cd534c49fa Add superSet 2020-10-11 11:53:19 +03:00
0af9ec8bb4 Add subSet 2020-10-11 11:53:08 +03:00
991bc8b400 Add isDisjoint 2020-10-11 11:53:01 +03:00
a406ddcb34 Add frozenSet 2020-10-11 11:52:48 +03:00
ad79909c2e removed isogram 2020-10-11 14:16:18 +05:30
f3012a3bfb countWeekDaysBetween 2020-10-11 14:14:44 +05:30
c522ce673f Merge pull request #336 from psyonara/better_count_occurences
Use Python's built-in count method to do the counting for us.
2020-10-11 10:29:40 +03:00
88dceb260a Update count_occurences.md 2020-10-11 10:29:24 +03:00
cb394a6c79 Update isIsogram.md 2020-10-11 11:49:50 +05:30
da81661a48 check whether string is an isogram or not 2020-10-11 11:48:16 +05:30
1e16cd5298 Use Python's built-in count method to do the counting for us. 2020-10-10 23:28:47 +02:00
367a747ad7 Better readability for appending to list. 2020-10-10 23:16:53 +02:00
f1e7e8c9d9 Merge pull request #1337 from roblan/master
Added promiseDebounce
2020-10-10 21:09:15 +03:00
02429b250a Update and rename promiseDebounce.md to debouncePromise.md 2020-10-10 21:09:04 +03:00
5ad1f0fefa Merge pull request #1473 from nhonx/lastDayOfMonth
add lastDateOfMonth
2020-10-09 22:01:53 +03:00
b19b1174e7 Update lastDateOfMonth.md 2020-10-09 22:01:42 +03:00
5674ff47b6 Merge pull request #1381 from JanMalch/master
Add factoryWithSeed snippet
2020-10-09 20:41:31 +03:00
3e7f169f1a Update and rename factoryWithSeed.md to generateItems.md 2020-10-09 20:41:21 +03:00
d411e68669 add lastDateOfMonth 2020-10-10 00:36:54 +07:00
535665d41b Merge pull request #1462 from nonseodion/master
added daysFromNow.md
2020-10-09 12:19:20 +03:00
355cc6873f Update daysFromNow.md 2020-10-09 12:19:03 +03:00
c52a748de0 removed daysBetween.md 2020-10-09 10:12:09 +01:00
8523dd29e6 Merge pull request #1393 from kashyap-sojitra/get-quarter-year-function
added function to get quarter with the year for the supplied date
2020-10-09 10:24:06 +03:00
7d34ba7d64 Update and rename getQuarterOfYear.md to quarterOfYear.md 2020-10-09 10:23:55 +03:00
e84ade1aed Merge pull request #316 from pracheejaviya1/conversion
Added decimal to hex conversion
2020-10-09 09:45:59 +03:00