It’s November! I hope your week was a good one. I got my COVID booster shot and I feel the 5G flowing through me.
Was this forwarded to you? You can subscribe and look at the archives here!
I mentioned in the last issue that I recorded some episodes for the Stack Overflow podcast, and one of them came out that was definitely near and dear to my heart. In this episode, we talked about web3, decentralization, and its implications. It definitely got real, and kind of heavy, but I think it was one of our best episodes yet. Check it out of you get the chance!
Also: I’ve decided to take a break from streaming this month! Come back in December for more chatter and coding.
Gun.io acts like your personal freelancing and job seeking concierge (for free). They match you with vetted companies, pitch you for projects and set up your interviews, handle your contracts and billing, and get you paid consistently—no reminders or client invoices required. Plus, you get paid the rate you set for yourself, without the usual negotiation dance.
Are you a mid to senior level dev? You can apply to the network and check out current and past gigs here!
This week’s question:
Given an array of integers, return the index of each local peak in the array. A “peak” element is an element that is greater than its neighbors.
$ localPeaks([1,2,3,1]) $  $ localPeaks([1,3,2,3,5,6,4]) $ [1, 5]
I saw two barracudas the other day. It was a pairacuda!
That’s all for now, folks! Have a great week. Be safe, make good choices, and be ready for Daylight Savings changes across the world!
Special thanks to Gabor, Stephen, IceSloth, Emad, Alaska, Josh, Conor, Ezell, Pedro, Karthic, Ximena, Paige, and Zev for supporting my Patreon and this newsletter!
website | twitter | patreon | github | twitch | codepen | polywork