Category: python
Writing documentation is sometimes necessary if a project involves collaboration between programmers. APIs should be well documented. I know most programmers hate to do the documentation after a project …
This may be used as an interview question for IT-based jobs. The compression algorithms aim to compress the given text/binary data so that they can benefit from the internet …
This is a possible interview question. Q: List three methods of checking whether any given integers are the power of 2. i.e. and compare the algorithm complexity and performance. …
I will start collecting some interview questions. Q: Implement a Division but cannot use the division operator ‘/’ on two integers. A: We can use substraction instead. However, we …
The Python way of initializing a list can be clearly expressed as the multiplication operator: * for example, # an array of ten integers, which are all initialized to …