Message from JavaScript discussions

December 2020

โ€” Yep.

โ€” 

I need help with Git. ๐Ÿค•

โ“I'm trying to cherry-pick a commit from a branch that's two commits ahead of master, but the command yields this error:

โŒfatal: bad revision '[commit hash]'

What's going on? ๐Ÿค’

โ€” ๐Ÿ’pick๐Ÿค”

โ€” ?

โ€” Wat is cherry pick

โ€” Git cherry pick ๐Ÿ˜ฎ

โ€” Can we use extra space or do we have to do it in constant space?
Becaue if we are allowed to have extra space, we can make a hash map for the frequency of elements and then remove the ones with frequency ==1?
If not please do let us know the right approach.

Message permanent page

โ€” Those are numbers and no strings, there are no extra spaces??

โ€” It means to duplicate the diff of a specific commit into your current branch

โ€” By space I mean space complexity.

โ€” Ah, thought already xd

โ€” I'd have done it with reduce not gonna lie, else there are sets, filter/map, casual for loops, ...