text: Driver Code
code: public static void main ( String [ ] args ) { Vector < String > A = new Vector < String > ( ) ; A . add ( " adc " ) ; A . add ( " aec " ) ; A . add ( " erg " ) ; String S = " ac " ; System . out . print ( countWays ( A , S ) ) ; } }