Gyh's Braindump

Tips

tags
Algorithm

Use array over HashMap to count

when we need to kepp track of numbers of characters if characters are all letters use int[128]= over HashMap to improve the speed