Skip to content

Comments

Refactor recursive functions and utilities for clarity #1

Open
Feliks-WR wants to merge 1 commit intosirfaheem:masterfrom
Feliks-WR:origin
Open

Refactor recursive functions and utilities for clarity #1
Feliks-WR wants to merge 1 commit intosirfaheem:masterfrom
Feliks-WR:origin

Conversation

@Feliks-WR
Copy link

Description

This pull request improves the codebase by refactoring recursive and utility functions:

  • Added type annotations for better readability and error detection.
  • Standardized formatting and simplified complex logic in recursive methods.
  • Resolved logical errors in methods like HexToDen and Bubble Sort.
  • Introduced helper constants and reused logic to enhance maintainability.

No functionality changes; these are internal improvements for consistency and clarity.

Checklist

  • Tests added or updated, if required
  • Documentation updated, if applicable

- Add type annotations to improve readability and error detection.
- Standardize spacing and formatting across all files.
- Simplify repeated logic in recursive functions for better clarity.
- Fix incorrect implementations and logical errors in several methods, including HexToDen and Bubble Sort.
- Improve code maintainability by adding helper constants and reusing logic where applicable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant