Tag: add
-
How to move zero’s to end in an array List of integers using streams
This is the third solution to move all Zero numbers to the end of an arrayList. This solution uses filter(), map() methods of stream. The resultant arrayList has all the exists zero’s moved to end.
-
How to reverse each word in a given sentence
This is the fourth solution to reverse each word of given line of strings. This program uses the map() method of java stream, and reverse() method of StringBuffer.
-
How to check whether a number is Armstrong number or not
This is the third solution to check whether a given number is Armstrong number or not. This program uses the map() and reduce() methods of java streams.
-
How to find sum of digits in an alpha numeric value
This is the third solution to find sum of integers in a given alphanumeric string. This program uses the filter(), map() and reduce() methods of java streams.
