Bit-manipulation is the underrated topic, it is confusing too. I have curated the best resources to learn bit-manipulation for coding interviews.
✨Learn Binary
-> Because we are going to work at the bit level, first you should understand the concept of binary numbers. Learn Concepts like decimal to binary conversion, signed and unsigned numbers, etc.
-> After learning the binary number system, it's time to start with bit-manipulation. For that first and the most important thing is to learn about bitwise operators, and I have made this work easy for you :D
✨Financial instruments, records, and models 1. Currency 2. Private equities 3. Public equities 4. Bonds 5. Derivatives (futures, forwards, swaps, options, and more complex variations) 6. Voting rights associated with any of the preceding 7. Commodities
Continued...
8. Spending records 9. Trading records 10. Mortgage/loan records 11. Servicing records 12. Crowdfunding 13. Microfinance 14. Microcharity
Bitcoin is not just a currency. It is 3 layered technology stack.
read👇
The Word Bitcoin is used to simultaneously denote three different things, it might be confusing for beginners. Let me Break it out so that you can understand it at ease.
✨Three layers of Bitcoin technology stack
1) First / Base layer- Bitcoin Blockchain: Underlying decentralized ledger 2) second / middle layer- Bitcoin protocol and client: Software programs that conduct transactions 3) Third/ Top layer- Cryptocurrency: Bitcoin (BTC)
✨Introduction
-> Bitwise Operations let you manipulate numbers at bit level. Bitwise operations are faster than regular operations.
There are main 6 bitwise operators:
1)Bitwise AND
2)Bitwise OR
3)Bitwise XOR
4)Bitwise left-shift
5)Bitwise right-shift
6)Bitwise complement
✨Bitwise AND
-> The Bitwise AND tests 2 binary numbers and returns bit values of 1 for positions where both numbers had a one, and a bit value of 0 at every other position.
Real-life applications of Various Data Structures.
A thread👇
✨ STACK 1) UNDO option
2) Text editor, you push letter by letter to the stack so you erase back.
3) Recursion (in built stack)
✨QUEUE 1) Your browser deletes the history past one month.
2) All the pictures you delete from your phone will be stored in a queue, so that after sometimes front items can be popped out easily (permanently deleted)
3) Waiting list: Registration Requests are put in the queue.