[PR #1308] [CLOSED] add code for Infix to Prefix #1905

Closed
opened 2026-01-29 15:26:02 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1308
Author: @Agniva144
Created: 9/28/2023
Status: Closed

Base: masterHead: master


📝 Commits (2)

  • 60cc926 add code for Infix to Prefix
  • 9c0e5ad add postifx to infix code

📊 Changes

1 file changed (+86 additions, -0 deletions)

View changed files

conversions/postfix_to_infix.c (+86 -0)

📄 Description

Description of Change

Added C code implementations for converting both infix expressions to prefix expressions and postfix expressions to infix expressions. These codes provide stack-based algorithms to perform the conversions and include proper documentation and comments for clarity and understanding.

The infix to prefix conversion code allows the conversion of infix expressions to prefix notation, while the postfix to infix conversion code allows the conversion of postfix expressions to infix notation. Both implementations enhance the functionality of the repository.

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and examples, tests must pass
  • Relevant documentation/comments are changed or added
  • PR title follows semantic commit guidelines
  • Searched previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes: These changes provide implementations for infix to prefix and postfix to infix conversions in C, improving the functionality of the repository and including documentation for developers and reviewers.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/1308 **Author:** [@Agniva144](https://github.com/Agniva144) **Created:** 9/28/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`60cc926`](https://github.com/TheAlgorithms/C/commit/60cc926e7a08b715ff2cfed7346bcc6e116cd3d1) add code for Infix to Prefix - [`9c0e5ad`](https://github.com/TheAlgorithms/C/commit/9c0e5ad67bf6b8a5001aad961eae649f55429a5d) add postifx to infix code ### 📊 Changes **1 file changed** (+86 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `conversions/postfix_to_infix.c` (+86 -0) </details> ### 📄 Description #### Description of Change Added C code implementations for converting both infix expressions to prefix expressions and postfix expressions to infix expressions. These codes provide stack-based algorithms to perform the conversions and include proper documentation and comments for clarity and understanding. The infix to prefix conversion code allows the conversion of infix expressions to prefix notation, while the postfix to infix conversion code allows the conversion of postfix expressions to infix notation. Both implementations enhance the functionality of the repository. #### Checklist - [x] Added description of change - [ ] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [ ] Added tests and examples, tests must pass - [x] Relevant documentation/comments are changed or added - [ ] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [ ] Searched previous suggestions before making a new one, as yours may be a duplicate. - [ ] I acknowledge that all my contributions will be made under the project's license. Notes: These changes provide implementations for infix to prefix and postfix to infix conversions in C, improving the functionality of the repository and including documentation for developers and reviewers. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:26:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1905