No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi, I recently wrote this code to calculate the hamming distance between any two binary numbers... The program accepts the numbers in decimals, performs a bitwise XOR operation and returns the HD... However, it returns the Hamming distance in decimal... that is if after XOR it gets something like 0010... … | |
HI, I want to sort the elements of an array in ascending order. The elements are in floating point. how do i go about doing this? Thanks for your help. Nishant |