@@ -8,7 +8,8 @@ export function getProblemOfDay() {
8
8
currentDate . toLocaleString ( "en-US" , { timeZone : "Africa/Cairo" } ) ;
9
9
return (
10
10
Math . floor (
11
- ( currentDate . getTime ( ) - new Date ( `${ UserDb . get ( ) . stream . startDate } T00:00:00` ) . getTime ( ) ) /
11
+ ( currentDate . getTime ( ) -
12
+ new Date ( `${ UserDb . get ( ) . stream . startDate } T00:00:00` ) . getTime ( ) ) /
12
13
( 1000 * 3600 * 24 )
13
14
) % problems . length
14
15
) ;
@@ -49,17 +50,22 @@ export const problems = [
49
50
tags : [ "Math" , "Binary Search" ] ,
50
51
} ,
51
52
{
52
- id : "L243 " ,
53
+ id : "N924 " ,
53
54
title : "Shortest Word Distance" ,
54
55
difficulty : Difficulty . EASY ,
55
56
patterns : [ patterns . Warmup ] ,
56
- url : "https://leetcode.ca/all/243.html " ,
57
+ url : "https://www.lintcode.com/problem/924 " ,
57
58
solutions : [
58
59
{
59
60
title : "Solution: Shortest Word Distance" ,
60
61
site : { } ,
61
62
url : "https://aaronice.gitbook.io/lintcode/hash-table/shortest-word-distance" ,
62
63
} ,
64
+ {
65
+ title : "Shortest Word Distance - LeetCodeCa" ,
66
+ site : { } ,
67
+ url : "https://leetcode.ca/all/243.html" ,
68
+ } ,
63
69
] ,
64
70
companies : [
65
71
"Amazon" ,
0 commit comments