[Solved] Leetcode: why it behaviors different for “at“ method for **string Class** on **Submit** and **Run Code**

[ad_1]

You failed to initialise the variable count, so your program has undefined behaviour.

[ad_2]

solved Leetcode: why it behaviors different for “at“ method for **string Class** on **Submit** and **Run Code**