Archives

Two ways to Check Unique Char using Java

/** * */ package com.thys.michels; import java.util.HashSet; /** * @author tmichels * */ public class Question1_1 { /** * Use a hash map to count the amount of same values and see if all are 1. Using an HashMap */ public static void main(String[] args) { // TODO Auto-generated method stub String[] words = {“abcde”, […]

Rate this:

Read More