MCPcopy Create free account
hub / github.com/chaharnishant11/CodeIn10DSA / main

Function main

Recursion/Homework/possibleWordsFromPhone.cpp:39–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37// { Driver Code Starts.
38
39int main() {
40
41 int T;
42
43 cin >> T; //testcases
44
45 while(T--){ //while testcases exist
46 int N;
47
48 cin >> N; //input size of array
49
50 int a[N]; //declare the array
51
52 for(int i =0;i<N;i++){
53 cin >> a[i]; //input the elements of array that are keys to be pressed
54 }
55
56 Solution obj;
57
58 vector <string> res = obj.possibleWords(a,N);
59 for (string i : res) cout << i << " ";
60 cout << endl;
61 }
62
63 return 0;
64} // } Driver Code Ends

Callers

nothing calls this directly

Calls 1

possibleWordsMethod · 0.80

Tested by

no test coverage detected