← Salesforce questions

Multiply top and bottom axes of two 3-D matrices

Filed under Salesforce

Given two 3D matrices A and B of size N x N x N, compute the product of the top two axes of A (N x N) and the bottom two axes of B (N x N) resulting in an N x N matrix.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Salesforce questions

Collected from public candidate posts and coding forums. Updated Nov 2026.