LeetCode Question · Aug 2020

Robinhood OA

13 upvotes 10,812 views 13 replies

Question Details

Any optimal approach for this? Question: count all the pairs with indices i<=j whose sum is a power of 2. def pairSummingToPowerOfTwo(a): if len(a)==1 and (a[0] and (not(a[0] & (a[0] -...

Full Details

🔒

Unlock all Robinhood questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a robinhood interview for a swe role during the oa round reported in 2020.

It covers the following topics: General Experience .