Рет қаралды 5,166
Data Structures and Algorithms Free Course (Learn DSA Without Paise) Playlist - • Data Structures And Al...
We are up with the lecture 20 of our much awaited dsa course in java.
Today we will see a very interesting programming question which is being asked in the adobe interview and in the interviews of many other companies as well.
The program is to find whether a number is a power of 2 or not?
The question is pretty simple but the catch here is, how to do it efficiently and in less time.
Bit manipulation can be helpful in achieving this goal.
Let's see how we can use bit manipulation and find whether a number is a power of 2 or not.
Subscribe to our channel for regular updates on the dsa course and click on the bell icon to never miss an update from our dsa course.
For more information, fill this form: forms.gle/8eiU...
or call us at 8884881203
Facebook: / thetapacademy
Instagram: / tapacademy_online
Linkedin: / 73820805
Website: www.thetapacad...
#dsa #dsacourse #java #dsainjava #javaprogramming #coding #coder