Type something to search...

Java

Common design patterns in Java

Strategy The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets

read more

Java frequently used data structures and methods for leetcode

Array Common declarations: int[] a = new int[100]; int[] b = {4, 1, 5}; int[] c = new int[] {1, 2, 3};Two-dimensional arrays: int[][] grid = {{1, 2}, {3, 4}};int[][] jag

read more