We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6996ed commit 98c5d76Copy full SHA for 98c5d76
src/main/java/com/fishercoder/solutions/_311.java
@@ -1,30 +1,5 @@
1
package com.fishercoder.solutions;
2
3
-/**
4
- * 311. Sparse Matrix Multiplication
5
- *
6
- * Given two sparse matrices A and B, return the result of AB.
7
-
8
- You may assume that A's column number is equal to B's row number.
9
10
- Example:
11
12
- A = [
13
- [ 1, 0, 0],
14
- [-1, 0, 3]
15
- ]
16
17
- B = [
18
- [ 7, 0, 0 ],
19
- [ 0, 0, 0 ],
20
- [ 0, 0, 1 ]
21
22
23
- | 1 0 0 | | 7 0 0 | | 7 0 0 |
24
- AB = | -1 0 3 | x | 0 0 0 | = | -7 0 3 |
25
- | 0 0 1 |
26
27
- */
28
public class _311 {
29
30
public static class Solution1 {
0 commit comments