CCodeStormincodestormninja.hashnode.dev·Feb 10, 2025 · 2 min readSolving LeetCode problem 217 Contains Duplicate in 4 ways.217. Contains Duplicate Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct. Example 1: Input: nums = [1,2,3,1] Output: true Explanation: The element 1 occurs at the...00
CCodeStormincodestormninja.hashnode.dev·Feb 9, 2025 · 2 min readUnderstanding the Java Main method.Writing your first Java "Hello World" application is pretty exciting. When you start your Java journey, you are told this is the syntax to write the program, and you just go along with it. Today, we will break down the reasons behind the main method ...00
CCodeStormincodestormninja.hashnode.dev·Feb 9, 2025 · 2 min readJDK, JVM, JRE Explained – What Every Java Developer Should KnowWhen you dive into Java for the first time, you come across three terms instantly before you even start programming. Knowing what JDK, JRE, and JVM are is essential to every Java developer. Simply googling these three terms will give you thousands of...00