Shubham Bhardwaj’s Post

View profile for Shubham Bhardwaj, graphic

Seeking Internship Opportunities | Full stack Developer | HTML, CSS, JavaScript, React, Tailwind CSS, Express, MongoDB

Day 84/90 - Code Challenge: Baseball Score Calculation Today, I tackled a problem involving baseball scores and operations on them. The task was to calculate the final score based on a sequence of operations, which could be either an integer score, a double of the previous score, the sum of the last two scores, or a cancel operation. The solution was efficiently implemented using a stack to handle each operation step by step.

  • graphical user interface, text, application

To view or add a comment, sign in

Explore topics