SQL: Two questions involving JOIN, GROUP BY, and aggregate queries on data tables. C++ (coding): Finding an element in an array that first increases and then decreases, using a linear pass over the array. Oral question: Row with Maximum Number of 1s – a sorted binary matrix, starting from the top-right corner, eliminating rows and columns in linear time.