Goldman Sachs Online OA Question! Need Solution
Anonymous User
836

Can someone help me with Question? This was asked to my friend in OA
image

image

image

image

Can someone help me with Question? This was asked to my friend in OA

I have figured out the problem. But somehow I am missing something.
Can someone implent the solution?

#include<bits/stdc++.h>

using namespace std;

char key[4][9]={{'*','*','*','Q','W','E','R','T'},
				{'Y','U','I','O','P','A','S','D'},
				{'F','G','H','J','K','L','Z','X'},
				{'C','V','B','N','M','*','*','*'}
}

void func(vector<string> &str,char in){
	
	
}

int main() {
	
	int n;
	cin>>n;
	
	vector<string> str;
	string s;
	for(int i = 0;i<n;i++){
		cin>>s;
		str.push_back(s);
	}
	char in;
	cin>>in;
	func(str,in);
	return 0;
}
Comments (3)