filmov
tv
Power of Four | Bit Manipulation | C++, Java, Python | Single line code | CP Trick | POTD | Leetcode

Показать описание
⬇️ You can also find the links to the codes in C++, Java and Python languages here:
Hi everyone, welcome to my channel where I upload the video solutions to the "Problem of the day" that is asked daily on Geeksforgeeks and LeetCode. Today's problem is "Power of Four" which is an easy level question and has been asked by Two Sigma.
In this video, I will explain the simple Bit manipulation concept to solve this problem which is both time efficient, O(1) and space efficient, O(1).
00:00 Introductory note
00:08 Introduction to the problem
01:54 Framing the approach to solve the problem
03:44 Understanding the usage of Bit manipulation
08:50 Understanding the usage of Hexadecimal number
11:08 Going through the code
I hope you enjoyed this video and learned something new. If you did, please give it a thumbs up 👍 and share it with your friends who are also interested in coding. And don't forget to subscribe to my channel and hit the bell icon 🔔 to get notified whenever I upload a new video. Thank you for watching and see you in the next one! 😊