Leetcode 13. Roman To Integer (C#)
This is my thought process and solution to Leetcode 13. Roman to Integer in C# Reading in a string and translating that into an integer value There are two solutions 1. Better Time Complexity 2. How My Brain Calculates Roman Numerals Timeline 0:10 - Intro / Problem Description 0:48 - Defining the Dictionary 2:42 - Algorithm 4:00 - Pseudocode 5:10 - Defining Variables 5:30 - For loop 5:59 - Setting Current and Next Variables 8:45 - Calculating the Value (Ternary Operator) (Jump Here if you came for Solution) 10:00 - Running Code / Tests For Solution #1 12:08 - Solution # 2 - How My Brain Calculates It 15:00 - Running Code / Tests For Solution #2 15:13 - Submitting Solution #2 15:52 - Submitting Solution #1 (Comparing Performance) Website Portfolio: https://bee4brendan.com/ Socials Instagram: https://www.Instagram.com/bee4brendan LinkedIn: https://www.LinkedIn.com/in/bee4brendan GitHub: https://www.GitHub.com/bee4brendan #Leetcode, #Tutorial, #coding
Download
0 formatsNo download links available.