Pergunta de entrevista da empresa CommerceIQ

Writing code for the below questions in 45 mins(standard same question in boomerang) 1. Given a boolean matrix A. Modify the matrix such that if A[i,j]=1 make ith row & jth column as 1. 2. Code to check if a tree is BST or not 3. Write a program to find number of words in a file