Skip to content

Commit 98c5d76

Browse files
refactor 311
1 parent c6996ed commit 98c5d76

File tree

1 file changed

+0
-25
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-25
lines changed

src/main/java/com/fishercoder/solutions/_311.java

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,5 @@
11
package com.fishercoder.solutions;
22

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-
*/
283
public class _311 {
294

305
public static class Solution1 {

0 commit comments

Comments
 (0)