About bit (binary) operations.
File | Description |
---|---|
def square_matrix_simple(matrix=[]) | Write a function that computes the square value of all integers of a matrix |
1-print_binary.c | Function that prints the binary representation of a number. |
2-get_bit.c | Function that returns the value of a bit at a given index |
3-set_bit.c | Function that sets the value of a bit to 1 at a given index. |
4-free_list.c | Function that sets the value of a bit to 0 at a given index. |
5-flip_bits.c | Function that returns the number of bits you would need to flip to get from one number to another |
#Resources
- Data structures
- Lambda, filter, reduce and map
- Learn to Program 12 Lambda Map Filter Reduce
Yennifer Marcela Tobon. Albéniz Martínez Restrepo.