Category: Blog

What are the core technologies you have to know about Java EE?

1. Introduction As stated on the website of Java EE, it is designed to help developers create large-scale, multitierred, scalable, reliable, and secure network application. To be a Java EE developer, you have to know Java SE first. Once you move to the Java Enterprise Edition, you will have lots of things to learn. 2. […]

Read More

Game Simulation

How to play dice game? Try this challenging, you will learn a lot of using ArrayList and Loop.

Read More

Why SSH in Java Project Architecture?

In Java, SSH represents Struts, Spring, and Hibernate. Struts resides in View and Controller layer (M-V-C), controls the display and dispatches the tasks. (View: Jsp, HTTP, Form, Tag, Resource; Controller: ActionServlet, struts-config.xml, and Action). Hibernate: persistence layer framework, is a relational mapping tool in Java programming language. Spring: a business logic layer framework. 1. Traditional […]

Read More

Binary Search Tree (BST)

A BST is a rooted binary tree, whose internal nodes each store a key, and each have two distinguished subtrees, commonly denoted left and right.

Read More

Java Collections & Java Arrays Methods

Java offers two types of constructs where you can store multiple values or objects of the same type: Arrays and Collections. This article has the diagram of the main functions.

Read More

Binary search – locate target fast in O(logn)

Binary search is an efficient algorithm for finding an item from a sorted list of items. Here you will find several morphs with the source code.

Read More

Remove Duplicates from sorted LinkedList

Give a list of sorted numbers, delete all duplicates such that each element appear only once. Time complexity must be in O(n).

Read More

Multiply Strings – Leetcode Medium

Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string.

Read More

Java Reflection makes it possible to inspect

Reflection is an API which is used to examine or modify the behavior of methods, classes, interfaces at runtime. A class has multiple component…

Read More

Bucket Sort, Bubble Sort, Selection Sort, and Quick Sort

Sorting is really important in software development. This article brings the four sort algorithms, which are Bucket Sort, Bubble sort, selection sort and quick sort.

Read More