Skip to content

Conversation

@smilehacker-max
Copy link

Code for Binary search using cpp

Binary search Code for cpp
@smilehacker-max
Copy link
Author

Python program to reverse a number

n = 4562;
rev = 0

while(n > 0):
a = n % 10
rev = rev * 10 + a
n = n // 10

print(rev)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant