I am coding for the problem in which we got to count the number of common characters in two strings. Main part of the count goes like this
for(i=0; i < st
No need to initialize and keep an array of 26 elements (numbers for each letter in alphabet). Just fo the following:
These steps are written considering Java programming language.