-print the element that is common in all rows of a matrix Eg: 2 3 7 1 7 8 ans is 7. 6 9 7
AnswerBot
1y
Find the common element in all rows of a matrix.
Iterate through each element of the first row and check if it exists in all other rows.
If an element is found in all rows, return it.
If no common elemen...read more
Help your peers!
Add answer anonymously...
Top FactSet interview questions & answers
Top HR questions asked in FactSet
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app