SkillRack- Daily Challenge - Palindrome - Binary Representation (Program Id: 7605) 11-06-23
Channel:
Subscribers:
1,340
Published on ● Video Link: https://www.youtube.com/watch?v=rehX4tPxQcg
Today's Daily Challenge Solution in Java,C,C++,Python
Logic:
To find the binary representation i used the while loop
(i.e) if 5 is the input then it binary is 101
to be palindrome the first and last to be same
so that why i used the for loop with two variables i and j
it simultaneously check the both side front and back to be equal if not it is not a palindrome
Other Videos By Pro_Gamer25
Tags:
skillrack daily challenges solution
skillrack solutions
skillrack pro_gamer25
skillrack pro_gamer 25
pro_gamer25
Palindrome - Binary Representation
skillrack program id 7605