9 Open Issues Need Help Last updated: Jun 19, 2025

Open Issues Need Help

View All on GitHub
Education School Resources

AI Summary: Implement the `s21_strncmp` function, mirroring the standard `strncmp` function's behavior in comparing at most the first n bytes of two strings. This includes writing the function in C, ensuring 100% test coverage using Check, adhering to the Google C++ Style Guide, and handling various edge cases and null terminators. The task involves modifying several files: `s21_strncmp.c`, `s21_string.h`, `test_strncmp.c`, `suite.h`, and `main.c`.

Complexity: 4/5
good first issue
Education School Resources

AI Summary: Implement a custom string.h library (s21_string+) in C, adhering to POSIX.1-2017 standards and Google C++ style guidelines. This involves creating functions like strlen, strcpy, strcat, etc., writing comprehensive unit tests (using Check library) to achieve at least 80% code coverage, and ensuring memory safety and proper error handling. The project uses a Makefile for building, testing, and generating code coverage reports.

Complexity: 4/5
documentation good first issue
Education School Resources

AI Summary: Implement the `s21_strpbrk()` function, mirroring the standard `strpbrk()` function's behavior. This involves finding the first occurrence of any character from a second string within a first string. The implementation must adhere to the Google C++ Style Guide, achieve 100% test coverage using Check, be free of memory leaks, and include proper documentation. Thorough testing is required, covering various scenarios including edge cases and NULL pointer handling.

Complexity: 3/5
enhancement good first issue
Education School Resources

AI Summary: Implement the `s21_strcspn` function, which calculates the length of the initial segment of a string that does not contain any characters from a second string. This involves writing the function in C, ensuring it adheres to the POSIX standard, creating comprehensive unit tests (using Check), achieving 100% test coverage, and following the Google C++ Style Guide. The implementation should handle edge cases such as empty strings and strings with no matching characters. Memory leaks must be avoided.

Complexity: 3/5
enhancement good first issue
Education School Resources

AI Summary: Implement the `s21_strtok` function, a string tokenizer that mimics the standard `strtok` function. This involves handling various edge cases like consecutive delimiters, leading/trailing delimiters, and null inputs. The implementation must adhere to the C11 standard, Google C++ Style Guide, and achieve at least 80% code coverage as verified by gcov. Unit tests using the Check library are required.

Complexity: 4/5
good first issue