Please consume this content on nados.pepcoding.com for a richer experience. It is necessary to solve the questions while watching videos, nados.pepcoding.com enables that.
NADOS also enables doubt support, career opportunities and contests besides free of charge content for learning. In this video, we discuss the logic to check if a number is divisible by 3 or not using Bit Manipulation. In this problem,
1. You are given a binary string which represents a number.
2. You have to check whether this number is divisible by 3 or not.
3. Print 'true' if it is divisible by 3, otherwise print 'false'.
To submit the question, click here: https://www.pepcoding.com/resources/d...
For a better experience and more exercises, VISIT: https://www.pepcoding.com/resources/o...
#bitmanipulation
Have a look at our result: https://www.pepcoding.com/placements
Follow us on our FB page: / pepcoding
Follow us on Instagram: / pepcoding
Follow us on LinkedIn: / pepcoding-education
Watch video Check if Binary String is Divisible by 3 | Must do Coding Questions | Bit Manipulation Questions online, duration hours minute second in high quality that is uploaded to the channel Pepcoding 08 September 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 8,264 times and liked it 208 visitors.