* Do note in this post, I’m referring to a normal array, not the Arrays class in Java. All these are snippets of code, so remember to import the ArrayList package when you need to use the ArrayList class. I’m going to break this down into differences and similarities. Differences Between a Java ArrayList and… Read More Java: ArrayList vs Array
This problem is extracted from HackerRank: Counting Valleys. Its rating is Easy. We will be using Python 3 to solve this problem. Do try to solve it yourself first in HackerRank before peeking at the solution. 🙂
As a computing teacher, I sometimes get pretty funny questions from students whom you know are very new to computers. Or perhaps, they just haven’t had the experience with text editors very much. One question I often get from my students who use Windows for coding is this: “Teacher, how do you remove this black… Read More Teacher, What’s the ‘Black Thing’?