Category: Subsets
-
How to find the substrings of a given string?
This is the complete solution to find the substrings of a given String. This solution is designed to solve the problem using an interface, super class and three derived classes implementing the interface.
-
How to find subsets of a given strings using Multithreads
This is the fourth solution to list all the subsets or substrings of a given strings from the ArrayList of Strings, using Multithreads. This program uses the Multithreads concept, and uses the String’s class substring method for intermediate processing of all sized sub strings.
-
How to find subsets of a given string
This is the third solution to list all the subsets or substrings of a given string. This approach uses functional interface with single abstract method implementation using lambda expression, the internal logic utilizes the String’s class substring method for intermediate processing of all sized sub strings.
-
How to find subsets of a given string
This is the second solution to list all the subsets or substrings of a given string. This program does not use the substring method, instead uses the StringBuilder class append method.
-
How to find subsets of a given string
This is the first solution to list all the subsets or substrings of a given string. This uses the String’s class substring method for intermediate processing of all sized sub strings.
