Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ctoic/polynomial-calculator-using_c-
Some of the basic concept's and algorithm implementations.
https://github.com/ctoic/polynomial-calculator-using_c-
algorithm data-structures linked-list
Last synced: about 13 hours ago
JSON representation
Some of the basic concept's and algorithm implementations.
- Host: GitHub
- URL: https://github.com/ctoic/polynomial-calculator-using_c-
- Owner: Ctoic
- Created: 2021-10-10T09:41:52.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-26T12:07:58.000Z (over 2 years ago)
- Last Synced: 2023-03-08T21:56:53.794Z (over 1 year ago)
- Topics: algorithm, data-structures, linked-list
- Language: C++
- Homepage:
- Size: 441 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Data_Structure_And_Algo
Some of the basic concept's and algorithm implementations.
In this repository i will add all the basic problems and best solutins interms of space and time. As a Computer Scientest it is our duty to develope an efficent Algorithm with
minimum time complexity and it should occupy less space. We have to take good care of time factor because time is precious.
Code Along with baisic concepts and I will also add the lecture notes and my personal notes.# Assignment003
Polynomail Calculator was our Data structures assignment where we implemented our knowledge of linked list to make it possible. Using a singly Linked List
we developed the calculator ,main concepts were Operator overloading ,insertion ,deletion , sorting the poly and Operation with polynomial like add and multiply.
![Polynomials](https://user-images.githubusercontent.com/90936436/160331515-89ce8ef0-c4a3-4e38-953f-b5c5e2a9decf.png)# Assignment04
This was quite interesting assignment where we have to convert an infix expression to postfix , then we have to convert the same expresion into prefix and at last we have evaluate the given expression.Normally Humans ca read infix notation quite easily and they can work comfortably with them . We can recognise the braces precedences while solving the equations but computers are not Intelligent like you ;) but they are way faster then you that's what's make computers genuises. So to make the computer understand we convert the exprerssion into post and prefixes because we get rid of the parenthesis and It is easy for the computer to operate on it.
So for this peurpose we can use the stack data structure. Basically stacks follow the "FILO" Rule. what ever goes in first will be the last to comeout. By using stack we will make calculator which will convert and evaluate a given infix expression into postfix and prefix. Hope you will enjoy![infix-to-postfix-using-stack-data-structure-with-code](https://user-images.githubusercontent.com/90936436/168832294-fc2c97be-b8ad-4e24-8483-01f21a59238c.jpg)