Depth-First Search (DFS) in Python - Theory and Implementation
Originating from mathematics, graphs are now widely used data structures in Computer Science. One of the first problems we encounter when constructing any algorithm regarding Graph processing or traversal, is how we represent the graph and then, how to traverse that representation. Graph traversal is not a trivial problem, and...
How to Compare Dates in Java
Dates are something we encounter in everyday life, whether they're used for calendars, scheduling appointments, or even remembering birthdays. Naturally, when working with dates we will often need to know if a certain date comes before or after another, or if they represent the same calendar date. In this article,...
Java: Check if String is a Number
Strings are a handy way of getting information across and getting input from a user. In this article, we will go through a couple of ways check if a String is Numeric in Java - that is to say, if a String represents a numeric value. Check if String is...