Skip to content

Instantly share code, notes, and snippets.

View abhisekp's full-sized avatar
🏠
Working from home

Abhisek Pattnaik abhisekp

🏠
Working from home
View GitHub Profile
@abhisekp
abhisekp / # Python Koans.md
Last active April 15, 2017 13:04
Python Koans
@abhisekp
abhisekp / # Emojis.md
Last active February 25, 2025 16:31 — forked from rxaviers/gist:7360908
Complete list of Github :octocat: supported emojis — http://j.mp/gh-emojis
@abhisekp
abhisekp / # Misc Resources.md
Last active April 14, 2018 17:02
List of useful Resources — http://bit.ly/absk-resources
@abhisekp
abhisekp / # Counters Count Challenge.md
Last active March 16, 2018 04:47
[Challenge] Counters Count

You are given N counters, initially set to 0, and you have two possible operations on them:

increase(X) − counter X is increased by 1,
max counter − all counters are set to the maximum value of any counter.
A non-empty zero-indexed array A of M integers is given. This array represents consecutive operations:

if A[K] = X, such that 1 ≤ X ≤ N, then operation K is increase(X),
if A[K] = N + 1 then operation K is max counter.
For example, given integer N = 5 and array A such that:

@abhisekp
abhisekp / # Variables Intro.md
Last active May 10, 2018 04:30
Variable Declarations in JavaScript — http://bit.ly/js-vars
@abhisekp
abhisekp / # FCC RegExp Solutions.md
Last active April 18, 2017 13:55
Solved using RegExp http://bit.ly/abhisekpFCCRegExpSolns — Solutions to FreeCodeCamp Challenges