mirror of
https://github.com/TheAlgorithms/C
synced 2024-12-24 20:16:57 +03:00
Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
7a997f2755
commit
8241a58d42
@ -2,7 +2,7 @@
|
||||
* @file
|
||||
* @author [serturx](https://github.com/serturx/)
|
||||
* @brief Encode a null terminated string using [Run-length encoding](https://en.wikipedia.org/wiki/Run-length_encoding)
|
||||
* @section Description
|
||||
* @details
|
||||
* Run-length encoding is a lossless compression algorithm.
|
||||
* It works by counting the consecutive occurences symbols
|
||||
* and encodes that series of consecutive symbols into the
|
||||
@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h> /// for printf
|
||||
#include <stdio.h> /// for IO operations
|
||||
#include <string.h> /// for string functions
|
||||
#include <stdlib.h> /// for malloc/free
|
||||
#include <assert.h> /// for assert
|
||||
|
Loading…
Reference in New Issue
Block a user