Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a5143d6

Browse files
Update README.md
1 parent 56bd743 commit a5143d6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
### This repository contains various coding challenges taken on Sites like HackerRank, LeetCode etc.
33

44
## Challenge#1- Prefix Notation
5-
#### Write a function that evaluates an expression written in Prefix Notiation and returrns a value
5+
### Write a function that evaluates an expression written in Prefix Notiation and returrns a value
66

7-
##### Problem Statement:
7+
#### Problem Statement:
88

99
Prefix notation (also known as polish notation) is an alternative to the more familier infix notation.
1010

@@ -49,7 +49,7 @@ expression: + 10 x
4949
variables {"x":3}
5050
value: 13
5151
```
52-
##### Task
52+
#### Task
5353

5454
Implement a function CalculateExpression(expression,variables)
5555
that takes as inputs:
@@ -66,7 +66,7 @@ The only accepted numeric operands aer positive integers in base 10 (e.g 1,22, 8
6666

6767
A valid variable name is any sequence of characters that doesn't include whitespaces(spaces,tabs, newlines, etc).
6868

69-
##### Examples
69+
#### Examples
7070

7171
```
7272
Expression: + 1 5
@@ -125,7 +125,7 @@ variables: {"x":1,"y":3}
125125
result: 9
126126
```
127127

128-
##### Solution: CodingChallenge.HackerRank/PrefixNotation.cs
129-
##### Test Cases : CodingChallenge.Tests/UT_PrefixNotation.cs
130-
128+
#### Solution: CodingChallenge.HackerRank/PrefixNotation.cs
129+
#### Test Cases : CodingChallenge.Tests/UT_PrefixNotation.cs
130+
![alt text]https://github.com/csehammad/CodingProblems/blob/main/CodingChallenge.Tests/IMG_PrefixNotation.png?raw=true)
131131

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /