---
title: "Discussion on \"Fun With Expressions Problem | Evaluating the Mathematical Expressions\" | Hashnode"
description: "Discussion on \"Fun With Expressions Problem | Evaluating the Mathematical Expressions\". Problem Statement\nGiven a string s which represent an expression, evaluate this expression.(No brackets involved)\nInteger division should truncate towards zero.\nExample 1:\nInput: s = \"10*20+10\"\nOutput: 210\nExample 2:\nInput: s = \"16*5-5/15\"\nOutput: 80..."
url: "https://hashnode.com/posts/fun-with-expressions-problem-evaluating-the-mathematical-expressions/650ad81280b1b9ea7e53eba2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Fun With Expressions Problem | Evaluating the Mathematical Expressions](https://buildskillswithsumanth.hashnode.dev/fun-with-expressions-problem-evaluating-the-mathematical-expressions?utm_source=hashnode&utm_medium=feed)

Problem Statement Given a string s which represent an expression, evaluate this expression.(No brackets involved) Integer division should truncate towards zero. Example 1: Input: s = "10\*20+10" Output: 210 Example 2: Input: s = "16\*5-5/15" Output: 80...

Sep 20, 2023 · 4 min read · buildskillswithsumanth.hashnode.dev  
Read the article

-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#strings](https://hashnode.com/tag/strings)
-   [#mathematics](https://hashnode.com/tag/mathematics)
-   [#dsa](https://hashnode.com/tag/dsa)
-   [#algorithms](https://hashnode.com/tag/algorithms)

## Written by

[Sai Sumanth Kovuru](https://hashnode.com/@Sumanth1523)

@Sumanth1523 · India

  
[View profile](https://hashnode.com/@Sumanth1523)

Software Engineer at HP | Problem Solver | Technical Documenter | Tech enthusiast | DSA explorer

Skilled Software Engineer with a passion for innovation and a strong background in developing cutting-edge solutions. Currently, I am leveraging my expertise at HP. Reliable and dedicated player with hardworking and resourceful approach. Multitasker with work ethic and good teamwork, problem-solving and organizational skills.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
