summaryrefslogtreecommitdiff
path: root/.localrepo/leetcode-20250417.1453.tar
blob: b39999aae2a5ea864e011e22221800df6c1d5c3f (plain)
ofshex dumpascii
0000 6c 65 65 74 63 6f 64 65 2d 32 30 32 35 30 34 31 37 2e 31 34 35 33 2f 00 00 00 00 00 00 00 00 00 leetcode-20250417.1453/.........
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0060 00 00 00 00 30 30 30 30 37 35 35 00 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 00 30 30 30 30 ....0000755.0000000.0000000.0000
0080 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 32 35 37 36 00 20 35 00 00 00 0000000.00000000000.012576..5...
00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0100 00 75 73 74 61 72 20 20 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .ustar...root...................
0120 00 00 00 00 00 00 00 00 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .........root...................
0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0200 6c 65 65 74 63 6f 64 65 2d 32 30 32 35 30 34 31 37 2e 31 34 35 33 2f 6c 65 65 74 63 6f 64 65 2d leetcode-20250417.1453/leetcode-
0220 70 6b 67 2e 65 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 pkg.el..........................
0240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0260 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 00 30 30 30 30 ....0000644.0000000.0000000.0000
0280 30 30 30 30 37 31 34 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 35 34 36 35 00 20 30 00 00 00 0000714.00000000000.015465..0...
02a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0300 00 75 73 74 61 72 20 20 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .ustar...root...................
0320 00 00 00 00 00 00 00 00 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .........root...................
0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0400 3b 3b 20 2d 2a 2d 20 6e 6f 2d 62 79 74 65 2d 63 6f 6d 70 69 6c 65 3a 20 74 3b 20 6c 65 78 69 63 ;;.-*-.no-byte-compile:.t;.lexic
0420 61 6c 2d 62 69 6e 64 69 6e 67 3a 20 6e 69 6c 20 2d 2a 2d 0a 28 64 65 66 69 6e 65 2d 70 61 63 6b al-binding:.nil.-*-.(define-pack
0440 61 67 65 20 22 6c 65 65 74 63 6f 64 65 22 20 22 32 30 32 35 30 34 31 37 2e 31 34 35 33 22 0a 20 age."leetcode"."20250417.1453"..
0460 20 22 41 6e 20 6c 65 65 74 63 6f 64 65 20 63 6c 69 65 6e 74 2e 22 0a 20 20 27 28 28 65 6d 61 63 ."An.leetcode.client."...'((emac
0480 73 20 22 32 38 2e 31 22 29 0a 20 20 20 20 28 73 20 20 20 20 20 22 31 2e 31 33 2e 30 22 29 0a 20 s."28.1").....(s....."1.13.0")..
04a0 20 20 20 28 61 69 6f 20 20 20 22 31 2e 30 22 29 0a 20 20 20 20 28 6c 6f 67 34 65 20 22 30 2e 33 ...(aio..."1.0").....(log4e."0.3
04c0 2e 33 22 29 29 0a 20 20 3a 75 72 6c 20 22 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d .3"))...:url."https://github.com
04e0 2f 6b 61 69 77 6b 2f 6c 65 65 74 63 6f 64 65 2e 65 6c 22 0a 20 20 3a 63 6f 6d 6d 69 74 20 22 37 /kaiwk/leetcode.el"...:commit."7
0500 66 31 64 36 38 30 34 65 64 33 62 39 64 65 39 38 64 32 37 33 37 65 31 65 61 62 32 37 35 63 64 39 f1d6804ed3b9de98d2737e1eab275cd9
0520 63 62 63 64 62 31 36 22 0a 20 20 3a 72 65 76 64 65 73 63 20 22 37 66 31 64 36 38 30 34 65 64 33 cbcdb16"...:revdesc."7f1d6804ed3
0540 62 22 0a 20 20 3a 6b 65 79 77 6f 72 64 73 20 27 28 22 65 78 74 65 6e 73 69 6f 6e 73 22 20 22 74 b"...:keywords.'("extensions"."t
0560 6f 6f 6c 73 22 29 0a 20 20 3a 61 75 74 68 6f 72 73 20 27 28 28 22 57 61 6e 67 20 4b 61 69 22 20 ools")...:authors.'(("Wang.Kai".
0580 2e 20 22 6b 61 69 77 6b 78 40 67 6d 61 69 6c 2e 63 6f 6d 22 29 29 0a 20 20 3a 6d 61 69 6e 74 61 .."kaiwkx@gmail.com"))...:mainta
05a0 69 6e 65 72 73 20 27 28 28 22 57 61 6e 67 20 4b 61 69 22 20 2e 20 22 6b 61 69 77 6b 78 40 67 6d iners.'(("Wang.Kai"..."kaiwkx@gm
05c0 61 69 6c 2e 63 6f 6d 22 29 29 29 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ail.com"))).....................
05e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0600 6c 65 65 74 63 6f 64 65 2d 32 30 32 35 30 34 31 37 2e 31 34 35 33 2f 6c 65 65 74 63 6f 64 65 2e leetcode-20250417.1453/leetcode.
0620 65 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 el..............................
0640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0660 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 30 30 30 30 00 30 30 30 30 30 30 30 00 30 30 30 30 ....0000644.0000000.0000000.0000
0680 30 31 37 31 34 36 32 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 34 37 31 37 00 20 30 00 00 00 0171462.00000000000.014717..0...
06a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0700 00 75 73 74 61 72 20 20 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .ustar...root...................
0720 00 00 00 00 00 00 00 00 00 72 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .........root...................
0740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0800 3b 3b 3b 20 6c 65 65 74 63 6f 64 65 2e 65 6c 20 2d 2d 2d 20 41 6e 20 6c 65 65 74 63 6f 64 65 20 ;;;.leetcode.el.---.An.leetcode.
0820 63 6c 69 65 6e 74 20 20 20 20 20 20 20 20 20 20 20 2d 2a 2d 20 6c 65 78 69 63 61 6c 2d 62 69 6e client...........-*-.lexical-bin
0840 64 69 6e 67 3a 20 74 3b 20 6e 6f 2d 62 79 74 65 2d 63 6f 6d 70 69 6c 65 3a 20 74 20 2d 2a 2d 0a ding:.t;.no-byte-compile:.t.-*-.
0860 0a 3b 3b 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 31 39 20 20 57 61 6e 67 20 4b 61 69 .;;.Copyright.(C).2019..Wang.Kai
0880 0a 0a 3b 3b 20 41 75 74 68 6f 72 3a 20 57 61 6e 67 20 4b 61 69 20 3c 6b 61 69 77 6b 78 40 67 6d ..;;.Author:.Wang.Kai.<kaiwkx@gm
08a0 61 69 6c 2e 63 6f 6d 3e 0a 3b 3b 20 4b 65 79 77 6f 72 64 73 3a 20 65 78 74 65 6e 73 69 6f 6e 73 ail.com>.;;.Keywords:.extensions
08c0 2c 20 74 6f 6f 6c 73 0a 3b 3b 20 55 52 4c 3a 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 ,.tools.;;.URL:.https://github.c
08e0 6f 6d 2f 6b 61 69 77 6b 2f 6c 65 65 74 63 6f 64 65 2e 65 6c 0a 3b 3b 20 50 61 63 6b 61 67 65 2d om/kaiwk/leetcode.el.;;.Package-
0900 52 65 71 75 69 72 65 73 3a 20 28 28 65 6d 61 63 73 20 22 32 38 2e 31 22 29 20 28 73 20 22 31 2e Requires:.((emacs."28.1").(s."1.
0920 31 33 2e 30 22 29 20 28 61 69 6f 20 22 31 2e 30 22 29 20 28 6c 6f 67 34 65 20 22 30 2e 33 2e 33 13.0").(aio."1.0").(log4e."0.3.3
0940 22 29 29 0a 3b 3b 20 50 61 63 6b 61 67 65 2d 56 65 72 73 69 6f 6e 3a 20 32 30 32 35 30 34 31 37 ")).;;.Package-Version:.20250417
0960 2e 31 34 35 33 0a 3b 3b 20 50 61 63 6b 61 67 65 2d 52 65 76 69 73 69 6f 6e 3a 20 37 66 31 64 36 .1453.;;.Package-Revision:.7f1d6
0980 38 30 34 65 64 33 62 0a 0a 3b 3b 20 54 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 20 66 72 65 65 804ed3b..;;.This.program.is.free
09a0 20 73 6f 66 74 77 61 72 65 3b 20 79 6f 75 20 63 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 .software;.you.can.redistribute.
09c0 69 74 20 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 79 0a 3b 3b 20 69 74 20 75 6e 64 65 72 20 74 68 65 it.and/or.modify.;;.it.under.the
09e0 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 .terms.of.the.GNU.General.Public
0a00 20 4c 69 63 65 6e 73 65 20 61 73 20 70 75 62 6c 69 73 68 65 64 20 62 79 0a 3b 3b 20 74 68 65 20 .License.as.published.by.;;.the.
0a20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 65 69 74 68 65 72 Free.Software.Foundation,.either
0a40 20 76 65 72 73 69 6f 6e 20 33 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 2c 20 6f 72 0a 3b 3b .version.3.of.the.License,.or.;;
0a60 20 28 61 74 20 79 6f 75 72 20 6f 70 74 69 6f 6e 29 20 61 6e 79 20 6c 61 74 65 72 20 76 65 72 73 .(at.your.option).any.later.vers
0a80 69 6f 6e 2e 0a 0a 3b 3b 20 54 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 20 64 69 73 74 72 69 62 ion...;;.This.program.is.distrib
0aa0 75 74 65 64 20 69 6e 20 74 68 65 20 68 6f 70 65 20 74 68 61 74 20 69 74 20 77 69 6c 6c 20 62 65 uted.in.the.hope.that.it.will.be
0ac0 20 75 73 65 66 75 6c 2c 0a 3b 3b 20 62 75 74 20 57 49 54 48 4f 55 54 20 41 4e 59 20 57 41 52 52 .useful,.;;.but.WITHOUT.ANY.WARR
0ae0 41 4e 54 59 3b 20 77 69 74 68 6f 75 74 20 65 76 65 6e 20 74 68 65 20 69 6d 70 6c 69 65 64 20 77 ANTY;.without.even.the.implied.w
0b00 61 72 72 61 6e 74 79 20 6f 66 0a 3b 3b 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 6f 72 arranty.of.;;.MERCHANTABILITY.or
0b20 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 .FITNESS.FOR.A.PARTICULAR.PURPOS
0b40 45 2e 20 20 53 65 65 20 74 68 65 0a 3b 3b 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 E...See.the.;;.GNU.General.Publi
0b60 63 20 4c 69 63 65 6e 73 65 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69 6c 73 2e 0a 0a 3b 3b 20 c.License.for.more.details...;;.
0b80 59 6f 75 20 73 68 6f 75 6c 64 20 68 61 76 65 20 72 65 63 65 69 76 65 64 20 61 20 63 6f 70 79 20 You.should.have.received.a.copy.
0ba0 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 of.the.GNU.General.Public.Licens
0bc0 65 0a 3b 3b 20 61 6c 6f 6e 67 20 77 69 74 68 20 74 68 69 73 20 70 72 6f 67 72 61 6d 2e 20 20 49 e.;;.along.with.this.program...I
0be0 66 20 6e 6f 74 2c 20 73 65 65 20 3c 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f f.not,.see.<https://www.gnu.org/
0c00 6c 69 63 65 6e 73 65 73 2f 3e 2e 0a 0a 3b 3b 3b 20 43 6f 6d 6d 65 6e 74 61 72 79 3a 0a 0a 3b 3b licenses/>...;;;.Commentary:..;;
0c20 20 6c 65 65 74 63 6f 64 65 2e 65 6c 20 69 73 20 61 6e 20 75 6e 6f 66 66 69 63 69 61 6c 20 4c 65 .leetcode.el.is.an.unofficial.Le
0c40 65 74 43 6f 64 65 20 63 6c 69 65 6e 74 2e 0a 3b 3b 0a 3b 3b 20 4e 6f 77 20 69 74 20 69 6d 70 6c etCode.client..;;.;;.Now.it.impl
0c60 65 6d 65 6e 74 73 20 73 65 76 65 72 61 6c 20 41 50 49 3a 0a 3b 3b 20 2d 20 43 68 65 63 6b 20 70 ements.several.API:.;;.-.Check.p
0c80 72 6f 62 6c 65 6d 73 20 6c 69 73 74 0a 3b 3b 20 2d 20 54 72 79 20 74 65 73 74 63 61 73 65 0a 3b roblems.list.;;.-.Try.testcase.;
0ca0 3b 20 2d 20 53 75 62 6d 69 74 20 63 6f 64 65 0a 3b 3b 0a 3b 3b 20 53 69 6e 63 65 20 6d 6f 73 74 ;.-.Submit.code.;;.;;.Since.most
0cc0 20 48 54 54 50 20 72 65 71 75 65 73 74 73 20 77 6f 72 6b 73 20 61 73 79 6e 63 68 72 6f 6e 6f 75 .HTTP.requests.works.asynchronou
0ce0 73 6c 79 2c 20 69 74 20 77 6f 6e 27 74 20 62 6c 6f 63 6b 20 45 6d 61 63 73 2e 0a 3b 3b 0a 3b 3b sly,.it.won't.block.Emacs..;;.;;
0d00 3b 20 43 6f 64 65 3a 0a 28 65 76 61 6c 2d 77 68 65 6e 2d 63 6f 6d 70 69 6c 65 0a 20 20 28 72 65 ;.Code:.(eval-when-compile...(re
0d20 71 75 69 72 65 20 27 6c 65 74 2d 61 6c 69 73 74 29 29 0a 0a 28 72 65 71 75 69 72 65 20 27 6a 73 quire.'let-alist))..(require.'js
0d40 6f 6e 29 0a 28 72 65 71 75 69 72 65 20 27 73 68 72 29 0a 28 72 65 71 75 69 72 65 20 27 73 65 71 on).(require.'shr).(require.'seq
0d60 29 0a 28 72 65 71 75 69 72 65 20 27 73 75 62 72 2d 78 29 0a 28 72 65 71 75 69 72 65 20 27 6d 6d ).(require.'subr-x).(require.'mm
0d80 2d 75 72 6c 29 0a 28 72 65 71 75 69 72 65 20 27 63 6c 2d 6c 69 62 29 0a 0a 28 72 65 71 75 69 72 -url).(require.'cl-lib)..(requir
0da0 65 20 27 73 29 0a 28 72 65 71 75 69 72 65 20 27 61 69 6f 29 0a 28 72 65 71 75 69 72 65 20 27 6c e.'s).(require.'aio).(require.'l
0dc0 6f 67 34 65 29 0a 0a 28 6c 6f 67 34 65 3a 64 65 66 6c 6f 67 67 65 72 20 22 6c 65 65 74 63 6f 64 og4e)..(log4e:deflogger."leetcod
0de0 65 22 20 22 25 74 20 5b 25 6c 5d 20 25 6d 22 20 22 25 48 3a 25 4d 3a 25 53 22 20 27 28 28 66 61 e"."%t.[%l].%m"."%H:%M:%S".'((fa
0e00 74 61 6c 20 2e 20 22 66 61 74 61 6c 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tal..."fatal")..................
0e20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
0e40 20 20 20 20 20 28 65 72 72 6f 72 20 2e 20 22 65 72 72 6f 72 22 29 0a 20 20 20 20 20 20 20 20 20 .....(error..."error")..........
0e60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
0e80 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 61 72 6e 20 20 2e 20 22 77 61 72 6e 22 29 0a 20 20 .............(warn...."warn")...
0ea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
0ec0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 66 6f 20 20 2e 20 22 69 6e ....................(info...."in
0ee0 66 6f 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 fo")............................
0f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 65 62 75 ...........................(debu
0f20 67 20 2e 20 22 64 65 62 75 67 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 g..."debug")....................
0f40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
0f60 20 20 20 28 74 72 61 63 65 20 2e 20 22 74 72 61 63 65 22 29 29 29 0a 28 73 65 74 71 20 6c 6f 67 ...(trace..."trace"))).(setq.log
0f80 34 65 2d 2d 6c 6f 67 2d 62 75 66 66 65 72 2d 6c 65 65 74 63 6f 64 65 20 22 2a 6c 65 65 74 63 6f 4e--log-buffer-leetcode."*leetco
0fa0 64 65 2d 6c 6f 67 2a 22 29 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 0a 28 64 65 66 75 6e de-log*")..;;;###autoload.(defun
0fc0 20 6c 65 65 74 63 6f 64 65 2d 74 6f 67 67 6c 65 2d 64 65 62 75 67 20 28 29 0a 20 20 22 54 6f 67 .leetcode-toggle-debug.()..."Tog
0fe0 67 6c 65 20 64 65 62 75 67 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 69 gle.debug."...(interactive)...(i
1000 66 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6c 6f 67 2d 64 65 62 75 67 67 69 6e 67 2d 70 29 0a 20 20 f.(leetcode--log-debugging-p)...
1020 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6c 6f ....(progn.........(leetcode--lo
1040 67 2d 73 65 74 2d 6c 65 76 65 6c 20 27 69 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 28 6c 65 65 74 g-set-level.'info).........(leet
1060 63 6f 64 65 2d 2d 6c 6f 67 2d 64 69 73 61 62 6c 65 2d 64 65 62 75 67 67 69 6e 67 29 0a 20 20 20 code--log-disable-debugging)....
1080 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 6c 65 65 74 63 6f 64 65 20 64 69 73 61 62 6c 65 20 .....(message."leetcode.disable.
10a0 64 65 62 75 67 22 29 29 0a 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 28 6c 65 65 74 63 debug")).....(progn.......(leetc
10c0 6f 64 65 2d 2d 6c 6f 67 2d 73 65 74 2d 6c 65 76 65 6c 20 27 64 65 62 75 67 29 0a 20 20 20 20 20 ode--log-set-level.'debug)......
10e0 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6c 6f 67 2d 65 6e 61 62 6c 65 2d 64 65 62 75 67 67 69 6e 67 .(leetcode--log-enable-debugging
1100 29 0a 20 20 20 20 20 20 28 6d 65 73 73 61 67 65 20 22 6c 65 65 74 63 6f 64 65 20 65 6e 61 62 6c ).......(message."leetcode.enabl
1120 65 20 64 65 62 75 67 22 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 69 e.debug"))))..(defun.leetcode--i
1140 6e 73 74 61 6c 6c 2d 6d 79 2d 63 6f 6f 6b 69 65 20 28 29 0a 20 20 22 49 6e 73 74 61 6c 6c 20 6c nstall-my-cookie.()..."Install.l
1160 65 65 74 63 6f 64 65 20 64 65 70 65 6e 64 65 6e 63 69 65 73 2e 22 0a 20 20 28 6c 65 74 20 28 28 eetcode.dependencies."...(let.((
1180 61 73 79 6e 63 2d 73 68 65 6c 6c 2d 63 6f 6d 6d 61 6e 64 2d 64 69 73 70 6c 61 79 2d 62 75 66 66 async-shell-command-display-buff
11a0 65 72 20 74 29 0a 20 20 20 20 20 20 20 20 28 70 69 70 78 20 28 65 78 65 63 75 74 61 62 6c 65 2d er.t).........(pipx.(executable-
11c0 66 69 6e 64 20 22 70 69 70 78 22 29 29 0a 20 20 20 20 20 20 20 20 28 70 79 74 68 6f 6e 33 20 28 find."pipx")).........(python3.(
11e0 65 78 65 63 75 74 61 62 6c 65 2d 66 69 6e 64 20 22 70 79 74 68 6f 6e 33 22 29 29 0a 20 20 20 20 executable-find."python3")).....
1200 20 20 20 20 28 70 79 74 68 6f 6e 20 28 65 78 65 63 75 74 61 62 6c 65 2d 66 69 6e 64 20 22 70 79 ....(python.(executable-find."py
1220 74 68 6f 6e 22 29 29 29 0a 20 20 20 20 28 61 73 79 6e 63 2d 73 68 65 6c 6c 2d 63 6f 6d 6d 61 6e thon"))).....(async-shell-comman
1240 64 0a 20 20 20 20 20 28 69 66 20 70 69 70 78 0a 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 d......(if.pipx..........(format
1260 20 22 25 73 20 69 6e 73 74 61 6c 6c 20 6d 79 5f 63 6f 6f 6b 69 65 73 22 20 70 69 70 78 29 0a 20 ."%s.install.my_cookies".pipx)..
1280 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 20 2d 6d 20 76 65 6e 76 20 2d 2d 63 6c 65 61 ......(format."%s.-m.venv.--clea
12a0 72 20 25 73 20 26 26 20 25 73 2f 62 69 6e 2f 70 69 70 33 20 69 6e 73 74 61 6c 6c 20 6d 79 5f 63 r.%s.&&.%s/bin/pip3.install.my_c
12c0 6f 6f 6b 69 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6f 72 20 70 79 74 68 6f ookies"................(or.pytho
12e0 6e 33 20 70 79 74 68 6f 6e 20 22 70 79 74 68 6f 6e 22 29 20 3b 20 72 65 71 75 69 72 65 20 70 79 n3.python."python").;.require.py
1300 74 68 6f 6e 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 thon.environment................
1320 6c 65 65 74 63 6f 64 65 2d 70 79 74 68 6f 6e 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 6c 65 65 74 leetcode-python-environment.leet
1340 63 6f 64 65 2d 70 79 74 68 6f 6e 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 29 29 0a 20 20 20 20 20 28 code-python-environment))......(
1360 67 65 74 2d 62 75 66 66 65 72 2d 63 72 65 61 74 65 20 22 2a 6c 65 65 74 63 6f 64 65 2d 69 6e 73 get-buffer-create."*leetcode-ins
1380 74 61 6c 6c 2a 22 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 6d 79 2d tall*"))))..(defun.leetcode--my-
13a0 63 6f 6f 6b 69 65 73 2d 70 61 74 68 20 28 29 0a 20 20 22 46 69 6e 64 20 74 68 65 20 70 61 74 68 cookies-path.()..."Find.the.path
13c0 20 74 6f 20 74 68 65 20 6d 79 5f 63 6f 6f 6b 69 65 73 20 65 78 65 63 75 74 61 62 6c 65 2e 22 0a .to.the.my_cookies.executable.".
13e0 20 20 28 6f 72 20 28 65 78 65 63 75 74 61 62 6c 65 2d 66 69 6e 64 20 28 66 6f 72 6d 61 74 20 22 ..(or.(executable-find.(format."
1400 25 73 2f 62 69 6e 2f 6d 79 5f 63 6f 6f 6b 69 65 73 22 20 6c 65 65 74 63 6f 64 65 2d 70 79 74 68 %s/bin/my_cookies".leetcode-pyth
1420 6f 6e 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 29 29 0a 20 20 20 20 20 20 28 65 78 65 63 75 74 61 62 on-environment)).......(executab
1440 6c 65 2d 66 69 6e 64 20 22 6d 79 5f 63 6f 6f 6b 69 65 73 22 29 29 29 0a 0a 28 64 65 66 75 6e 20 le-find."my_cookies")))..(defun.
1460 6c 65 65 74 63 6f 64 65 2d 2d 63 68 65 63 6b 2d 64 65 70 73 20 28 29 0a 20 20 22 43 68 65 63 6b leetcode--check-deps.()..."Check
1480 20 69 66 20 61 6c 6c 20 64 65 70 65 6e 64 65 6e 63 69 65 73 20 69 6e 73 74 61 6c 6c 65 64 2e 22 .if.all.dependencies.installed."
14a0 0a 20 20 28 69 66 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6d 79 2d 63 6f 6f 6b 69 65 73 2d 70 61 74 ...(if.(leetcode--my-cookies-pat
14c0 68 29 0a 20 20 20 20 20 20 74 0a 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 69 6e 73 74 61 6c h).......t.....(leetcode--instal
14e0 6c 2d 6d 79 2d 63 6f 6f 6b 69 65 29 0a 20 20 20 20 6e 69 6c 29 29 0a 0a 28 64 65 66 67 72 6f 75 l-my-cookie).....nil))..(defgrou
1500 70 20 6c 65 65 74 63 6f 64 65 20 6e 69 6c 0a 20 20 22 41 20 4c 65 65 74 63 6f 64 65 20 63 6c 69 p.leetcode.nil..."A.Leetcode.cli
1520 65 6e 74 2e 22 0a 20 20 3a 70 72 65 66 69 78 20 27 6c 65 65 74 63 6f 64 65 2d 0a 20 20 3a 67 72 ent."...:prefix.'leetcode-...:gr
1540 6f 75 70 20 27 74 6f 6f 6c 73 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6c 65 65 74 63 6f 64 65 oup.'tools)..(defcustom.leetcode
1560 2d 70 72 65 66 65 72 2d 74 61 67 2d 64 69 73 70 6c 61 79 20 74 0a 20 20 22 57 68 65 74 68 65 72 -prefer-tag-display.t..."Whether
1580 20 74 6f 20 64 69 73 70 6c 61 79 20 74 61 67 73 20 62 79 20 64 65 66 61 75 6c 74 20 69 6e 20 74 .to.display.tags.by.default.in.t
15a0 68 65 20 2a 6c 65 65 74 63 6f 64 65 2a 20 62 75 66 66 65 72 2e 22 0a 20 20 3a 67 72 6f 75 70 20 he.*leetcode*.buffer."...:group.
15c0 27 6c 65 65 74 63 6f 64 65 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 0a 0a 28 64 65 'leetcode...:type.'boolean)..(de
15e0 66 63 75 73 74 6f 6d 20 6c 65 65 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 6c 61 6e 67 75 61 67 65 fcustom.leetcode-prefer-language
1600 20 22 70 79 74 68 6f 6e 33 22 0a 20 20 22 4c 65 65 74 43 6f 64 65 20 70 72 6f 67 72 61 6d 6d 69 ."python3"..."LeetCode.programmi
1620 6e 67 20 6c 61 6e 67 75 61 67 65 2e 0a 63 2c 20 63 70 70 2c 20 63 73 68 61 72 70 2c 20 67 6f 6c ng.language..c,.cpp,.csharp,.gol
1640 61 6e 67 2c 20 6a 61 76 61 2c 20 6a 61 76 61 73 63 72 69 70 74 2c 20 74 79 70 65 73 63 72 69 70 ang,.java,.javascript,.typescrip
1660 74 2c 20 6b 6f 74 6c 69 6e 2c 20 70 68 70 2c 20 70 79 74 68 6f 6e 2c 0a 70 79 74 68 6f 6e 33 2c t,.kotlin,.php,.python,.python3,
1680 20 72 75 62 79 2c 20 72 75 73 74 2c 20 73 63 61 6c 61 2c 20 73 77 69 66 74 2e 22 0a 20 20 3a 67 .ruby,.rust,.scala,.swift."...:g
16a0 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 0a 20 20 3a 74 79 70 65 20 27 73 74 72 69 6e 67 29 0a roup.'leetcode...:type.'string).
16c0 0a 28 64 65 66 63 75 73 74 6f 6d 20 6c 65 65 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 73 71 6c 20 .(defcustom.leetcode-prefer-sql.
16e0 22 6d 79 73 71 6c 22 0a 20 20 22 4c 65 65 74 43 6f 64 65 20 73 71 6c 20 69 6d 70 6c 65 6d 65 6e "mysql"..."LeetCode.sql.implemen
1700 74 61 74 69 6f 6e 2e 0a 6d 79 73 71 6c 2c 20 6d 73 73 71 6c 2c 20 6f 72 61 63 6c 65 73 71 6c 2e tation..mysql,.mssql,.oraclesql.
1720 22 0a 20 20 3a 67 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 0a 20 20 3a 74 79 70 65 20 27 73 74 "...:group.'leetcode...:type.'st
1740 72 69 6e 67 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6c 65 65 74 63 6f 64 65 2d 64 69 72 65 63 ring)..(defcustom.leetcode-direc
1760 74 6f 72 79 20 22 7e 2f 6c 65 65 74 63 6f 64 65 22 0a 20 20 22 44 69 72 65 63 74 6f 72 79 20 74 tory."~/leetcode"..."Directory.t
1780 6f 20 73 61 76 65 20 73 6f 6c 75 74 69 6f 6e 73 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6c 65 65 o.save.solutions."...:group.'lee
17a0 74 63 6f 64 65 0a 20 20 3a 74 79 70 65 20 27 73 74 72 69 6e 67 29 0a 0a 28 64 65 66 63 75 73 74 tcode...:type.'string)..(defcust
17c0 6f 6d 20 6c 65 65 74 63 6f 64 65 2d 73 61 76 65 2d 73 6f 6c 75 74 69 6f 6e 73 20 6e 69 6c 0a 20 om.leetcode-save-solutions.nil..
17e0 20 22 49 66 20 69 74 27 73 20 74 2c 20 73 61 76 65 20 6c 65 65 74 63 6f 64 65 20 73 6f 6c 75 74 ."If.it's.t,.save.leetcode.solut
1800 69 6f 6e 73 20 74 6f 20 60 6c 65 65 74 63 6f 64 65 2d 64 69 72 65 63 74 6f 72 79 27 2e 22 0a 20 ions.to.`leetcode-directory'."..
1820 20 3a 67 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 .:group.'leetcode...:type.'boole
1840 61 6e 29 0a 0a 28 64 65 66 63 75 73 74 6f 6d 20 6c 65 65 74 63 6f 64 65 2d 66 6f 63 75 73 20 74 an)..(defcustom.leetcode-focus.t
1860 0a 20 20 22 57 68 65 6e 20 65 78 65 63 75 74 65 20 60 6c 65 65 74 63 6f 64 65 27 2c 20 61 6c 77 ..."When.execute.`leetcode',.alw
1880 61 79 73 20 64 65 6c 65 74 65 20 6f 74 68 65 72 20 77 69 6e 64 6f 77 73 2e 22 0a 20 20 3a 67 72 ays.delete.other.windows."...:gr
18a0 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 0a 20 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 0a oup.'leetcode...:type.'boolean).
18c0 0a 28 64 65 66 63 75 73 74 6f 6d 20 6c 65 65 74 63 6f 64 65 2d 70 79 74 68 6f 6e 2d 65 6e 76 69 .(defcustom.leetcode-python-envi
18e0 72 6f 6e 6d 65 6e 74 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 63 6f 6e 63 61 74 20 75 73 65 72 2d 65 ronment.(file-name-concat.user-e
1900 6d 61 63 73 2d 64 69 72 65 63 74 6f 72 79 20 22 6c 65 65 74 63 6f 64 65 2d 65 6e 76 22 29 0a 20 macs-directory."leetcode-env")..
1920 20 22 54 68 65 20 70 61 74 68 20 74 6f 20 74 68 65 20 69 73 6f 6c 61 74 65 64 20 70 79 74 68 6f ."The.path.to.the.isolated.pytho
1940 6e 20 76 69 72 74 75 61 6c 2d 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 74 6f 20 75 73 65 2e 22 0a 20 n.virtual-environment.to.use."..
1960 20 3a 67 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 0a 20 20 3a 74 79 70 65 20 27 64 69 72 65 63 .:group.'leetcode...:type.'direc
1980 74 6f 72 79 29 0a 0a 28 63 6c 2d 64 65 66 73 74 72 75 63 74 20 6c 65 65 74 63 6f 64 65 2d 75 73 tory)..(cl-defstruct.leetcode-us
19a0 65 72 0a 20 20 22 41 20 4c 65 65 74 43 6f 64 65 20 55 73 65 72 2e 0a 54 68 65 20 6f 62 6a 65 63 er..."A.LeetCode.User..The.objec
19c0 74 20 77 69 74 68 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 74 74 72 69 62 75 74 65 73 3a 0a 3a 75 73 t.with.following.attributes:.:us
19e0 65 72 6e 61 6d 65 20 20 20 53 74 72 69 6e 67 0a 3a 69 64 20 20 20 20 20 20 20 20 20 49 6e 74 0a ername...String.:id.........Int.
1a00 3a 69 73 2d 70 72 65 6d 69 75 6d 20 42 6f 6f 6c 65 61 6e 20 7b 74 7c 6e 69 6c 7d 22 0a 20 20 75 :is-premium.Boolean.{t|nil}"...u
1a20 73 65 72 6e 61 6d 65 20 69 64 20 69 73 2d 70 72 65 6d 69 75 6d 29 0a 0a 28 63 6c 2d 64 65 66 73 sername.id.is-premium)..(cl-defs
1a40 74 72 75 63 74 20 6c 65 65 74 63 6f 64 65 2d 73 6e 69 70 70 65 74 0a 20 20 22 41 20 63 6f 64 65 truct.leetcode-snippet..."A.code
1a60 20 73 6e 69 70 70 65 74 2e 0a 3a 6c 61 6e 67 20 53 74 72 69 6e 67 0a 3a 6c 61 6e 67 2d 73 6c 75 .snippet..:lang.String.:lang-slu
1a80 67 20 53 74 72 69 6e 67 0a 3a 63 6f 64 65 20 53 74 72 69 6e 67 0a 0a 57 65 20 6e 65 65 64 20 62 g.String.:code.String..We.need.b
1aa0 6f 74 68 20 3a 6c 61 6e 67 20 61 6e 64 20 3a 6c 61 6e 67 2d 73 6c 75 67 2c 20 62 65 63 61 75 73 oth.:lang.and.:lang-slug,.becaus
1ac0 65 20 73 6f 6d 65 20 70 72 6f 67 72 61 6d 6d 69 6e 67 0a 6c 61 6e 67 75 61 67 65 73 20 6e 61 6d e.some.programming.languages.nam
1ae0 65 20 63 6f 6e 76 65 72 73 69 6f 6e 20 69 73 20 6e 6f 74 20 27 61 2d 62 2d 63 27 20 3c 3d 3e 20 e.conversion.is.not.'a-b-c'.<=>.
1b00 27 61 42 43 27 2e 0a 0a 46 6f 72 20 65 78 61 6d 70 6c 65 3a 20 3a 6c 61 6e 67 20 27 43 2b 2b 27 'aBC'...For.example:.:lang.'C++'
1b20 20 61 6e 64 20 3a 6c 61 6e 67 2d 73 6c 75 67 20 27 63 70 70 27 2c 20 3a 6c 61 6e 67 20 27 43 23 .and.:lang-slug.'cpp',.:lang.'C#
1b40 27 20 61 6e 64 0a 3a 6c 61 6e 67 2d 73 6c 75 67 20 27 63 73 68 61 72 70 27 2e 22 0a 20 20 6c 61 '.and.:lang-slug.'csharp'."...la
1b60 6e 67 20 6c 61 6e 67 2d 73 6c 75 67 20 63 6f 64 65 29 0a 0a 28 63 6c 2d 64 65 66 73 74 72 75 63 ng.lang-slug.code)..(cl-defstruc
1b80 74 20 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 0a 20 20 22 41 20 73 69 6e 67 6c 65 20 4c t.leetcode-problem..."A.single.L
1ba0 65 65 74 43 6f 64 65 20 70 72 6f 62 6c 65 6d 2e 0a 3a 73 74 61 74 75 73 20 20 20 20 20 53 74 72 eetCode.problem..:status.....Str
1bc0 69 6e 67 0a 3a 69 64 20 20 20 20 20 20 20 20 20 53 74 72 69 6e 67 0a 3a 62 61 63 6b 65 6e 64 2d ing.:id.........String.:backend-
1be0 69 64 20 53 74 72 69 6e 67 0a 3a 74 69 74 6c 65 20 20 20 20 20 20 53 74 72 69 6e 67 0a 3a 74 69 id.String.:title......String.:ti
1c00 74 6c 65 2d 73 6c 75 67 20 53 74 72 69 6e 67 0a 3a 61 63 63 65 70 74 61 6e 63 65 20 53 74 72 69 tle-slug.String.:acceptance.Stri
1c20 6e 67 0a 3a 64 69 66 66 69 63 75 6c 74 79 20 53 74 72 69 6e 67 20 7b 45 61 73 79 2c 4d 65 64 69 ng.:difficulty.String.{Easy,Medi
1c40 75 6d 2c 48 61 72 64 7d 0a 3a 70 61 69 64 2d 6f 6e 6c 79 20 20 42 6f 6f 6c 65 61 6e 20 7b 74 7c um,Hard}.:paid-only..Boolean.{t|
1c60 6e 69 6c 7d 0a 3a 6c 69 6b 65 73 20 20 20 20 20 20 4e 75 6d 62 65 72 0a 3a 64 69 73 6c 69 6b 65 nil}.:likes......Number.:dislike
1c80 73 20 20 20 4e 75 6d 62 65 72 0a 3a 74 61 67 73 20 20 20 20 20 20 20 4c 69 73 74 0a 3a 63 6f 6e s...Number.:tags.......List.:con
1ca0 74 65 6e 74 20 20 20 20 53 74 72 69 6e 67 0a 3a 73 6e 69 70 70 65 74 73 20 20 20 4c 69 73 74 20 tent....String.:snippets...List.
1cc0 7b 6c 65 65 74 63 6f 64 65 2d 73 6e 69 70 70 65 74 7d 0a 3a 74 65 73 74 63 61 73 65 73 20 20 4c {leetcode-snippet}.:testcases..L
1ce0 69 73 74 20 7b 53 74 72 69 6e 67 7d 0a 0a 27 69 64 27 20 69 73 20 66 72 6f 6e 74 65 6e 64 20 69 ist.{String}..'id'.is.frontend.i
1d00 64 20 69 6e 20 4c 65 65 74 43 6f 64 65 2e 20 57 65 20 61 6c 6d 6f 73 74 20 61 6c 77 61 79 73 20 d.in.LeetCode..We.almost.always.
1d20 75 73 65 20 66 72 6f 6e 74 65 6e 64 20 69 64 0a 69 6e 20 27 6c 65 65 74 63 6f 64 65 2e 65 6c 27 use.frontend.id.in.'leetcode.el'
1d40 2e 22 0a 20 20 73 74 61 74 75 73 20 69 64 20 62 61 63 6b 65 6e 64 2d 69 64 20 74 69 74 6c 65 20 ."...status.id.backend-id.title.
1d60 74 69 74 6c 65 2d 73 6c 75 67 20 61 63 63 65 70 74 61 6e 63 65 0a 20 20 64 69 66 66 69 63 75 6c title-slug.acceptance...difficul
1d80 74 79 20 70 61 69 64 2d 6f 6e 6c 79 20 6c 69 6b 65 73 20 64 69 73 6c 69 6b 65 73 20 74 61 67 73 ty.paid-only.likes.dislikes.tags
1da0 20 63 6f 6e 74 65 6e 74 0a 20 20 73 6e 69 70 70 65 74 73 20 74 65 73 74 63 61 73 65 73 29 0a 0a .content...snippets.testcases)..
1dc0 28 63 6c 2d 64 65 66 73 74 72 75 63 74 20 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 73 0a (cl-defstruct.leetcode-problems.
1de0 20 20 22 41 6c 6c 20 4c 65 65 74 43 6f 64 65 20 70 72 6f 62 6c 65 6d 73 2c 20 74 68 65 20 70 72 .."All.LeetCode.problems,.the.pr
1e00 6f 62 6c 65 6d 73 20 63 61 6e 20 66 69 6c 74 65 72 65 64 20 62 79 20 74 61 67 2e 0a 3a 6e 75 6d oblems.can.filtered.by.tag..:num
1e20 20 20 20 20 20 20 4e 75 6d 62 65 72 0a 3a 74 61 67 20 20 20 20 20 20 53 74 72 69 6e 67 0a 3a 70 ......Number.:tag......String.:p
1e40 72 6f 62 6c 65 6d 73 20 4c 69 73 74 5b 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 5d roblems.List[leetcode--problems]
1e60 22 0a 20 20 6e 75 6d 20 74 61 67 20 70 72 6f 62 6c 65 6d 73 29 0a 0a 28 64 65 66 76 61 72 20 6c "...num.tag.problems)..(defvar.l
1e80 65 65 74 63 6f 64 65 2d 2d 75 73 65 72 20 28 6d 61 6b 65 2d 6c 65 65 74 63 6f 64 65 2d 75 73 65 eetcode--user.(make-leetcode-use
1ea0 72 29 0a 20 20 22 41 20 55 73 65 72 20 6f 62 6a 65 63 74 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 r)..."A.User.object.")..(defvar.
1ec0 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 20 28 6d 61 6b 65 2d 6c 65 65 74 63 6f 64 leetcode--problems.(make-leetcod
1ee0 65 2d 70 72 6f 62 6c 65 6d 73 29 0a 20 20 22 50 72 6f 62 6c 65 6d 73 20 6f 62 6a 65 63 74 20 77 e-problems)..."Problems.object.w
1f00 69 74 68 20 61 20 6c 69 73 74 20 6f 66 20 60 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 27 ith.a.list.of.`leetcode-problem'
1f20 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 61 6c 6c 2d 74 61 67 73 20 .")..(defvar.leetcode--all-tags.
1f40 6e 69 6c 0a 20 20 22 41 6c 6c 20 70 72 6f 62 6c 65 6d 73 20 74 61 67 73 2e 22 29 0a 0a 28 64 65 nil..."All.problems.tags.")..(de
1f60 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 73 20 6e 69 fvar.leetcode--problem-titles.ni
1f80 6c 0a 20 20 22 50 72 6f 62 6c 65 6d 20 74 69 74 6c 65 73 20 74 68 61 74 20 68 61 76 65 20 62 65 l..."Problem.titles.that.have.be
1fa0 65 6e 20 6f 70 65 6e 20 69 6e 20 73 6f 6c 76 69 6e 67 20 6c 61 79 6f 75 74 2e 22 29 0a 0a 28 64 en.open.in.solving.layout.")..(d
1fc0 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 74 61 67 73 20 6c 65 65 efvar.leetcode--display-tags.lee
1fe0 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 74 61 67 2d 64 69 73 70 6c 61 79 0a 20 20 22 28 49 6e 74 tcode-prefer-tag-display..."(Int
2000 65 72 6e 61 6c 29 20 57 68 65 74 68 65 72 20 74 61 67 73 20 61 72 65 20 64 69 73 70 6c 61 79 65 ernal).Whether.tags.are.displaye
2020 64 20 74 68 65 20 2a 6c 65 65 74 63 6f 64 65 2a 20 62 75 66 66 65 72 2e 22 29 0a 0a 28 64 65 66 d.the.*leetcode*.buffer.")..(def
2040 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 70 61 69 64 20 6e 69 6c 0a 20 var.leetcode--display-paid.nil..
2060 20 22 28 49 6e 74 65 72 6e 61 6c 29 20 57 68 65 74 68 65 72 20 70 61 69 64 20 70 72 6f 62 6c 65 ."(Internal).Whether.paid.proble
2080 6d 73 20 61 72 65 20 64 69 73 70 6c 61 79 65 64 20 74 68 65 20 2a 6c 65 65 74 63 6f 64 65 2a 20 ms.are.displayed.the.*leetcode*.
20a0 62 75 66 66 65 72 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e buffer.")..(defvar.leetcode--lan
20c0 67 20 6c 65 65 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 6c 61 6e 67 75 61 67 65 0a 20 20 22 4c 65 g.leetcode-prefer-language..."Le
20e0 65 74 43 6f 64 65 20 70 72 6f 67 72 61 6d 6d 69 6e 67 20 6c 61 6e 67 75 61 67 65 20 6f 72 20 73 etCode.programming.language.or.s
2100 71 6c 20 66 6f 72 20 63 75 72 72 65 6e 74 20 70 72 6f 62 6c 65 6d 20 69 6e 74 65 72 6e 61 6c 6c ql.for.current.problem.internall
2120 79 2e 0a 44 65 66 61 75 6c 74 20 69 73 20 70 72 6f 67 72 61 6d 6d 69 6e 67 20 6c 61 6e 67 75 61 y..Default.is.programming.langua
2140 67 65 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 64 65 73 63 72 69 70 ge.")..(defvar.leetcode--descrip
2160 74 69 6f 6e 2d 77 69 6e 64 6f 77 20 6e 69 6c 0a 20 20 22 28 49 6e 74 65 72 6e 61 6c 29 20 48 6f tion-window.nil..."(Internal).Ho
2180 6c 64 73 20 74 68 65 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 64 65 73 63 72 69 70 74 69 6f 6e lds.the.reference.to.description
21a0 20 77 69 6e 64 6f 77 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 74 65 .window.")..(defvar.leetcode--te
21c0 73 74 63 61 73 65 2d 77 69 6e 64 6f 77 20 6e 69 6c 0a 20 20 22 28 49 6e 74 65 72 6e 61 6c 29 20 stcase-window.nil..."(Internal).
21e0 48 6f 6c 64 73 20 74 68 65 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 74 65 73 74 63 61 73 65 20 Holds.the.reference.to.testcase.
2200 77 69 6e 64 6f 77 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 72 65 73 window.")..(defvar.leetcode--res
2220 75 6c 74 2d 77 69 6e 64 6f 77 20 6e 69 6c 0a 20 20 22 28 49 6e 74 65 72 6e 61 6c 29 20 48 6f 6c ult-window.nil..."(Internal).Hol
2240 64 73 20 74 68 65 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 72 65 73 75 6c 74 20 77 69 6e 64 6f ds.the.reference.to.result.windo
2260 77 2e 22 29 0a 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 2d 73 w.")..(defconst.leetcode--lang-s
2280 75 66 66 69 78 65 73 0a 20 20 27 28 28 22 63 22 20 2e 20 22 2e 63 22 29 20 28 22 63 70 70 22 20 uffixes...'(("c"...".c").("cpp".
22a0 2e 20 22 2e 63 70 70 22 29 20 28 22 63 73 68 61 72 70 22 20 2e 20 22 2e 63 73 22 29 0a 20 20 20 ..".cpp").("csharp"...".cs")....
22c0 20 28 22 64 61 72 74 22 20 2e 20 22 2e 64 61 72 74 22 29 20 28 22 65 6c 69 78 69 72 22 20 2e 20 .("dart"...".dart").("elixir"...
22e0 22 2e 65 78 22 29 20 28 22 65 72 6c 61 6e 67 22 20 2e 20 22 2e 65 72 6c 22 29 0a 20 20 20 20 28 ".ex").("erlang"...".erl").....(
2300 22 67 6f 6c 61 6e 67 22 20 2e 20 22 2e 67 6f 22 29 20 28 22 6a 61 76 61 22 20 2e 20 22 2e 6a 61 "golang"...".go").("java"...".ja
2320 76 61 22 29 20 28 22 6a 61 76 61 73 63 72 69 70 74 22 20 2e 20 22 2e 6a 73 22 29 0a 20 20 20 20 va").("javascript"...".js").....
2340 28 22 6b 6f 74 6c 69 6e 22 20 2e 20 22 2e 6b 74 22 29 20 28 22 70 68 70 22 20 2e 20 22 2e 70 68 ("kotlin"...".kt").("php"...".ph
2360 70 22 29 20 28 22 70 79 74 68 6f 6e 22 20 2e 20 22 2e 70 79 22 29 20 28 22 70 79 74 68 6f 6e 33 p").("python"...".py").("python3
2380 22 20 2e 20 22 2e 70 79 22 29 0a 20 20 20 20 28 22 72 61 63 6b 65 74 22 20 2e 20 22 2e 72 6b 74 "...".py").....("racket"...".rkt
23a0 22 29 20 28 22 72 75 62 79 22 20 2e 20 22 2e 72 62 22 29 20 28 22 72 75 73 74 22 20 2e 20 22 2e ").("ruby"...".rb").("rust"...".
23c0 72 73 22 29 0a 20 20 20 20 28 22 73 63 61 6c 61 22 20 2e 20 22 2e 73 63 61 6c 61 22 29 20 28 22 rs").....("scala"...".scala").("
23e0 73 77 69 66 74 22 20 2e 20 22 2e 73 77 69 66 74 22 29 20 28 22 74 79 70 65 73 63 72 69 70 74 22 swift"...".swift").("typescript"
2400 20 2e 20 22 2e 74 73 22 29 0a 20 20 20 20 28 22 6d 79 73 71 6c 22 20 2e 20 22 2e 73 71 6c 22 29 ...".ts").....("mysql"...".sql")
2420 20 28 22 6d 73 73 71 6c 22 20 2e 20 22 2e 73 71 6c 22 29 20 28 22 6f 72 61 63 6c 65 73 71 6c 22 .("mssql"...".sql").("oraclesql"
2440 20 2e 20 22 2e 73 71 6c 22 29 29 0a 20 20 22 41 20 6d 61 70 20 6f 66 20 6c 61 6e 67 75 61 67 65 ...".sql"))..."A.map.of.language
2460 20 73 6c 75 67 20 6e 61 6d 65 20 74 6f 20 4c 65 65 74 43 6f 64 65 20 70 72 6f 67 72 61 6d 6d 69 .slug.name.to.LeetCode.programmi
2480 6e 67 20 6c 61 6e 67 75 61 67 65 20 73 75 66 66 69 78 2e 0a 63 2c 20 63 70 70 2c 20 63 73 68 61 ng.language.suffix..c,.cpp,.csha
24a0 72 70 2c 20 67 6f 6c 61 6e 67 2c 20 6a 61 76 61 2c 20 6a 61 76 61 73 63 72 69 70 74 2c 20 74 79 rp,.golang,.java,.javascript,.ty
24c0 70 65 73 63 72 69 70 74 2c 20 6b 6f 74 6c 69 6e 2c 20 70 68 70 2c 20 70 79 74 68 6f 6e 2c 0a 70 pescript,.kotlin,.php,.python,.p
24e0 79 74 68 6f 6e 33 2c 20 72 75 62 79 2c 20 72 75 73 74 2c 20 73 63 61 6c 61 2c 20 73 77 69 66 74 ython3,.ruby,.rust,.scala,.swift
2500 2c 20 6d 79 73 71 6c 2c 20 6d 73 73 71 6c 2c 20 6f 72 61 63 6c 65 73 71 6c 2e 22 29 0a 0a 28 64 ,.mysql,.mssql,.oraclesql.")..(d
2520 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 64 65 2d 73 74 61 72 74 20 22 2f 2f efconst.leetcode--code-start."//
2540 20 63 6f 64 65 5f 73 74 61 72 74 22 0a 20 20 22 43 6f 64 65 20 73 74 61 72 74 20 6d 61 72 6b 20 .code_start"..."Code.start.mark.
2560 69 6e 20 4c 65 65 74 43 6f 64 65 20 64 65 73 63 72 69 70 74 69 6f 6e 2e 22 29 0a 28 64 65 66 63 in.LeetCode.description.").(defc
2580 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 64 65 2d 65 6e 64 20 22 2f 2f 20 63 6f 64 65 onst.leetcode--code-end."//.code
25a0 5f 65 6e 64 22 0a 20 20 22 43 6f 64 65 20 65 6e 64 20 6d 61 72 6b 20 69 6e 20 4c 65 65 74 43 6f _end"..."Code.end.mark.in.LeetCo
25c0 64 65 20 64 65 73 63 72 69 70 74 69 6f 6e 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 de.description.")..(defvar.leetc
25e0 6f 64 65 2d 2d 66 69 6c 74 65 72 2d 72 65 67 65 78 20 6e 69 6c 20 22 46 69 6c 74 65 72 20 72 6f ode--filter-regex.nil."Filter.ro
2600 77 73 20 62 79 20 72 65 67 65 78 2e 22 29 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d ws.by.regex.").(defvar.leetcode-
2620 2d 66 69 6c 74 65 72 2d 74 61 67 20 6e 69 6c 20 22 46 69 6c 74 65 72 20 72 6f 77 73 20 62 79 20 -filter-tag.nil."Filter.rows.by.
2640 74 61 67 2e 22 29 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 2d tag.").(defvar.leetcode--filter-
2660 64 69 66 66 69 63 75 6c 74 79 20 6e 69 6c 0a 20 20 22 46 69 6c 74 65 72 20 72 6f 77 73 20 62 79 difficulty.nil..."Filter.rows.by
2680 20 64 69 66 66 69 63 75 6c 74 79 2c 20 69 74 20 63 61 6e 20 62 65 20 5c 22 65 61 73 79 5c 22 2c .difficulty,.it.can.be.\"easy\",
26a0 20 5c 22 6d 65 64 69 75 6d 5c 22 20 61 6e 64 20 5c 22 68 61 72 64 5c 22 2e 22 29 0a 0a 28 64 65 .\"medium\".and.\"hard\".")..(de
26c0 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 61 6c 6c 2d 64 69 66 66 69 63 75 6c 74 69 65 fconst.leetcode--all-difficultie
26e0 73 20 27 28 22 45 61 73 79 22 20 22 4d 65 64 69 75 6d 22 20 22 48 61 72 64 22 29 29 0a 28 64 65 s.'("Easy"."Medium"."Hard")).(de
2700 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 70 61 69 64 20 22 e2 80 a2 22 20 22 50 61 69 fconst.leetcode--paid."..."."Pai
2720 64 20 6d 61 72 6b 2e 22 29 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 63 68 d.mark.").(defconst.leetcode--ch
2740 65 63 6b 6d 61 72 6b 20 22 e2 9c 93 22 20 22 43 68 65 63 6b 6d 61 72 6b 20 66 6f 72 20 61 63 63 eckmark."..."."Checkmark.for.acc
2760 65 70 74 65 64 20 70 72 6f 62 6c 65 6d 2e 22 29 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 epted.problem.").(defconst.leetc
2780 6f 64 65 2d 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2a 6c ode--buffer-name............."*l
27a0 65 65 74 63 6f 64 65 2a 22 29 0a 0a 28 64 65 66 66 61 63 65 20 6c 65 65 74 63 6f 64 65 2d 70 61 eetcode*")..(defface.leetcode-pa
27c0 69 64 2d 66 61 63 65 0a 20 20 27 28 28 74 20 28 3a 66 6f 72 65 67 72 6f 75 6e 64 20 22 67 6f 6c id-face...'((t.(:foreground."gol
27e0 64 22 29 29 29 0a 20 20 22 46 61 63 65 20 66 6f 72 20 60 6c 65 65 74 63 6f 64 65 2d 2d 70 61 69 d")))..."Face.for.`leetcode--pai
2800 64 27 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 29 0a 0a 28 64 65 66 66 61 d'."...:group.'leetcode)..(deffa
2820 63 65 20 6c 65 65 74 63 6f 64 65 2d 63 68 65 63 6b 6d 61 72 6b 2d 66 61 63 65 0a 20 20 27 28 28 ce.leetcode-checkmark-face...'((
2840 74 20 28 3a 66 6f 72 65 67 72 6f 75 6e 64 20 22 23 35 43 42 38 35 43 22 29 29 29 0a 20 20 22 46 t.(:foreground."#5CB85C")))..."F
2860 61 63 65 20 66 6f 72 20 60 6c 65 65 74 63 6f 64 65 2d 2d 63 68 65 63 6b 6d 61 72 6b 27 2e 22 0a ace.for.`leetcode--checkmark'.".
2880 20 20 3a 67 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 29 0a 0a 28 64 65 66 66 61 63 65 20 6c 65 ..:group.'leetcode)..(defface.le
28a0 65 74 63 6f 64 65 2d 65 61 73 79 2d 66 61 63 65 0a 20 20 27 28 28 74 20 28 3a 66 6f 72 65 67 72 etcode-easy-face...'((t.(:foregr
28c0 6f 75 6e 64 20 22 23 35 43 42 38 35 43 22 29 29 29 0a 20 20 22 46 61 63 65 20 66 6f 72 20 65 61 ound."#5CB85C")))..."Face.for.ea
28e0 73 79 20 70 72 6f 62 6c 65 6d 73 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 sy.problems."...:group.'leetcode
2900 29 0a 0a 28 64 65 66 66 61 63 65 20 6c 65 65 74 63 6f 64 65 2d 6d 65 64 69 75 6d 2d 66 61 63 65 )..(defface.leetcode-medium-face
2920 0a 20 20 27 28 28 74 20 28 3a 66 6f 72 65 67 72 6f 75 6e 64 20 22 23 46 30 41 44 34 45 22 29 29 ...'((t.(:foreground."#F0AD4E"))
2940 29 0a 20 20 22 46 61 63 65 20 66 6f 72 20 6d 65 64 69 75 6d 20 70 72 6f 62 6c 65 6d 73 2e 22 0a )..."Face.for.medium.problems.".
2960 20 20 3a 67 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 29 0a 0a 28 64 65 66 66 61 63 65 20 6c 65 ..:group.'leetcode)..(defface.le
2980 65 74 63 6f 64 65 2d 68 61 72 64 2d 66 61 63 65 0a 20 20 27 28 28 74 20 28 3a 66 6f 72 65 67 72 etcode-hard-face...'((t.(:foregr
29a0 6f 75 6e 64 20 22 23 44 39 35 33 34 45 22 29 29 29 0a 20 20 22 46 61 63 65 20 66 6f 72 20 68 61 ound."#D9534E")))..."Face.for.ha
29c0 72 64 20 70 72 6f 62 6c 65 6d 73 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 rd.problems."...:group.'leetcode
29e0 29 0a 0a 28 64 65 66 66 61 63 65 20 6c 65 65 74 63 6f 64 65 2d 61 63 63 65 70 74 65 64 2d 66 61 )..(defface.leetcode-accepted-fa
2a00 63 65 0a 20 20 27 28 28 74 20 28 3a 66 6f 72 65 67 72 6f 75 6e 64 20 22 23 32 32 38 62 32 32 22 ce...'((t.(:foreground."#228b22"
2a20 29 29 29 0a 20 20 22 46 61 63 65 20 66 6f 72 20 73 75 62 6d 69 73 73 69 6f 6e 20 61 63 63 65 70 )))..."Face.for.submission.accep
2a40 74 65 64 2e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 29 0a 0a 28 64 65 66 66 ted."...:group.'leetcode)..(deff
2a60 61 63 65 20 6c 65 65 74 63 6f 64 65 2d 65 72 72 6f 72 2d 66 61 63 65 0a 20 20 27 28 28 74 20 28 ace.leetcode-error-face...'((t.(
2a80 3a 66 6f 72 65 67 72 6f 75 6e 64 20 22 23 64 63 31 34 33 63 22 29 29 29 0a 20 20 22 46 61 63 65 :foreground."#dc143c")))..."Face
2aa0 20 66 6f 72 20 73 75 62 6d 69 73 73 69 6f 6e 20 63 6f 6d 70 69 6c 65 20 65 72 72 6f 72 2c 20 72 .for.submission.compile.error,.r
2ac0 75 6e 74 69 6d 65 20 65 72 72 6f 72 20 61 6e 64 20 54 4c 45 2e 22 0a 20 20 3a 67 72 6f 75 70 20 untime.error.and.TLE."...:group.
2ae0 27 6c 65 65 74 63 6f 64 65 29 0a 0a 3b 3b 3b 20 4c 6f 67 69 6e 0a 3b 3b 20 55 52 4c 0a 28 64 65 'leetcode)..;;;.Login.;;.URL.(de
2b00 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 64 6f 6d 61 69 6e 20 20 20 20 22 6c 65 65 74 fconst.leetcode--domain...."leet
2b20 63 6f 64 65 2e 63 6f 6d 22 29 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 code.com").(defconst.leetcode--u
2b40 72 6c 2d 62 61 73 65 20 20 22 68 74 74 70 73 3a 2f 2f 6c 65 65 74 63 6f 64 65 2e 63 6f 6d 22 29 rl-base.."https://leetcode.com")
2b60 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 6c 6f 67 69 6e 20 28 .(defconst.leetcode--url-login.(
2b80 63 6f 6e 63 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 62 61 73 65 20 22 2f 61 63 63 6f concat.leetcode--url-base."/acco
2ba0 75 6e 74 73 2f 6c 6f 67 69 6e 22 29 29 0a 0a 3b 3b 20 43 6f 6f 6b 69 65 20 6b 65 79 20 6e 61 6d unts/login"))..;;.Cookie.key.nam
2bc0 65 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 6f 6b 69 65 2d 63 73 72 e.(defconst.leetcode--cookie-csr
2be0 66 74 6f 6b 65 6e 20 22 63 73 72 66 74 6f 6b 65 6e 22 29 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 ftoken."csrftoken").(defconst.le
2c00 65 74 63 6f 64 65 2d 2d 63 6f 6f 6b 69 65 2d 73 65 73 73 69 6f 6e 20 22 4c 45 45 54 43 4f 44 45 etcode--cookie-session."LEETCODE
2c20 5f 53 45 53 53 49 4f 4e 22 29 0a 0a 3b 3b 20 48 65 61 64 65 72 0a 28 64 65 66 63 6f 6e 73 74 20 _SESSION")..;;.Header.(defconst.
2c40 6c 65 65 74 63 6f 64 65 2d 2d 55 73 65 72 2d 41 67 65 6e 74 20 20 20 20 20 20 20 27 28 22 55 73 leetcode--User-Agent.......'("Us
2c60 65 72 2d 41 67 65 6e 74 22 20 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 er-Agent".......................
2c80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 4d 6f 7a 69 6c 6c 61 2f 35 2e 30 20 ..................."Mozilla/5.0.
2ca0 28 4d 61 63 69 6e 74 6f 73 68 3b 20 49 6e 74 65 6c 20 4d 61 63 20 4f 53 20 58 20 31 30 2e 31 32 (Macintosh;.Intel.Mac.OS.X.10.12
2cc0 3b 20 72 76 3a 36 36 2e 30 29 20 47 65 63 6b 6f 2f 32 30 31 30 30 31 30 31 20 46 69 72 65 66 6f ;.rv:66.0).Gecko/20100101.Firefo
2ce0 78 2f 36 36 2e 30 22 29 29 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 58 2d x/66.0")).(defconst.leetcode--X-
2d00 52 65 71 75 65 73 74 65 64 2d 57 69 74 68 20 27 28 22 58 2d 52 65 71 75 65 73 74 65 64 2d 57 69 Requested-With.'("X-Requested-Wi
2d20 74 68 22 20 2e 20 22 58 4d 4c 48 74 74 70 52 65 71 75 65 73 74 22 29 29 0a 28 64 65 66 63 6f 6e th"..."XMLHttpRequest")).(defcon
2d40 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 58 2d 43 53 52 46 54 6f 6b 65 6e 20 20 20 20 20 20 22 58 st.leetcode--X-CSRFToken......"X
2d60 2d 43 53 52 46 54 6f 6b 65 6e 22 29 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d -CSRFToken").(defconst.leetcode-
2d80 2d 43 6f 6e 74 65 6e 74 2d 54 79 70 65 20 20 20 20 20 27 28 22 43 6f 6e 74 65 6e 74 2d 54 79 70 -Content-Type.....'("Content-Typ
2da0 65 22 20 2e 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 22 29 29 0a 0a 3b 3b 20 41 50 e"..."application/json"))..;;.AP
2dc0 49 20 55 52 4c 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 61 70 I.URL.(defconst.leetcode--url-ap
2de0 69 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 6c 65 65 74 63 6f i.................(concat.leetco
2e00 64 65 2d 2d 75 72 6c 2d 62 61 73 65 20 22 2f 61 70 69 22 29 29 0a 28 64 65 66 63 6f 6e 73 74 20 de--url-base."/api")).(defconst.
2e20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 67 72 61 70 68 71 6c 20 20 20 20 20 20 20 20 20 20 20 leetcode--url-graphql...........
2e40 20 20 28 63 6f 6e 63 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 62 61 73 65 20 22 2f 67 ..(concat.leetcode--url-base."/g
2e60 72 61 70 68 71 6c 22 29 29 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 raphql")).(defconst.leetcode--ur
2e80 6c 2d 61 6c 6c 2d 70 72 6f 62 6c 65 6d 73 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 6c 65 l-all-problems........(concat.le
2ea0 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 61 70 69 20 22 2f 70 72 6f 62 6c 65 6d 73 2f 61 6c 6c 2f 22 etcode--url-api."/problems/all/"
2ec0 29 29 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 61 6c 6c 2d 74 )).(defconst.leetcode--url-all-t
2ee0 61 67 73 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 6c 65 65 74 63 6f 64 65 2d ags............(concat.leetcode-
2f00 2d 75 72 6c 2d 62 61 73 65 20 22 2f 70 72 6f 62 6c 65 6d 73 2f 61 70 69 2f 74 61 67 73 22 29 29 -url-base."/problems/api/tags"))
2f20 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 64 61 69 6c 79 2d 63 .(defconst.leetcode--url-daily-c
2f40 68 61 6c 6c 65 6e 67 65 0a 20 20 28 63 6f 6e 63 61 74 0a 20 20 20 22 71 75 65 72 79 20 71 75 65 hallenge...(concat...."query.que
2f60 73 74 69 6f 6e 4f 66 54 6f 64 61 79 20 7b 20 61 63 74 69 76 65 44 61 69 6c 79 43 6f 64 69 6e 67 stionOfToday.{.activeDailyCoding
2f80 43 68 61 6c 6c 65 6e 67 65 51 75 65 73 74 69 6f 6e 20 7b 22 0a 20 20 20 22 20 6c 69 6e 6b 20 71 ChallengeQuestion.{"....".link.q
2fa0 75 65 73 74 69 6f 6e 20 7b 20 73 74 61 74 75 73 20 74 69 74 6c 65 20 74 69 74 6c 65 53 6c 75 67 uestion.{.status.title.titleSlug
2fc0 20 71 69 64 3a 20 71 75 65 73 74 69 6f 6e 46 72 6f 6e 74 65 6e 64 49 64 20 7d 20 7d 20 7d 22 29 .qid:.questionFrontendId.}.}.}")
2fe0 29 0a 3b 3b 20 73 75 62 6d 69 74 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d ).;;.submit.(defconst.leetcode--
3000 75 72 6c 2d 73 75 62 6d 69 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 url-submit..............(concat.
3020 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 62 61 73 65 20 22 2f 70 72 6f 62 6c 65 6d 73 2f 25 73 leetcode--url-base."/problems/%s
3040 2f 73 75 62 6d 69 74 2f 22 29 29 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d /submit/")).(defconst.leetcode--
3060 75 72 6c 2d 70 72 6f 62 6c 65 6d 73 2d 73 75 62 6d 69 73 73 69 6f 6e 20 28 63 6f 6e 63 61 74 20 url-problems-submission.(concat.
3080 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 62 61 73 65 20 22 2f 70 72 6f 62 6c 65 6d 73 2f 25 73 leetcode--url-base."/problems/%s
30a0 2f 73 75 62 6d 69 73 73 69 6f 6e 73 2f 22 29 29 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 /submissions/")).(defconst.leetc
30c0 6f 64 65 2d 2d 75 72 6c 2d 63 68 65 63 6b 2d 73 75 62 6d 69 73 73 69 6f 6e 20 20 20 20 28 63 6f ode--url-check-submission....(co
30e0 6e 63 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 62 61 73 65 20 22 2f 73 75 62 6d 69 73 ncat.leetcode--url-base."/submis
3100 73 69 6f 6e 73 2f 64 65 74 61 69 6c 2f 25 73 2f 63 68 65 63 6b 2f 22 29 29 0a 3b 3b 20 74 72 79 sions/detail/%s/check/")).;;.try
3120 20 74 65 73 74 63 61 73 65 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 .testcase.(defconst.leetcode--ur
3140 6c 2d 74 72 79 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 63 61 74 20 6c 65 l-try.................(concat.le
3160 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 62 61 73 65 20 22 2f 70 72 6f 62 6c 65 6d 73 2f 25 73 2f 69 etcode--url-base."/problems/%s/i
3180 6e 74 65 72 70 72 65 74 5f 73 6f 6c 75 74 69 6f 6e 2f 22 29 29 0a 28 64 65 66 63 6f 6e 73 74 20 nterpret_solution/")).(defconst.
31a0 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 70 72 6f 62 6c 65 6d 73 20 20 20 20 20 20 20 20 20 20 leetcode--url-problems..........
31c0 20 20 28 63 6f 6e 63 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 62 61 73 65 20 22 2f 70 ..(concat.leetcode--url-base."/p
31e0 72 6f 62 6c 65 6d 73 2f 25 73 2f 22 29 29 0a 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f roblems/%s/"))..(defconst.leetco
3200 64 65 2d 2d 67 72 61 70 68 71 6c 2d 67 6c 6f 62 61 6c 2d 64 61 74 61 20 22 0a 71 75 65 72 79 20 de--graphql-global-data.".query.
3220 67 6c 6f 62 61 6c 44 61 74 61 20 7b 0a 20 20 75 73 65 72 53 74 61 74 75 73 20 7b 20 75 73 65 72 globalData.{...userStatus.{.user
3240 49 64 20 75 73 65 72 6e 61 6d 65 20 69 73 50 72 65 6d 69 75 6d 20 61 63 74 69 76 65 53 65 73 73 Id.username.isPremium.activeSess
3260 69 6f 6e 49 64 20 69 73 53 69 67 6e 65 64 49 6e 20 7d 0a 7d 22 29 0a 0a 3b 3b 20 67 72 61 70 68 ionId.isSignedIn.}.}")..;;.graph
3280 71 6c 2e 65 6c 20 64 6f 65 73 6e 27 74 20 73 75 70 70 6f 72 74 20 60 3a 61 73 27 20 6b 65 79 77 ql.el.doesn't.support.`:as'.keyw
32a0 6f 72 64 2c 20 73 6f 20 6c 65 74 27 73 20 75 73 65 20 74 68 65 20 72 61 77 20 67 72 61 70 68 51 ord,.so.let's.use.the.raw.graphQ
32c0 4c 20 73 74 72 69 6e 67 2e 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 67 72 L.string..(defconst.leetcode--gr
32e0 61 70 68 71 6c 2d 70 72 6f 62 6c 65 6d 73 65 74 2d 71 75 65 73 74 69 6f 6e 2d 6c 69 73 74 20 22 aphql-problemset-question-list."
3300 0a 71 75 65 72 79 20 70 72 6f 62 6c 65 6d 73 65 74 51 75 65 73 74 69 6f 6e 4c 69 73 74 28 24 63 .query.problemsetQuestionList($c
3320 61 74 65 67 6f 72 79 53 6c 75 67 3a 20 53 74 72 69 6e 67 2c 20 24 6c 69 6d 69 74 3a 20 49 6e 74 ategorySlug:.String,.$limit:.Int
3340 2c 20 24 73 6b 69 70 3a 20 49 6e 74 2c 20 24 66 69 6c 74 65 72 73 3a 20 51 75 65 73 74 69 6f 6e ,.$skip:.Int,.$filters:.Question
3360 4c 69 73 74 46 69 6c 74 65 72 49 6e 70 75 74 29 20 7b 0a 20 20 70 72 6f 62 6c 65 6d 73 65 74 51 ListFilterInput).{...problemsetQ
3380 75 65 73 74 69 6f 6e 4c 69 73 74 3a 20 71 75 65 73 74 69 6f 6e 4c 69 73 74 28 0a 20 20 20 20 63 uestionList:.questionList(.....c
33a0 61 74 65 67 6f 72 79 53 6c 75 67 3a 20 24 63 61 74 65 67 6f 72 79 53 6c 75 67 0a 20 20 20 20 6c ategorySlug:.$categorySlug.....l
33c0 69 6d 69 74 3a 20 24 6c 69 6d 69 74 0a 20 20 20 20 73 6b 69 70 3a 20 24 73 6b 69 70 0a 20 20 20 imit:.$limit.....skip:.$skip....
33e0 20 66 69 6c 74 65 72 73 3a 20 24 66 69 6c 74 65 72 73 0a 20 20 29 20 7b 0a 20 20 20 20 74 6f 74 .filters:.$filters...).{.....tot
3400 61 6c 3a 20 74 6f 74 61 6c 4e 75 6d 0a 20 20 20 20 71 75 65 73 74 69 6f 6e 73 3a 20 64 61 74 61 al:.totalNum.....questions:.data
3420 20 7b 0a 20 20 20 20 20 20 61 63 52 61 74 65 0a 20 20 20 20 20 20 64 69 66 66 69 63 75 6c 74 79 .{.......acRate.......difficulty
3440 0a 20 20 20 20 20 20 66 72 65 71 42 61 72 0a 20 20 20 20 20 20 66 72 6f 6e 74 65 6e 64 51 75 65 .......freqBar.......frontendQue
3460 73 74 69 6f 6e 49 64 3a 20 71 75 65 73 74 69 6f 6e 46 72 6f 6e 74 65 6e 64 49 64 0a 20 20 20 20 stionId:.questionFrontendId.....
3480 20 20 69 73 46 61 76 6f 72 0a 20 20 20 20 20 20 70 61 69 64 4f 6e 6c 79 3a 20 69 73 50 61 69 64 ..isFavor.......paidOnly:.isPaid
34a0 4f 6e 6c 79 0a 20 20 20 20 20 20 73 74 61 74 75 73 0a 20 20 20 20 20 20 74 69 74 6c 65 0a 20 20 Only.......status.......title...
34c0 20 20 20 20 74 69 74 6c 65 53 6c 75 67 0a 20 20 20 20 20 20 74 6f 70 69 63 54 61 67 73 20 7b 20 ....titleSlug.......topicTags.{.
34e0 6e 61 6d 65 20 69 64 20 73 6c 75 67 20 7d 0a 20 20 20 20 20 20 68 61 73 53 6f 6c 75 74 69 6f 6e name.id.slug.}.......hasSolution
3500 0a 20 20 20 20 20 20 68 61 73 56 69 64 65 6f 53 6f 6c 75 74 69 6f 6e 0a 20 20 20 20 7d 0a 20 20 .......hasVideoSolution.....}...
3520 7d 0a 7d 22 29 0a 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 67 72 61 70 68 }.}")..(defconst.leetcode--graph
3540 71 6c 2d 71 75 65 73 74 69 6f 6e 2d 74 69 74 6c 65 20 22 0a 71 75 65 72 79 20 71 75 65 73 74 69 ql-question-title.".query.questi
3560 6f 6e 54 69 74 6c 65 28 24 74 69 74 6c 65 53 6c 75 67 3a 20 53 74 72 69 6e 67 21 29 20 7b 0a 20 onTitle($titleSlug:.String!).{..
3580 20 71 75 65 73 74 69 6f 6e 28 74 69 74 6c 65 53 6c 75 67 3a 20 24 74 69 74 6c 65 53 6c 75 67 29 .question(titleSlug:.$titleSlug)
35a0 20 7b 20 71 75 65 73 74 69 6f 6e 49 64 20 71 75 65 73 74 69 6f 6e 46 72 6f 6e 74 65 6e 64 49 64 .{.questionId.questionFrontendId
35c0 20 74 69 74 6c 65 20 74 69 74 6c 65 53 6c 75 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .title.titleSlug................
35e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 50 61 69 64 4f 6e 6c 79 20 .....................isPaidOnly.
3600 64 69 66 66 69 63 75 6c 74 79 20 6c 69 6b 65 73 20 64 69 73 6c 69 6b 65 73 20 63 61 74 65 67 6f difficulty.likes.dislikes.catego
3620 72 79 54 69 74 6c 65 20 7d 20 7d 22 29 0a 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 ryTitle.}.}")..(defconst.leetcod
3640 65 2d 2d 67 72 61 70 68 71 6c 2d 71 75 65 73 74 69 6f 6e 2d 63 6f 6e 74 65 6e 74 20 22 0a 71 75 e--graphql-question-content.".qu
3660 65 72 79 20 71 75 65 73 74 69 6f 6e 43 6f 6e 74 65 6e 74 28 24 74 69 74 6c 65 53 6c 75 67 3a 20 ery.questionContent($titleSlug:.
3680 53 74 72 69 6e 67 21 29 20 7b 0a 20 20 71 75 65 73 74 69 6f 6e 28 74 69 74 6c 65 53 6c 75 67 3a String!).{...question(titleSlug:
36a0 20 24 74 69 74 6c 65 53 6c 75 67 29 20 7b 20 63 6f 6e 74 65 6e 74 20 6d 79 73 71 6c 53 63 68 65 .$titleSlug).{.content.mysqlSche
36c0 6d 61 73 20 64 61 74 61 53 63 68 65 6d 61 73 20 7d 20 7d 22 29 0a 0a 28 64 65 66 63 6f 6e 73 74 mas.dataSchemas.}.}")..(defconst
36e0 20 6c 65 65 74 63 6f 64 65 2d 2d 67 72 61 70 68 71 6c 2d 71 75 65 73 74 69 6f 6e 2d 65 64 69 74 .leetcode--graphql-question-edit
3700 6f 72 2d 64 61 74 61 20 22 0a 71 75 65 72 79 20 71 75 65 73 74 69 6f 6e 45 64 69 74 6f 72 44 61 or-data.".query.questionEditorDa
3720 74 61 28 24 74 69 74 6c 65 53 6c 75 67 3a 20 53 74 72 69 6e 67 21 29 20 7b 0a 20 20 71 75 65 73 ta($titleSlug:.String!).{...ques
3740 74 69 6f 6e 28 74 69 74 6c 65 53 6c 75 67 3a 20 24 74 69 74 6c 65 53 6c 75 67 29 20 7b 0a 20 20 tion(titleSlug:.$titleSlug).{...
3760 20 20 71 75 65 73 74 69 6f 6e 49 64 0a 20 20 20 20 71 75 65 73 74 69 6f 6e 46 72 6f 6e 74 65 6e ..questionId.....questionFronten
3780 64 49 64 0a 20 20 20 20 63 6f 64 65 53 6e 69 70 70 65 74 73 20 7b 20 6c 61 6e 67 20 6c 61 6e 67 dId.....codeSnippets.{.lang.lang
37a0 53 6c 75 67 20 63 6f 64 65 20 7d 0a 20 20 20 20 65 6e 76 49 6e 66 6f 0a 20 20 20 20 65 6e 61 62 Slug.code.}.....envInfo.....enab
37c0 6c 65 52 75 6e 43 6f 64 65 0a 20 20 20 20 68 61 73 46 72 6f 6e 74 65 6e 64 50 72 65 76 69 65 77 leRunCode.....hasFrontendPreview
37e0 0a 20 20 20 20 66 72 6f 6e 74 65 6e 64 50 72 65 76 69 65 77 73 0a 20 20 7d 0a 7d 22 29 0a 0a 28 .....frontendPreviews...}.}")..(
3800 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 67 72 61 70 68 71 6c 2d 71 75 65 73 74 defconst.leetcode--graphql-quest
3820 69 6f 6e 2d 68 69 6e 74 73 20 22 0a 71 75 65 72 79 20 71 75 65 73 74 69 6f 6e 48 69 6e 74 73 28 ion-hints.".query.questionHints(
3840 24 74 69 74 6c 65 53 6c 75 67 3a 20 53 74 72 69 6e 67 21 29 20 7b 0a 20 20 71 75 65 73 74 69 6f $titleSlug:.String!).{...questio
3860 6e 28 74 69 74 6c 65 53 6c 75 67 3a 20 24 74 69 74 6c 65 53 6c 75 67 29 20 7b 20 68 69 6e 74 73 n(titleSlug:.$titleSlug).{.hints
3880 20 7d 20 7d 22 29 0a 0a 28 64 65 66 63 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 67 72 61 70 .}.}")..(defconst.leetcode--grap
38a0 68 71 6c 2d 63 6f 6e 73 6f 6c 65 2d 70 61 6e 65 6c 2d 63 6f 6e 66 69 67 20 22 0a 71 75 65 72 79 hql-console-panel-config.".query
38c0 20 63 6f 6e 73 6f 6c 65 50 61 6e 65 6c 43 6f 6e 66 69 67 28 24 74 69 74 6c 65 53 6c 75 67 3a 20 .consolePanelConfig($titleSlug:.
38e0 53 74 72 69 6e 67 21 29 20 7b 0a 20 20 71 75 65 73 74 69 6f 6e 28 74 69 74 6c 65 53 6c 75 67 3a String!).{...question(titleSlug:
3900 20 24 74 69 74 6c 65 53 6c 75 67 29 20 7b 0a 20 20 20 20 71 75 65 73 74 69 6f 6e 49 64 0a 20 20 .$titleSlug).{.....questionId...
3920 20 20 71 75 65 73 74 69 6f 6e 46 72 6f 6e 74 65 6e 64 49 64 0a 20 20 20 20 71 75 65 73 74 69 6f ..questionFrontendId.....questio
3940 6e 54 69 74 6c 65 0a 20 20 20 20 65 6e 61 62 6c 65 44 65 62 75 67 67 65 72 0a 20 20 20 20 65 6e nTitle.....enableDebugger.....en
3960 61 62 6c 65 52 75 6e 43 6f 64 65 0a 20 20 20 20 65 6e 61 62 6c 65 53 75 62 6d 69 74 0a 20 20 20 ableRunCode.....enableSubmit....
3980 20 65 6e 61 62 6c 65 54 65 73 74 4d 6f 64 65 0a 20 20 20 20 65 78 61 6d 70 6c 65 54 65 73 74 63 .enableTestMode.....exampleTestc
39a0 61 73 65 4c 69 73 74 0a 20 20 20 20 6d 65 74 61 44 61 74 61 0a 20 20 7d 0a 7d 22 29 0a 0a 0a 3b aseList.....metaData...}.}")...;
39c0 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
39e0 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 20 55 74 69 6c ;;;;;;;;;;;;;;;;;;;;;;;;;;;.Util
3a00 73 20 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b s.;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3a20 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 0a 0a ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;..
3a40 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 69 6e 73 65 72 74 2d 63 6f 64 65 2d 73 74 61 (defun.leetcode--insert-code-sta
3a60 72 74 2d 6d 61 72 6b 65 72 20 28 29 0a 20 20 22 49 6e 73 65 72 74 20 63 6f 64 65 20 73 74 61 72 rt-marker.()..."Insert.code.star
3a80 74 20 6d 61 72 6b 65 72 2e 22 0a 20 20 28 77 68 65 6e 20 28 6f 72 20 28 73 74 72 69 6e 67 3d 20 t.marker."...(when.(or.(string=.
3aa0 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 20 22 63 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 leetcode--lang."c").............
3ac0 28 73 74 72 69 6e 67 3d 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 20 22 63 70 70 22 29 29 0a (string=.leetcode--lang."cpp")).
3ae0 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 5c 6e 5c 6e 25 73 5c 6e 5c 6e 22 ....(insert.(format."\n\n%s\n\n"
3b00 20 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 64 65 2d 73 74 61 72 74 29 29 29 29 0a 0a 28 64 65 66 75 .leetcode--code-start))))..(defu
3b20 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 69 6e 73 65 72 74 2d 63 6f 64 65 2d 65 6e 64 2d 6d 61 72 6b n.leetcode--insert-code-end-mark
3b40 65 72 20 28 29 0a 20 20 22 49 6e 73 65 72 74 20 63 6f 64 65 20 65 6e 64 20 6d 61 72 6b 65 72 2e er.()..."Insert.code.end.marker.
3b60 22 0a 20 20 28 77 68 65 6e 20 28 6f 72 20 28 73 74 72 69 6e 67 3d 20 6c 65 65 74 63 6f 64 65 2d "...(when.(or.(string=.leetcode-
3b80 2d 6c 61 6e 67 20 22 63 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 -lang."c").............(string=.
3ba0 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 20 22 63 70 70 22 29 29 0a 20 20 20 20 28 69 6e 73 65 leetcode--lang."cpp")).....(inse
3bc0 72 74 20 28 66 6f 72 6d 61 74 20 22 5c 6e 5c 6e 25 73 5c 6e 5c 6e 22 20 6c 65 65 74 63 6f 64 65 rt.(format."\n\n%s\n\n".leetcode
3be0 2d 2d 63 6f 64 65 2d 65 6e 64 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d --code-end))))..(defun.leetcode-
3c00 2d 72 65 66 65 72 65 72 20 28 76 61 6c 75 65 29 0a 20 20 22 49 74 20 77 69 6c 6c 20 72 65 74 75 -referer.(value)..."It.will.retu
3c20 72 6e 20 61 6e 20 61 6c 69 73 74 20 61 73 20 74 68 65 20 48 54 54 50 20 52 65 66 65 72 65 72 20 rn.an.alist.as.the.HTTP.Referer.
3c40 48 65 61 64 65 72 2e 0a 56 41 4c 55 45 20 73 68 6f 75 6c 64 20 62 65 20 74 68 65 20 72 65 66 65 Header..VALUE.should.be.the.refe
3c60 72 65 72 2e 22 0a 20 20 28 63 6f 6e 73 20 22 52 65 66 65 72 65 72 22 20 76 61 6c 75 65 29 29 0a rer."...(cons."Referer".value)).
3c80 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 6f 6b 69 65 2d 67 65 74 2d 61 6c 6c .(defun.leetcode--cookie-get-all
3ca0 20 28 29 0a 20 20 22 47 65 74 20 6c 65 65 74 63 6f 64 65 20 73 65 73 73 69 6f 6e 20 77 69 74 68 .()..."Get.leetcode.session.with
3cc0 20 60 6d 79 5f 63 6f 6f 6b 69 65 73 27 2e 20 59 6f 75 20 63 61 6e 20 69 6e 73 74 61 6c 6c 20 69 .`my_cookies'..You.can.install.i
3ce0 74 20 77 69 74 68 20 70 69 70 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 6d 79 2d 63 6f 6f 6b 69 65 t.with.pip."...(let*.((my-cookie
3d00 73 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6d 79 2d 63 6f 6f 6b 69 65 73 2d 70 61 74 68 29 29 0a 20 s.(leetcode--my-cookies-path))..
3d20 20 20 20 20 20 20 20 20 28 6d 79 2d 63 6f 6f 6b 69 65 73 2d 6f 75 74 70 75 74 20 28 73 68 65 6c ........(my-cookies-output.(shel
3d40 6c 2d 63 6f 6d 6d 61 6e 64 2d 74 6f 2d 73 74 72 69 6e 67 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6d l-command-to-string.(leetcode--m
3d60 79 2d 63 6f 6f 6b 69 65 73 2d 70 61 74 68 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6f 6b y-cookies-path)))..........(cook
3d80 69 65 73 2d 6c 69 73 74 20 28 73 65 71 2d 66 69 6c 74 65 72 20 28 6c 61 6d 62 64 61 20 28 73 29 ies-list.(seq-filter.(lambda.(s)
3da0 20 28 6e 6f 74 20 28 73 74 72 69 6e 67 2d 65 6d 70 74 79 2d 70 20 73 29 29 29 0a 20 20 20 20 20 .(not.(string-empty-p.s)))......
3dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 ..............................(s
3de0 2d 73 70 6c 69 74 20 22 5c 6e 22 20 6d 79 2d 63 6f 6f 6b 69 65 73 2d 6f 75 74 70 75 74 20 27 4f -split."\n".my-cookies-output.'O
3e00 4d 49 54 2d 4e 55 4c 4c 53 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6f 6b 69 65 73 2d 70 MIT-NULLS)))..........(cookies-p
3e20 61 69 72 73 20 28 73 65 71 2d 6d 61 70 20 28 6c 61 6d 62 64 61 20 28 73 29 20 28 73 2d 73 70 6c airs.(seq-map.(lambda.(s).(s-spl
3e40 69 74 2d 75 70 2d 74 6f 20 22 20 22 20 73 20 31 20 27 4f 4d 49 54 2d 4e 55 4c 4c 53 29 29 20 63 it-up-to.".".s.1.'OMIT-NULLS)).c
3e60 6f 6f 6b 69 65 73 2d 6c 69 73 74 29 29 29 0a 20 20 20 20 63 6f 6f 6b 69 65 73 2d 70 61 69 72 73 ookies-list))).....cookies-pairs
3e80 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 6f 6b 69 65 2d 67 65 74 20 ))..(defun.leetcode--cookie-get.
3ea0 28 63 6f 6f 6b 69 65 2d 6b 65 79 29 0a 20 20 22 47 65 74 20 4c 65 65 74 43 6f 64 65 20 63 6f 6f (cookie-key)..."Get.LeetCode.coo
3ec0 6b 69 65 20 76 61 6c 75 65 20 62 79 20 43 4f 4f 4b 49 45 2d 4b 45 59 2e 22 0a 20 20 28 69 66 2d kie.value.by.COOKIE-KEY."...(if-
3ee0 6c 65 74 20 28 28 63 6f 6f 6b 69 65 20 28 73 65 71 2d 66 69 6e 64 0a 20 20 20 20 20 20 20 20 20 let.((cookie.(seq-find..........
3f00 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 69 74 65 6d 29 0a 20 20 20 20 20 20 ...........(lambda.(item).......
3f20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 28 61 72 65 66 20 69 ................(string=.(aref.i
3f40 74 65 6d 20 31 29 20 63 6f 6f 6b 69 65 2d 6b 65 79 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 tem.1).cookie-key)).............
3f60 20 20 20 20 20 20 20 20 28 75 72 6c 2d 63 6f 6f 6b 69 65 2d 72 65 74 72 69 65 76 65 20 6c 65 65 ........(url-cookie-retrieve.lee
3f80 74 63 6f 64 65 2d 2d 64 6f 6d 61 69 6e 20 22 2f 22 20 74 29 29 29 29 0a 20 20 20 20 20 20 28 61 tcode--domain."/".t)))).......(a
3fa0 72 65 66 20 63 6f 6f 6b 69 65 20 32 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 ref.cookie.2)))..(defun.leetcode
3fc0 2d 2d 6d 61 79 62 65 2d 63 73 72 66 2d 74 6f 6b 65 6e 20 28 29 0a 20 20 22 52 65 74 75 72 6e 20 --maybe-csrf-token.()..."Return.
3fe0 4c 65 65 74 43 6f 64 65 20 43 53 52 46 20 74 6f 6b 65 6e 20 69 66 20 69 74 20 65 78 69 73 74 73 LeetCode.CSRF.token.if.it.exists
4000 2c 20 6f 74 68 65 72 77 69 73 65 20 72 65 74 75 72 6e 20 6e 69 6c 2e 22 0a 20 20 28 6c 65 65 74 ,.otherwise.return.nil."...(leet
4020 63 6f 64 65 2d 2d 63 6f 6f 6b 69 65 2d 67 65 74 20 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 6f 6b 69 code--cookie-get.leetcode--cooki
4040 65 2d 63 73 72 66 74 6f 6b 65 6e 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d e-csrftoken))..(defun.leetcode--
4060 6d 61 79 62 65 2d 73 65 73 73 69 6f 6e 20 28 29 0a 20 20 22 52 65 74 75 72 6e 20 4c 65 65 74 43 maybe-session.()..."Return.LeetC
4080 6f 64 65 20 73 65 73 73 69 6f 6e 20 69 66 20 69 74 20 65 78 69 73 74 73 2c 20 6f 74 68 65 72 77 ode.session.if.it.exists,.otherw
40a0 69 73 65 20 72 65 74 75 72 6e 20 6e 69 6c 2e 22 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 63 6f ise.return.nil."...(leetcode--co
40c0 6f 6b 69 65 2d 67 65 74 20 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 6f 6b 69 65 2d 73 65 73 73 69 6f okie-get.leetcode--cookie-sessio
40e0 6e 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 63 73 72 66 2d 74 n))..(aio-defun.leetcode--csrf-t
4100 6f 6b 65 6e 20 28 29 0a 20 20 22 52 65 74 75 72 6e 20 63 73 72 66 20 74 6f 6b 65 6e 2e 22 0a 20 oken.()..."Return.csrf.token."..
4120 20 28 75 6e 6c 65 73 73 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6d 61 79 62 65 2d 63 73 72 66 2d 74 .(unless.(leetcode--maybe-csrf-t
4140 6f 6b 65 6e 29 0a 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d oken).....(aio-await.(leetcode--
4160 6c 6f 67 69 6e 29 29 0a 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 login)).....(aio-await.(leetcode
4180 2d 2d 6c 6f 67 69 6e 29 29 29 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6d 61 79 62 65 2d 63 73 --login)))...(leetcode--maybe-cs
41a0 72 66 2d 74 6f 6b 65 6e 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 6f 67 rf-token))..(defun.leetcode--log
41c0 69 6e 2d 70 20 28 29 0a 20 20 22 57 68 65 74 68 65 72 20 75 73 65 72 20 69 73 20 6c 6f 67 69 6e in-p.()..."Whether.user.is.login
41e0 2e 22 0a 20 20 28 6c 65 74 20 28 28 75 73 65 72 6e 61 6d 65 20 28 6c 65 65 74 63 6f 64 65 2d 75 ."...(let.((username.(leetcode-u
4200 73 65 72 2d 75 73 65 72 6e 61 6d 65 20 6c 65 65 74 63 6f 64 65 2d 2d 75 73 65 72 29 29 29 0a 20 ser-username.leetcode--user)))..
4220 20 20 20 28 61 6e 64 20 75 73 65 72 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 28 6e 6f 74 20 28 ...(and.username..........(not.(
4240 73 74 72 69 6e 67 2d 65 6d 70 74 79 2d 70 20 75 73 65 72 6e 61 6d 65 29 29 0a 20 20 20 20 20 20 string-empty-p.username)).......
4260 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6d 61 79 62 65 2d 73 65 73 73 69 6f 6e 29 29 29 29 0a ...(leetcode--maybe-session)))).
4280 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 73 6c 75 67 69 66 79 2d 74 69 74 6c 65 20 .(defun.leetcode--slugify-title.
42a0 28 74 69 74 6c 65 29 0a 20 20 22 4d 61 6b 65 20 54 49 54 4c 45 20 61 20 73 6c 75 67 20 74 69 74 (title)..."Make.TITLE.a.slug.tit
42c0 6c 65 2e 0a 53 75 63 68 20 61 73 20 27 54 77 6f 20 53 75 6d 27 20 77 69 6c 6c 20 62 65 20 63 6f le..Such.as.'Two.Sum'.will.be.co
42e0 6e 76 65 72 74 65 64 20 74 6f 20 27 74 77 6f 2d 73 75 6d 27 2e 20 27 50 6f 77 28 78 2c 20 6e 29 nverted.to.'two-sum'..'Pow(x,.n)
4300 27 20 77 69 6c 6c 20 62 65 20 27 70 6f 77 78 2d 6e 27 22 0a 20 20 28 6c 65 74 2a 20 28 28 73 74 '.will.be.'powx-n'"...(let*.((st
4320 72 31 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 72 69 6e 67 20 22 5b 5c r1.(replace-regexp-in-string."[\
4340 73 2d 5d 2b 22 20 22 2d 22 20 28 64 6f 77 6e 63 61 73 65 20 74 69 74 6c 65 29 29 29 0a 20 20 20 s-]+"."-".(downcase.title)))....
4360 20 20 20 20 20 20 28 72 65 73 20 28 72 65 70 6c 61 63 65 2d 72 65 67 65 78 70 2d 69 6e 2d 73 74 ......(res.(replace-regexp-in-st
4380 72 69 6e 67 20 22 5b 28 29 2c 27 5d 22 20 22 22 20 73 74 72 31 29 29 29 0a 20 20 20 20 72 65 73 ring."[(),']"."".str1))).....res
43a0 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 72 65 70 6c 61 63 65 2d 69 6e 2d ))..(defun.leetcode--replace-in-
43c0 62 75 66 66 65 72 20 28 72 65 67 65 78 20 74 6f 29 0a 20 20 22 52 65 70 6c 61 63 65 20 73 74 72 buffer.(regex.to)..."Replace.str
43e0 69 6e 67 20 6d 61 74 63 68 65 64 20 52 45 47 45 58 20 69 6e 20 60 63 75 72 72 65 6e 74 2d 62 75 ing.matched.REGEX.in.`current-bu
4400 66 66 65 72 27 20 74 6f 20 54 4f 2e 22 0a 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 ffer'.to.TO."...(with-current-bu
4420 66 66 65 72 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 0a 20 20 20 20 28 73 61 76 65 2d ffer.(current-buffer).....(save-
4440 65 78 63 75 72 73 69 6f 6e 0a 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 28 70 6f 69 6e excursion.......(goto-char.(poin
4460 74 2d 6d 69 6e 29 29 0a 20 20 20 20 20 20 28 73 61 76 65 2d 6d 61 74 63 68 2d 64 61 74 61 0a 20 t-min)).......(save-match-data..
4480 20 20 20 20 20 20 20 28 77 68 69 6c 65 20 28 72 65 2d 73 65 61 72 63 68 2d 66 6f 72 77 61 72 64 .......(while.(re-search-forward
44a0 20 72 65 67 65 78 20 28 70 6f 69 6e 74 2d 6d 61 78 29 20 74 29 0a 20 20 20 20 20 20 20 20 20 20 .regex.(point-max).t)...........
44c0 28 72 65 70 6c 61 63 65 2d 6d 61 74 63 68 20 74 6f 29 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 (replace-match.to))))))..(defun.
44e0 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 6c 69 6e 6b 20 28 74 69 74 6c 65 29 0a 20 leetcode--problem-link.(title)..
4500 20 22 47 65 6e 65 72 61 74 65 20 70 72 6f 62 6c 65 6d 20 6c 69 6e 6b 20 66 72 6f 6d 20 54 49 54 ."Generate.problem.link.from.TIT
4520 4c 45 2e 22 0a 20 20 28 63 6f 6e 63 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 62 61 73 LE."...(concat.leetcode--url-bas
4540 65 20 22 2f 70 72 6f 62 6c 65 6d 73 2f 22 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 6c 75 67 69 66 e."/problems/".(leetcode--slugif
4560 79 2d 74 69 74 6c 65 20 74 69 74 6c 65 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 y-title.title)))..(defun.leetcod
4580 65 2d 2d 73 74 72 69 6e 67 69 66 79 2d 64 69 66 66 69 63 75 6c 74 79 20 28 64 69 66 66 69 63 75 e--stringify-difficulty.(difficu
45a0 6c 74 79 29 0a 20 20 22 41 64 64 20 66 6f 6e 74 2d 6c 6f 63 6b 20 74 6f 20 44 49 46 46 49 43 55 lty)..."Add.font-lock.to.DIFFICU
45c0 4c 54 59 2e 22 0a 20 20 28 70 63 61 73 65 20 64 69 66 66 69 63 75 6c 74 79 0a 20 20 20 20 28 22 LTY."...(pcase.difficulty.....("
45e0 45 61 73 79 22 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 20 22 Easy".(leetcode--add-font-lock."
4600 45 61 73 79 22 20 27 6c 65 65 74 63 6f 64 65 2d 65 61 73 79 2d 66 61 63 65 29 29 0a 20 20 20 20 Easy".'leetcode-easy-face)).....
4620 28 22 4d 65 64 69 75 6d 22 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f ("Medium".(leetcode--add-font-lo
4640 63 6b 20 22 4d 65 64 69 75 6d 22 20 27 6c 65 65 74 63 6f 64 65 2d 6d 65 64 69 75 6d 2d 66 61 63 ck."Medium".'leetcode-medium-fac
4660 65 29 29 0a 20 20 20 20 28 22 48 61 72 64 22 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 e)).....("Hard".(leetcode--add-f
4680 6f 6e 74 2d 6c 6f 63 6b 20 22 48 61 72 64 22 20 27 6c 65 65 74 63 6f 64 65 2d 68 61 72 64 2d 66 ont-lock."Hard".'leetcode-hard-f
46a0 61 63 65 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 6f ace))))..(defun.leetcode--add-fo
46c0 6e 74 2d 6c 6f 63 6b 20 28 73 74 72 20 66 61 63 65 29 0a 20 20 22 41 64 64 20 66 6f 6e 74 2d 6c nt-lock.(str.face)..."Add.font-l
46e0 6f 63 6b 20 46 41 43 45 20 74 6f 20 53 54 52 2e 22 0a 20 20 28 70 72 6f 67 31 20 73 74 72 0a 20 ock.FACE.to.STR."...(prog1.str..
4700 20 20 20 28 70 75 74 2d 74 65 78 74 2d 70 72 6f 70 65 72 74 79 20 30 20 28 6c 65 6e 67 74 68 20 ...(put-text-property.0.(length.
4720 73 74 72 29 20 27 66 6f 6e 74 2d 6c 6f 63 6b 2d 66 61 63 65 20 66 61 63 65 20 73 74 72 29 29 29 str).'font-lock-face.face.str)))
4740 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 64 65 74 61 69 6c 2d 62 75 66 66 65 72 ..(defun.leetcode--detail-buffer
4760 2d 6e 61 6d 65 20 28 70 72 6f 62 6c 65 6d 2d 69 64 29 0a 20 20 22 44 65 74 61 69 6c 20 62 75 66 -name.(problem-id)..."Detail.buf
4780 66 65 72 20 6e 61 6d 65 20 77 69 74 68 20 50 52 4f 42 4c 45 4d 2d 49 44 2e 22 0a 20 20 28 66 6f fer.name.with.PROBLEM-ID."...(fo
47a0 72 6d 61 74 20 22 2a 6c 65 65 74 63 6f 64 65 2d 64 65 74 61 69 6c 2d 25 73 2a 22 20 70 72 6f 62 rmat."*leetcode-detail-%s*".prob
47c0 6c 65 6d 2d 69 64 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 74 65 73 74 63 lem-id))..(defun.leetcode--testc
47e0 61 73 65 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 28 70 72 6f 62 6c 65 6d 2d 69 64 29 0a 20 20 22 ase-buffer-name.(problem-id)..."
4800 54 65 73 74 63 61 73 65 20 62 75 66 66 65 72 20 6e 61 6d 65 20 77 69 74 68 20 50 52 4f 42 4c 45 Testcase.buffer.name.with.PROBLE
4820 4d 2d 49 44 2e 22 0a 20 20 28 66 6f 72 6d 61 74 20 22 2a 6c 65 65 74 63 6f 64 65 2d 74 65 73 74 M-ID."...(format."*leetcode-test
4840 63 61 73 65 2d 25 73 2a 22 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 0a 0a 28 64 65 66 75 6e 20 6c case-%s*".problem-id))..(defun.l
4860 65 65 74 63 6f 64 65 2d 2d 72 65 73 75 6c 74 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 28 70 72 6f eetcode--result-buffer-name.(pro
4880 62 6c 65 6d 2d 69 64 29 0a 20 20 22 52 65 73 75 6c 74 20 62 75 66 66 65 72 20 6e 61 6d 65 20 77 blem-id)..."Result.buffer.name.w
48a0 69 74 68 20 50 52 4f 42 4c 45 4d 2d 49 44 2e 22 0a 20 20 28 66 6f 72 6d 61 74 20 22 2a 6c 65 65 ith.PROBLEM-ID."...(format."*lee
48c0 74 63 6f 64 65 2d 72 65 73 75 6c 74 2d 25 73 2a 22 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 0a 0a tcode-result-%s*".problem-id))..
48e0 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 6d 61 79 62 65 2d 66 6f 63 75 73 20 28 29 0a (defun.leetcode--maybe-focus.().
4900 20 20 22 44 65 6c 65 74 65 20 6f 74 68 65 72 20 77 69 6e 64 6f 77 73 2c 20 6b 65 65 70 20 6f 6e .."Delete.other.windows,.keep.on
4920 6c 79 20 2a 6c 65 65 74 63 6f 64 65 2a 20 62 75 66 66 65 72 2e 22 0a 20 20 28 69 66 20 6c 65 65 ly.*leetcode*.buffer."...(if.lee
4940 74 63 6f 64 65 2d 66 6f 63 75 73 20 28 64 65 6c 65 74 65 2d 6f 74 68 65 72 2d 77 69 6e 64 6f 77 tcode-focus.(delete-other-window
4960 73 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 70 61 72 73 65 2d 62 75 66 s)))..(defun.leetcode--parse-buf
4980 66 65 72 20 28 62 75 66 66 65 72 29 0a 20 20 22 50 61 72 73 65 20 42 55 46 46 45 52 20 63 6f 6e fer.(buffer)..."Parse.BUFFER.con
49a0 74 65 6e 74 20 66 72 6f 6d 20 6a 73 6f 6e 20 74 6f 20 61 6c 69 73 74 2e 22 0a 20 20 28 77 69 74 tent.from.json.to.alist."...(wit
49c0 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 62 75 66 66 65 72 0a 20 20 20 20 28 67 6f 74 h-current-buffer.buffer.....(got
49e0 6f 2d 63 68 61 72 20 75 72 6c 2d 68 74 74 70 2d 65 6e 64 2d 6f 66 2d 68 65 61 64 65 72 73 29 0a o-char.url-http-end-of-headers).
4a00 20 20 20 20 28 6a 73 6f 6e 2d 72 65 61 64 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 ....(json-read)))..(aio-defun.le
4a20 65 74 63 6f 64 65 2d 2d 63 6f 6d 6d 6f 6e 2d 65 78 74 72 61 2d 68 65 61 64 65 72 73 20 28 29 0a etcode--common-extra-headers.().
4a40 20 20 22 43 6f 6d 6d 6f 6e 20 65 78 74 72 61 20 68 65 61 64 65 72 73 20 66 6f 72 20 60 75 72 6c .."Common.extra.headers.for.`url
4a60 2d 72 65 71 75 65 73 74 2d 65 78 74 72 61 2d 68 65 61 64 65 72 73 27 2e 22 0a 20 20 60 28 2c 6c -request-extra-headers'."...`(,l
4a80 65 65 74 63 6f 64 65 2d 2d 55 73 65 72 2d 41 67 65 6e 74 20 2c 6c 65 65 74 63 6f 64 65 2d 2d 43 eetcode--User-Agent.,leetcode--C
4aa0 6f 6e 74 65 6e 74 2d 54 79 70 65 0a 20 20 20 20 2c 28 63 6f 6e 73 20 6c 65 65 74 63 6f 64 65 2d ontent-Type.....,(cons.leetcode-
4ac0 2d 58 2d 43 53 52 46 54 6f 6b 65 6e 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 -X-CSRFToken.(aio-await.(leetcod
4ae0 65 2d 2d 63 73 72 66 2d 74 6f 6b 65 6e 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 e--csrf-token)))))..(defun.leetc
4b00 6f 64 65 2d 2d 62 75 66 66 65 72 2d 63 6f 6e 74 65 6e 74 20 28 62 75 66 29 0a 20 20 22 47 65 74 ode--buffer-content.(buf)..."Get
4b20 20 63 6f 6e 74 65 6e 74 20 77 69 74 68 6f 75 74 20 74 65 78 74 20 70 72 6f 70 65 72 74 69 65 73 .content.without.text.properties
4b40 20 6f 66 20 42 55 46 2e 22 0a 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 .of.BUF."...(with-current-buffer
4b60 20 62 75 66 0a 20 20 20 20 28 62 75 66 66 65 72 2d 73 75 62 73 74 72 69 6e 67 2d 6e 6f 2d 70 72 .buf.....(buffer-substring-no-pr
4b80 6f 70 65 72 74 69 65 73 0a 20 20 20 20 20 28 70 6f 69 6e 74 2d 6d 69 6e 29 20 28 70 6f 69 6e 74 operties......(point-min).(point
4ba0 2d 6d 61 78 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 74 65 73 74 63 -max))))..(defun.leetcode--testc
4bc0 61 73 65 2d 62 75 66 66 65 72 2d 64 61 74 61 20 28 70 72 6f 62 6c 65 6d 2d 69 64 29 0a 20 20 22 ase-buffer-data.(problem-id)..."
4be0 47 65 74 20 74 65 73 74 63 61 73 65 73 20 62 75 66 66 65 72 20 63 6f 6e 74 65 6e 74 20 6f 66 20 Get.testcases.buffer.content.of.
4c00 50 52 4f 42 4c 45 4d 2d 49 44 2e 22 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 62 75 66 66 65 72 PROBLEM-ID."...(leetcode--buffer
4c20 2d 63 6f 6e 74 65 6e 74 20 28 67 65 74 2d 62 75 66 66 65 72 20 28 6c 65 65 74 63 6f 64 65 2d 2d -content.(get-buffer.(leetcode--
4c40 74 65 73 74 63 61 73 65 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 70 72 6f 62 6c 65 6d 2d 69 64 29 testcase-buffer-name.problem-id)
4c60 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 64 65 2d 62 75 66 66 65 )))..(defun.leetcode--code-buffe
4c80 72 2d 64 61 74 61 20 28 29 0a 20 20 22 47 65 74 20 63 6f 64 65 20 62 75 66 66 65 72 20 63 6f 6e r-data.()..."Get.code.buffer.con
4ca0 74 65 6e 74 2c 20 74 68 61 74 20 69 73 2c 20 74 68 65 20 60 63 75 72 72 65 6e 74 2d 62 75 66 66 tent,.that.is,.the.`current-buff
4cc0 65 72 27 2e 22 0a 20 20 28 6c 65 74 20 28 28 63 6f 64 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 62 er'."...(let.((code.(leetcode--b
4ce0 75 66 66 65 72 2d 63 6f 6e 74 65 6e 74 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 29 uffer-content.(current-buffer)))
4d00 0a 20 20 20 20 20 20 20 20 28 70 61 74 74 65 72 6e 20 28 63 6f 6e 63 61 74 20 6c 65 65 74 63 6f .........(pattern.(concat.leetco
4d20 64 65 2d 2d 63 6f 64 65 2d 73 74 61 72 74 20 22 5c 5c 28 5b 5c 30 2d 5c 33 37 37 5d 2a 3f 5c 5c de--code-start."\\([\0-\377]*?\\
4d40 29 22 20 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 64 65 2d 65 6e 64 29 29 29 0a 20 20 20 20 28 69 66 )".leetcode--code-end))).....(if
4d60 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 70 61 74 74 65 72 6e 20 63 6f 64 65 29 0a 20 20 20 .(string-match.pattern.code)....
4d80 20 20 20 20 20 28 6d 61 74 63 68 2d 73 74 72 69 6e 67 20 31 20 63 6f 64 65 29 0a 20 20 20 20 20 .....(match-string.1.code)......
4da0 20 63 6f 64 65 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 73 .code)))..(defun.leetcode--get-s
4dc0 6c 75 67 2d 74 69 74 6c 65 20 28 63 6f 64 65 2d 62 75 66 29 0a 20 20 22 47 65 74 20 73 6c 75 67 lug-title.(code-buf)..."Get.slug
4de0 20 74 69 74 6c 65 20 62 65 66 6f 72 65 20 74 72 79 20 6f 72 20 73 75 62 6d 69 74 20 77 69 74 68 .title.before.try.or.submit.with
4e00 20 43 4f 44 45 2d 42 55 46 2e 0a 4c 65 65 74 43 6f 64 65 20 72 65 71 75 69 72 65 20 73 6c 75 67 .CODE-BUF..LeetCode.require.slug
4e20 2d 74 69 74 6c 65 20 61 73 20 74 68 65 20 72 65 71 75 65 73 74 20 70 61 72 61 6d 65 74 65 72 73 -title.as.the.request.parameters
4e40 2e 22 0a 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 63 6f 64 65 2d 62 ."...(with-current-buffer.code-b
4e60 75 66 0a 20 20 20 20 28 69 66 20 6c 65 65 74 63 6f 64 65 2d 73 61 76 65 2d 73 6f 6c 75 74 69 6f uf.....(if.leetcode-save-solutio
4e80 6e 73 0a 20 20 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 62 61 73 65 20 28 63 61 64 72 ns.........(file-name-base.(cadr
4ea0 20 28 73 2d 73 70 6c 69 74 20 22 5f 22 20 28 62 75 66 66 65 72 2d 6e 61 6d 65 29 29 29 29 0a 20 .(s-split."_".(buffer-name))))..
4ec0 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 62 61 73 65 20 28 62 75 66 66 65 72 2d 6e 61 6d .....(file-name-base.(buffer-nam
4ee0 65 29 29 29 29 29 0a 0a 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b e)))))..;;;;;;;;;;;;;;;;;;;;;;;;
4f00 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4f20 3b 3b 3b 3b 20 4c 65 65 74 43 6f 64 65 20 41 50 49 20 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;.LeetCode.API.;;;;;;;;;;;;;;
4f40 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4f60 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d ;;;;;;;;;;;;;;..(defun.leetcode-
4f80 2d 67 72 61 70 68 71 6c 2d 70 61 79 6c 6f 61 64 20 28 6f 70 65 72 61 74 69 6f 6e 20 71 75 65 72 -graphql-payload.(operation.quer
4fa0 79 20 26 6f 70 74 69 6f 6e 61 6c 20 76 61 72 73 29 0a 20 20 22 43 6f 6e 73 74 72 75 63 74 20 47 y.&optional.vars)..."Construct.G
4fc0 72 61 70 68 51 4c 20 72 65 71 75 65 73 74 20 70 61 79 6c 6f 61 64 20 77 69 74 68 20 4f 50 45 52 raphQL.request.payload.with.OPER
4fe0 41 54 49 4f 4e 2c 20 51 55 45 52 59 20 6f 72 20 6d 61 79 62 65 20 56 41 52 53 2e 22 0a 20 20 28 ATION,.QUERY.or.maybe.VARS."...(
5000 6a 73 6f 6e 2d 65 6e 63 6f 64 65 0a 20 20 20 28 6c 65 74 20 28 28 72 65 74 20 60 28 28 22 6f 70 json-encode....(let.((ret.`(("op
5020 65 72 61 74 69 6f 6e 4e 61 6d 65 22 20 2e 20 2c 6f 70 65 72 61 74 69 6f 6e 29 0a 20 20 20 20 20 erationName"...,operation)......
5040 20 20 20 20 20 20 20 20 20 20 20 28 22 71 75 65 72 79 22 20 2e 20 2c 71 75 65 72 79 29 29 29 29 ...........("query"...,query))))
5060 0a 20 20 20 20 20 28 69 66 20 76 61 72 73 20 60 28 2c 40 72 65 74 20 28 22 76 61 72 69 61 62 6c ......(if.vars.`(,@ret.("variabl
5080 65 73 22 20 2e 20 2c 76 61 72 73 29 29 20 72 65 74 29 29 29 29 0a 0a 0a 28 64 65 66 6d 61 63 72 es"...,vars)).ret))))...(defmacr
50a0 6f 20 6c 65 65 74 63 6f 64 65 2d 2d 64 65 66 69 6e 65 2d 67 72 61 70 68 71 6c 20 28 71 75 65 72 o.leetcode--define-graphql.(quer
50c0 79 2d 6e 61 6d 65 20 61 72 67 73 20 26 72 65 73 74 20 62 6f 64 79 29 0a 20 20 22 44 65 66 69 6e y-name.args.&rest.body)..."Defin
50e0 65 20 4c 65 65 74 43 6f 64 65 20 47 72 61 70 68 51 4c 20 71 75 65 72 69 65 73 2e 0a 44 65 66 69 e.LeetCode.GraphQL.queries..Defi
5100 6e 65 20 61 20 66 75 6e 63 74 69 6f 6e 20 77 69 74 68 20 6e 61 6d 65 20 6f 66 20 27 6c 65 65 74 ne.a.function.with.name.of.'leet
5120 63 6f 64 65 2d 2d 66 65 74 63 68 2d 3c 51 55 45 52 59 2d 4e 41 4d 45 3e 27 2c 0a 61 6e 64 20 74 code--fetch-<QUERY-NAME>',.and.t
5140 68 65 20 41 52 47 53 20 77 69 6c 6c 20 62 65 20 74 68 65 20 61 72 67 75 6d 65 6e 74 73 20 6f 66 he.ARGS.will.be.the.arguments.of
5160 20 74 68 65 20 64 65 66 69 6e 65 64 20 66 75 6e 63 74 69 6f 6e 2e 20 42 4f 44 59 0a 77 69 6c 6c .the.defined.function..BODY.will
5180 20 62 65 20 65 78 65 63 75 74 65 64 20 77 68 65 6e 20 71 75 65 72 79 20 73 75 63 63 65 73 73 66 .be.executed.when.query.successf
51a0 75 6c 6c 79 2e 0a 0a 47 72 61 70 68 51 4c 20 72 65 71 75 65 73 74 20 69 73 20 64 65 66 69 6e 65 ully...GraphQL.request.is.define
51c0 64 20 77 69 74 68 20 27 6c 65 65 74 63 6f 64 65 2d 2d 67 72 61 70 68 71 6c 2d 3c 51 55 45 52 59 d.with.'leetcode--graphql-<QUERY
51e0 2d 4e 41 4d 45 3e 27 2e 0a 49 6e 20 74 68 65 20 47 72 61 71 68 51 4c 20 72 65 71 75 65 73 74 20 -NAME>'..In.the.GraqhQL.request.
5200 62 6f 64 79 2c 20 6f 70 65 72 61 74 69 6f 6e 20 6e 61 6d 65 20 69 73 20 6c 6f 77 65 72 20 63 61 body,.operation.name.is.lower.ca
5220 6d 65 6c 20 63 61 73 65 0a 6f 66 20 51 55 45 52 59 2d 4e 41 4d 45 2e 22 0a 20 20 28 64 65 63 6c mel.case.of.QUERY-NAME."...(decl
5240 61 72 65 20 28 69 6e 64 65 6e 74 20 64 65 66 75 6e 29 20 28 64 6f 63 2d 73 74 72 69 6e 67 20 33 are.(indent.defun).(doc-string.3
5260 29 29 0a 20 20 28 6c 65 74 20 28 28 76 61 72 69 61 62 6c 65 73 20 28 6d 61 70 63 61 72 20 28 6c ))...(let.((variables.(mapcar.(l
5280 61 6d 62 64 61 20 28 61 72 67 29 20 60 28 63 6f 6e 73 20 28 73 2d 6c 6f 77 65 72 2d 63 61 6d 65 ambda.(arg).`(cons.(s-lower-came
52a0 6c 2d 63 61 73 65 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 27 2c 61 72 67 29 29 20 2c 61 72 67 l-case.(symbol-name.',arg)).,arg
52c0 29 29 20 61 72 67 73 29 29 29 0a 20 20 20 20 60 28 61 69 6f 2d 64 65 66 75 6e 20 2c 28 69 6e 74 )).args))).....`(aio-defun.,(int
52e0 65 72 6e 20 28 63 6f 6e 63 61 74 20 22 6c 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 2d 22 20 28 ern.(concat."leetcode--fetch-".(
5300 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 71 75 65 72 79 2d 6e 61 6d 65 29 29 29 20 2c 61 72 67 73 0a symbol-name.query-name))).,args.
5320 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 67 72 61 70 68 71 6c 2d 6f 70 65 72 61 74 69 6f 6e .......(let*.((graphql-operation
5340 2d 6e 61 6d 65 20 2c 28 73 2d 6c 6f 77 65 72 2d 63 61 6d 65 6c 2d 63 61 73 65 20 28 73 79 6d 62 -name.,(s-lower-camel-case.(symb
5360 6f 6c 2d 6e 61 6d 65 20 71 75 65 72 79 2d 6e 61 6d 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 ol-name.query-name)))...........
5380 20 20 20 20 28 67 72 61 70 68 71 6c 2d 62 6f 64 79 20 2c 28 69 6e 74 65 72 6e 20 28 63 6f 6e 63 ....(graphql-body.,(intern.(conc
53a0 61 74 20 22 6c 65 65 74 63 6f 64 65 2d 2d 67 72 61 70 68 71 6c 2d 22 20 28 73 79 6d 62 6f 6c 2d at."leetcode--graphql-".(symbol-
53c0 6e 61 6d 65 20 71 75 65 72 79 2d 6e 61 6d 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 name.query-name)))).............
53e0 20 20 28 70 61 79 6c 6f 61 64 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 72 61 70 68 71 6c 2d 70 61 ..(payload.(leetcode--graphql-pa
5400 79 6c 6f 61 64 20 67 72 61 70 68 71 6c 2d 6f 70 65 72 61 74 69 6f 6e 2d 6e 61 6d 65 0a 20 20 20 yload.graphql-operation-name....
5420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
5440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 72 61 70 68 71 6c 2d 62 6f 64 79 0a 20 20 20 20 ...............graphql-body.....
5460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
5480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 69 73 74 20 2c 40 76 61 72 69 61 62 6c 65 73 29 ..............(list.,@variables)
54a0 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 72 6c 2d 72 65 71 75 65 73 74 2d 6d 65 ))...............(url-request-me
54c0 74 68 6f 64 20 22 50 4f 53 54 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 72 6c 2d thod."POST")...............(url-
54e0 72 65 71 75 65 73 74 2d 65 78 74 72 61 2d 68 65 61 64 65 72 73 20 60 28 2c 6c 65 65 74 63 6f 64 request-extra-headers.`(,leetcod
5500 65 2d 2d 55 73 65 72 2d 41 67 65 6e 74 20 2c 6c 65 65 74 63 6f 64 65 2d 2d 43 6f 6e 74 65 6e 74 e--User-Agent.,leetcode--Content
5520 2d 54 79 70 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 75 72 6c 2d 72 65 71 75 65 -Type))...............(url-reque
5540 73 74 2d 64 61 74 61 20 70 61 79 6c 6f 61 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 st-data.payload)...............(
5560 72 65 73 70 6f 6e 73 65 20 28 61 69 6f 2d 61 77 61 69 74 20 28 61 69 6f 2d 75 72 6c 2d 72 65 74 response.(aio-await.(aio-url-ret
5580 72 69 65 76 65 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 67 72 61 70 68 71 6c 29 29 29 0a 20 rieve.leetcode--url-graphql)))..
55a0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 73 70 6f 6e 73 65 2d 73 74 61 74 75 73 20 28 63 .............(response-status.(c
55c0 61 72 20 72 65 73 70 6f 6e 73 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 73 ar.response))...............(res
55e0 70 6f 6e 73 65 2d 62 75 66 66 65 72 20 28 63 64 72 20 72 65 73 70 6f 6e 73 65 29 29 29 0a 20 20 ponse-buffer.(cdr.response)))...
5600 20 20 20 20 20 20 20 28 69 66 2d 6c 65 74 20 28 28 65 72 72 6f 72 20 28 70 6c 69 73 74 2d 67 65 .......(if-let.((error.(plist-ge
5620 74 20 72 65 73 70 6f 6e 73 65 2d 73 74 61 74 75 73 20 3a 65 72 72 6f 72 29 29 29 0a 20 20 20 20 t.response-status.:error))).....
5640 20 20 20 20 20 20 20 20 20 28 73 77 69 74 68 2d 74 6f 2d 62 75 66 66 65 72 20 72 65 73 70 6f 6e .........(swith-to-buffer.respon
5660 73 65 2d 62 75 66 66 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2d 61 6c 69 73 74 se-buffer)............(let-alist
5680 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 72 65 73 70 6f 6e 73 65 2d 62 .(with-current-buffer.response-b
56a0 75 66 66 65 72 20 28 67 6f 74 6f 2d 63 68 61 72 20 75 72 6c 2d 68 74 74 70 2d 65 6e 64 2d 6f 66 uffer.(goto-char.url-http-end-of
56c0 2d 68 65 61 64 65 72 73 29 20 28 6a 73 6f 6e 2d 72 65 61 64 29 29 0a 20 20 20 20 20 20 20 20 20 -headers).(json-read))..........
56e0 20 20 20 20 2c 40 62 6f 64 79 29 29 29 29 29 29 0a 0a 28 6c 65 65 74 63 6f 64 65 2d 2d 64 65 66 ....,@body))))))..(leetcode--def
5700 69 6e 65 2d 67 72 61 70 68 71 6c 20 67 6c 6f 62 61 6c 2d 64 61 74 61 20 28 29 0a 20 20 28 73 65 ine-graphql.global-data.()...(se
5720 74 66 20 28 6c 65 65 74 63 6f 64 65 2d 75 73 65 72 2d 69 64 20 6c 65 65 74 63 6f 64 65 2d 2d 75 tf.(leetcode-user-id.leetcode--u
5740 73 65 72 29 20 2e 64 61 74 61 2e 75 73 65 72 53 74 61 74 75 73 2e 75 73 65 72 49 64 29 0a 20 20 ser)..data.userStatus.userId)...
5760 28 73 65 74 66 20 28 6c 65 65 74 63 6f 64 65 2d 75 73 65 72 2d 75 73 65 72 6e 61 6d 65 20 6c 65 (setf.(leetcode-user-username.le
5780 65 74 63 6f 64 65 2d 2d 75 73 65 72 29 20 2e 64 61 74 61 2e 75 73 65 72 53 74 61 74 75 73 2e 75 etcode--user)..data.userStatus.u
57a0 73 65 72 6e 61 6d 65 29 0a 20 20 28 73 65 74 66 20 28 6c 65 65 74 63 6f 64 65 2d 75 73 65 72 2d sername)...(setf.(leetcode-user-
57c0 69 73 2d 70 72 65 6d 69 75 6d 20 6c 65 65 74 63 6f 64 65 2d 2d 75 73 65 72 29 20 2e 64 61 74 61 is-premium.leetcode--user)..data
57e0 2e 75 73 65 72 53 74 61 74 75 73 2e 69 73 50 72 65 6d 69 75 6d 29 29 0a 0a 28 6c 65 65 74 63 6f .userStatus.isPremium))..(leetco
5800 64 65 2d 2d 64 65 66 69 6e 65 2d 67 72 61 70 68 71 6c 20 70 72 6f 62 6c 65 6d 73 65 74 2d 71 75 de--define-graphql.problemset-qu
5820 65 73 74 69 6f 6e 2d 6c 69 73 74 20 28 63 61 74 65 67 6f 72 79 2d 73 6c 75 67 20 73 6b 69 70 20 estion-list.(category-slug.skip.
5840 6c 69 6d 69 74 20 66 69 6c 74 65 72 73 29 0a 20 20 3b 3b 20 70 72 6f 62 6c 65 6d 20 6c 69 73 74 limit.filters)...;;.problem.list
5860 0a 20 20 28 73 65 74 66 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 73 2d 6e 75 6d 20 ...(setf.(leetcode-problems-num.
5880 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 29 20 2e 64 61 74 61 2e 70 72 6f 62 6c 65 leetcode--problems)..data.proble
58a0 6d 73 65 74 51 75 65 73 74 69 6f 6e 4c 69 73 74 2e 74 6f 74 61 6c 0a 20 20 20 20 20 20 20 20 28 msetQuestionList.total.........(
58c0 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 73 2d 74 61 67 20 6c 65 65 74 63 6f 64 65 2d 2d leetcode-problems-tag.leetcode--
58e0 70 72 6f 62 6c 65 6d 73 29 20 22 61 6c 6c 22 29 0a 20 20 28 6c 65 74 20 28 70 72 6f 62 6c 65 6d problems)."all")...(let.(problem
5900 73 29 0a 20 20 20 20 28 64 6f 74 69 6d 65 73 20 28 69 20 2e 64 61 74 61 2e 70 72 6f 62 6c 65 6d s).....(dotimes.(i..data.problem
5920 73 65 74 51 75 65 73 74 69 6f 6e 4c 69 73 74 2e 74 6f 74 61 6c 29 0a 20 20 20 20 20 20 28 6c 65 setQuestionList.total).......(le
5940 74 2d 61 6c 69 73 74 20 28 61 72 65 66 20 2e 64 61 74 61 2e 70 72 6f 62 6c 65 6d 73 65 74 51 75 t-alist.(aref..data.problemsetQu
5960 65 73 74 69 6f 6e 4c 69 73 74 2e 71 75 65 73 74 69 6f 6e 73 20 69 29 0a 20 20 20 20 20 20 20 20 estionList.questions.i).........
5980 28 70 75 73 68 20 28 6d 61 6b 65 2d 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 0a 20 20 20 (push.(make-leetcode-problem....
59a0 20 20 20 20 20 20 20 20 20 20 20 20 3a 73 74 61 74 75 73 20 20 20 20 20 2e 73 74 61 74 75 73 0a ............:status......status.
59c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 69 64 20 20 20 20 20 20 20 20 20 2e 66 72 6f 6e ...............:id..........fron
59e0 74 65 6e 64 51 75 65 73 74 69 6f 6e 49 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 74 tendQuestionId................:t
5a00 69 74 6c 65 20 20 20 20 20 20 2e 74 69 74 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 itle.......title................
5a20 3a 74 69 74 6c 65 2d 73 6c 75 67 20 2e 74 69 74 6c 65 53 6c 75 67 0a 20 20 20 20 20 20 20 20 20 :title-slug..titleSlug..........
5a40 20 20 20 20 20 20 3a 61 63 63 65 70 74 61 6e 63 65 20 28 66 6f 72 6d 61 74 20 22 25 2e 31 66 25 ......:acceptance.(format."%.1f%
5a60 25 22 20 2e 61 63 52 61 74 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 64 69 66 66 %"..acRate)................:diff
5a80 69 63 75 6c 74 79 20 2e 64 69 66 66 69 63 75 6c 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 iculty..difficulty..............
5aa0 20 20 3a 70 61 69 64 2d 6f 6e 6c 79 20 20 28 65 71 20 2e 70 61 69 64 4f 6e 6c 79 20 74 29 0a 20 ..:paid-only..(eq..paidOnly.t)..
5ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 74 61 67 73 20 20 20 20 20 20 20 28 73 65 71 2d 72 ..............:tags.......(seq-r
5ae0 65 64 75 63 65 20 28 6c 61 6d 62 64 61 20 28 74 61 67 73 20 74 61 67 29 0a 20 20 20 20 20 20 20 educe.(lambda.(tags.tag)........
5b00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
5b20 20 20 28 6c 65 74 2d 61 6c 69 73 74 20 74 61 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..(let-alist.tag................
5b40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 ............................(pus
5b60 68 20 2e 73 6c 75 67 20 74 61 67 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 h..slug.tags))).................
5b80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 74 6f 70 69 63 54 61 67 ........................topicTag
5ba0 73 20 27 28 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 62 6c 65 6d 73 29 0a s.'()))...............problems).
5bc0 20 20 20 20 20 20 20 20 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 61 6c 6c 2d 74 61 67 73 ........(setq.leetcode--all-tags
5be0 20 28 61 70 70 65 6e 64 20 6c 65 65 74 63 6f 64 65 2d 2d 61 6c 6c 2d 74 61 67 73 20 28 6c 65 65 .(append.leetcode--all-tags.(lee
5c00 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 61 67 73 20 28 63 61 72 20 70 72 6f 62 6c 65 6d 73 tcode-problem-tags.(car.problems
5c20 29 29 29 29 29 29 0a 20 20 20 20 28 73 65 74 66 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c )))))).....(setf.(leetcode-probl
5c40 65 6d 73 2d 70 72 6f 62 6c 65 6d 73 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 29 ems-problems.leetcode--problems)
5c60 20 28 6e 72 65 76 65 72 73 65 20 70 72 6f 62 6c 65 6d 73 29 29 0a 20 20 20 20 3b 3b 20 70 72 6f .(nreverse.problems)).....;;.pro
5c80 62 6c 65 6d 20 74 61 67 73 0a 20 20 20 20 28 64 65 6c 65 74 65 2d 64 75 70 73 20 6c 65 65 74 63 blem.tags.....(delete-dups.leetc
5ca0 6f 64 65 2d 2d 61 6c 6c 2d 74 61 67 73 29 29 29 0a 0a 28 6c 65 65 74 63 6f 64 65 2d 2d 64 65 66 ode--all-tags)))..(leetcode--def
5cc0 69 6e 65 2d 67 72 61 70 68 71 6c 20 71 75 65 73 74 69 6f 6e 2d 63 6f 6e 74 65 6e 74 20 28 74 69 ine-graphql.question-content.(ti
5ce0 74 6c 65 2d 73 6c 75 67 29 0a 20 20 28 6c 65 74 20 28 28 70 72 6f 62 6c 65 6d 20 28 6c 65 65 74 tle-slug)...(let.((problem.(leet
5d00 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 29 0a code--get-problem.title-slug))).
5d20 20 20 20 20 28 69 66 20 70 72 6f 62 6c 65 6d 0a 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 ....(if.problem.........(progn..
5d40 20 20 20 20 20 20 20 20 20 28 73 65 74 66 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d .........(setf.(leetcode-problem
5d60 2d 63 6f 6e 74 65 6e 74 20 70 72 6f 62 6c 65 6d 29 20 2e 64 61 74 61 2e 71 75 65 73 74 69 6f 6e -content.problem)..data.question
5d80 2e 63 6f 6e 74 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 .content)...........problem)....
5da0 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 22 4c 65 65 74 43 6f 64 65 20 70 72 6f 62 6c 65 6d ...(user-error."LeetCode.problem
5dc0 20 6e 6f 74 20 66 6f 75 6e 64 3a 20 25 73 22 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 29 29 0a 0a .not.found:.%s".title-slug))))..
5de0 28 6c 65 65 74 63 6f 64 65 2d 2d 64 65 66 69 6e 65 2d 67 72 61 70 68 71 6c 20 71 75 65 73 74 69 (leetcode--define-graphql.questi
5e00 6f 6e 2d 74 69 74 6c 65 20 28 74 69 74 6c 65 2d 73 6c 75 67 29 0a 20 20 28 6c 65 74 20 28 28 70 on-title.(title-slug)...(let.((p
5e20 72 6f 62 6c 65 6d 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 20 74 69 roblem.(leetcode--get-problem.ti
5e40 74 6c 65 2d 73 6c 75 67 29 29 29 0a 20 20 20 20 28 69 66 20 70 72 6f 62 6c 65 6d 0a 20 20 20 20 tle-slug))).....(if.problem.....
5e60 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 66 20 28 6c 65 65 74 ....(progn...........(setf.(leet
5e80 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 6c 69 6b 65 73 20 70 72 6f 62 6c 65 6d 29 20 2e 64 61 74 code-problem-likes.problem)..dat
5ea0 61 2e 71 75 65 73 74 69 6f 6e 2e 6c 69 6b 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 a.question.likes)...........(set
5ec0 66 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 64 69 73 6c 69 6b 65 73 20 70 72 6f f.(leetcode-problem-dislikes.pro
5ee0 62 6c 65 6d 29 20 2e 64 61 74 61 2e 71 75 65 73 74 69 6f 6e 2e 64 69 73 6c 69 6b 65 73 29 0a 20 blem)..data.question.dislikes)..
5f00 20 20 20 20 20 20 20 20 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 .........problem).......(user-er
5f20 72 6f 72 20 22 4c 65 65 74 43 6f 64 65 20 70 72 6f 62 6c 65 6d 20 6e 6f 74 20 66 6f 75 6e 64 3a ror."LeetCode.problem.not.found:
5f40 20 25 73 22 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 29 29 0a 0a 28 6c 65 65 74 63 6f 64 65 2d 2d .%s".title-slug))))..(leetcode--
5f60 64 65 66 69 6e 65 2d 67 72 61 70 68 71 6c 20 63 6f 6e 73 6f 6c 65 2d 70 61 6e 65 6c 2d 63 6f 6e define-graphql.console-panel-con
5f80 66 69 67 20 28 74 69 74 6c 65 2d 73 6c 75 67 29 0a 20 20 28 6c 65 74 20 28 28 69 64 20 2e 64 61 fig.(title-slug)...(let.((id..da
5fa0 74 61 2e 71 75 65 73 74 69 6f 6e 2e 71 75 65 73 74 69 6f 6e 46 72 6f 6e 74 65 6e 64 49 64 29 0a ta.question.questionFrontendId).
5fc0 20 20 20 20 20 20 20 20 28 74 65 73 74 63 61 73 65 73 20 28 61 70 70 65 6e 64 20 2e 64 61 74 61 ........(testcases.(append..data
5fe0 2e 71 75 65 73 74 69 6f 6e 2e 65 78 61 6d 70 6c 65 54 65 73 74 63 61 73 65 4c 69 73 74 20 6e 69 .question.exampleTestcaseList.ni
6000 6c 29 29 0a 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c 65 6d 20 28 6c 65 65 74 63 6f 64 65 2d 2d l)).........(problem.(leetcode--
6020 67 65 74 2d 70 72 6f 62 6c 65 6d 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 29 0a 20 20 20 20 28 69 get-problem.title-slug))).....(i
6040 66 20 70 72 6f 62 6c 65 6d 0a 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 f.problem.........(progn........
6060 20 20 20 28 73 65 74 66 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 65 73 74 63 ...(setf.(leetcode-problem-testc
6080 61 73 65 73 20 70 72 6f 62 6c 65 6d 29 20 74 65 73 74 63 61 73 65 73 29 0a 20 20 20 20 20 20 20 ases.problem).testcases)........
60a0 20 20 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 22 4c ...problem).......(user-error."L
60c0 65 65 74 43 6f 64 65 20 70 72 6f 62 6c 65 6d 20 6e 6f 74 20 66 6f 75 6e 64 3a 20 25 73 22 20 74 eetCode.problem.not.found:.%s".t
60e0 69 74 6c 65 2d 73 6c 75 67 29 29 29 29 0a 0a 28 6c 65 65 74 63 6f 64 65 2d 2d 64 65 66 69 6e 65 itle-slug))))..(leetcode--define
6100 2d 67 72 61 70 68 71 6c 20 71 75 65 73 74 69 6f 6e 2d 65 64 69 74 6f 72 2d 64 61 74 61 20 28 74 -graphql.question-editor-data.(t
6120 69 74 6c 65 2d 73 6c 75 67 29 0a 20 20 28 6c 65 74 20 28 28 69 64 20 2e 64 61 74 61 2e 71 75 65 itle-slug)...(let.((id..data.que
6140 73 74 69 6f 6e 2e 71 75 65 73 74 69 6f 6e 46 72 6f 6e 74 65 6e 64 49 64 29 0a 20 20 20 20 20 20 stion.questionFrontendId).......
6160 20 20 28 70 72 6f 62 6c 65 6d 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 ..(problem.(leetcode--get-proble
6180 6d 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 0a 20 20 20 20 20 20 20 20 28 73 6e 69 70 70 65 74 73 m.title-slug)).........(snippets
61a0 20 28 73 65 71 2d 6d 61 70 20 28 6c 61 6d 62 64 61 20 28 73 6e 69 70 70 65 74 2d 61 6c 69 73 74 .(seq-map.(lambda.(snippet-alist
61c0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 )..............................(
61e0 6c 65 74 2d 61 6c 69 73 74 20 73 6e 69 70 70 65 74 2d 61 6c 69 73 74 0a 20 20 20 20 20 20 20 20 let-alist.snippet-alist.........
6200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 6b 65 2d 6c 65 65 .......................(make-lee
6220 74 63 6f 64 65 2d 73 6e 69 70 70 65 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tcode-snippet...................
6240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 6c 61 6e 67 20 20 20 20 20 20 2e 6c 61 6e 67 0a 20 ..............:lang.......lang..
6260 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a ...............................:
6280 6c 61 6e 67 2d 73 6c 75 67 20 2e 6c 61 6e 67 53 6c 75 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 lang-slug..langSlug.............
62a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 63 6f 64 65 20 20 20 20 20 20 2e ....................:code.......
62c0 63 6f 64 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 code))).........................
62e0 20 20 20 2e 64 61 74 61 2e 71 75 65 73 74 69 6f 6e 2e 63 6f 64 65 53 6e 69 70 70 65 74 73 29 29 ....data.question.codeSnippets))
6300 29 0a 20 20 20 20 28 69 66 20 70 72 6f 62 6c 65 6d 0a 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e ).....(if.problem.........(progn
6320 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 66 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c ...........(setf.(leetcode-probl
6340 65 6d 2d 73 6e 69 70 70 65 74 73 20 70 72 6f 62 6c 65 6d 29 20 73 6e 69 70 70 65 74 73 29 0a 20 em-snippets.problem).snippets)..
6360 20 20 20 20 20 20 20 20 20 28 73 65 74 66 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d .........(setf.(leetcode-problem
6380 2d 62 61 63 6b 65 6e 64 2d 69 64 20 70 72 6f 62 6c 65 6d 29 20 2e 64 61 74 61 2e 71 75 65 73 74 -backend-id.problem)..data.quest
63a0 69 6f 6e 2e 71 75 65 73 74 69 6f 6e 49 64 29 0a 20 20 20 20 20 20 20 20 20 20 70 72 6f 62 6c 65 ion.questionId)...........proble
63c0 6d 29 0a 20 20 20 20 20 20 28 75 73 65 72 2d 65 72 72 6f 72 20 22 4c 65 65 74 43 6f 64 65 20 70 m).......(user-error."LeetCode.p
63e0 72 6f 62 6c 65 6d 20 6e 6f 74 20 66 6f 75 6e 64 3a 20 25 73 22 20 74 69 74 6c 65 2d 73 6c 75 67 roblem.not.found:.%s".title-slug
6400 29 29 29 29 0a 0a 28 64 65 66 61 6c 69 61 73 20 27 6c 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 ))))..(defalias.'leetcode--fetch
6420 2d 75 73 65 72 2d 73 74 61 74 75 73 20 28 73 79 6d 62 6f 6c 2d 66 75 6e 63 74 69 6f 6e 20 27 6c -user-status.(symbol-function.'l
6440 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 2d 67 6c 6f 62 61 6c 2d 64 61 74 61 29 29 0a 28 64 65 eetcode--fetch-global-data)).(de
6460 66 61 6c 69 61 73 20 27 6c 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 2d 71 75 65 73 74 69 6f 6e falias.'leetcode--fetch-question
6480 2d 6c 69 73 74 20 28 73 79 6d 62 6f 6c 2d 66 75 6e 63 74 69 6f 6e 20 27 6c 65 65 74 63 6f 64 65 -list.(symbol-function.'leetcode
64a0 2d 2d 66 65 74 63 68 2d 70 72 6f 62 6c 65 6d 73 65 74 2d 71 75 65 73 74 69 6f 6e 2d 6c 69 73 74 --fetch-problemset-question-list
64c0 29 29 0a 28 64 65 66 61 6c 69 61 73 20 27 6c 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 2d 71 75 )).(defalias.'leetcode--fetch-qu
64e0 65 73 74 69 6f 6e 2d 74 65 73 74 63 61 73 65 73 20 28 73 79 6d 62 6f 6c 2d 66 75 6e 63 74 69 6f estion-testcases.(symbol-functio
6500 6e 20 27 6c 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 2d 63 6f 6e 73 6f 6c 65 2d 70 61 6e 65 6c n.'leetcode--fetch-console-panel
6520 2d 63 6f 6e 66 69 67 29 29 0a 28 64 65 66 61 6c 69 61 73 20 27 6c 65 65 74 63 6f 64 65 2d 2d 66 -config)).(defalias.'leetcode--f
6540 65 74 63 68 2d 71 75 65 73 74 69 6f 6e 2d 73 6e 69 70 70 65 74 73 20 28 73 79 6d 62 6f 6c 2d 66 etch-question-snippets.(symbol-f
6560 75 6e 63 74 69 6f 6e 20 27 6c 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 2d 71 75 65 73 74 69 6f unction.'leetcode--fetch-questio
6580 6e 2d 65 64 69 74 6f 72 2d 64 61 74 61 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 n-editor-data))..(aio-defun.leet
65a0 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 71 75 65 73 74 69 6f 6e 2d 74 69 74 6c 65 20 28 70 72 6f code--ensure-question-title.(pro
65c0 62 6c 65 6d 29 0a 20 20 28 69 66 20 28 61 6e 64 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c blem)...(if.(and.(leetcode-probl
65e0 65 6d 2d 64 69 73 6c 69 6b 65 73 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 em-dislikes.problem)............
6600 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 6c 69 6b 65 73 20 70 72 6f 62 6c 65 6d 29 (leetcode-problem-likes.problem)
6620 29 0a 20 20 20 20 20 20 70 72 6f 62 6c 65 6d 0a 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 ).......problem.....(aio-await.(
6640 6c 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 2d 71 75 65 73 74 69 6f 6e 2d 74 69 74 6c 65 0a 20 leetcode--fetch-question-title..
6660 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d ...............(leetcode-problem
6680 2d 74 69 74 6c 65 2d 73 6c 75 67 20 70 72 6f 62 6c 65 6d 29 29 29 29 29 0a 0a 28 61 69 6f 2d 64 -title-slug.problem)))))..(aio-d
66a0 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 71 75 65 73 74 69 6f 6e 2d 63 efun.leetcode--ensure-question-c
66c0 6f 6e 74 65 6e 74 20 28 70 72 6f 62 6c 65 6d 29 0a 20 20 28 69 66 20 28 6c 65 65 74 63 6f 64 65 ontent.(problem)...(if.(leetcode
66e0 2d 70 72 6f 62 6c 65 6d 2d 63 6f 6e 74 65 6e 74 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 -problem-content.problem).......
6700 70 72 6f 62 6c 65 6d 0a 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 problem.....(aio-await.(leetcode
6720 2d 2d 66 65 74 63 68 2d 71 75 65 73 74 69 6f 6e 2d 63 6f 6e 74 65 6e 74 0a 20 20 20 20 20 20 20 --fetch-question-content........
6740 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 .........(leetcode-problem-title
6760 2d 73 6c 75 67 20 70 72 6f 62 6c 65 6d 29 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c -slug.problem)))))..(aio-defun.l
6780 65 65 74 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 71 75 65 73 74 69 6f 6e 2d 73 6e 69 70 70 65 74 eetcode--ensure-question-snippet
67a0 73 20 28 70 72 6f 62 6c 65 6d 29 0a 20 20 28 69 66 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 s.(problem)...(if.(leetcode-prob
67c0 6c 65 6d 2d 73 6e 69 70 70 65 74 73 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 70 72 6f 62 lem-snippets.problem).......prob
67e0 6c 65 6d 0a 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 66 65 lem.....(aio-await.(leetcode--fe
6800 74 63 68 2d 71 75 65 73 74 69 6f 6e 2d 73 6e 69 70 70 65 74 73 0a 20 20 20 20 20 20 20 20 20 20 tch-question-snippets...........
6820 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 2d 73 6c ......(leetcode-problem-title-sl
6840 75 67 20 70 72 6f 62 6c 65 6d 29 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 ug.problem)))))..(aio-defun.leet
6860 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 71 75 65 73 74 69 6f 6e 2d 74 65 73 74 63 61 73 65 73 20 code--ensure-question-testcases.
6880 28 70 72 6f 62 6c 65 6d 29 0a 20 20 28 69 66 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 (problem)...(if.(leetcode-proble
68a0 6d 2d 74 65 73 74 63 61 73 65 73 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 70 72 6f 62 6c m-testcases.problem).......probl
68c0 65 6d 0a 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 66 65 74 em.....(aio-await.(leetcode--fet
68e0 63 68 2d 71 75 65 73 74 69 6f 6e 2d 74 65 73 74 63 61 73 65 73 0a 20 20 20 20 20 20 20 20 20 20 ch-question-testcases...........
6900 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 2d 73 6c ......(leetcode-problem-title-sl
6920 75 67 20 70 72 6f 62 6c 65 6d 29 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 ug.problem)))))..(aio-defun.leet
6940 63 6f 64 65 2d 2d 61 70 69 2d 69 6e 74 65 72 70 72 65 74 2d 73 6f 6c 75 74 69 6f 6e 20 20 28 70 code--api-interpret-solution..(p
6960 72 6f 62 6c 65 6d 29 0a 20 20 22 46 65 74 63 68 20 50 52 4f 42 4c 45 4d 20 69 6e 74 65 72 70 72 roblem)..."Fetch.PROBLEM.interpr
6980 65 74 5f 69 64 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 74 69 74 6c 65 2d 73 6c 75 67 20 28 6c 65 et_id."...(let*.((title-slug.(le
69a0 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 2d 73 6c 75 67 20 70 72 6f 62 6c 65 etcode-problem-title-slug.proble
69c0 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c 65 6d 2d 69 64 20 28 6c 65 65 74 63 6f m))..........(problem-id.(leetco
69e0 64 65 2d 70 72 6f 62 6c 65 6d 2d 69 64 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 de-problem-id.problem)).........
6a00 20 28 62 61 63 6b 65 6e 64 2d 69 64 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 62 .(backend-id.(leetcode-problem-b
6a20 61 63 6b 65 6e 64 2d 69 64 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 ackend-id.problem))..........(pa
6a40 79 6c 6f 61 64 20 28 6a 73 6f 6e 2d 65 6e 63 6f 64 65 20 60 28 28 64 61 74 61 5f 69 6e 70 75 74 yload.(json-encode.`((data_input
6a60 20 2e 20 2c 28 6c 65 65 74 63 6f 64 65 2d 2d 74 65 73 74 63 61 73 65 2d 62 75 66 66 65 72 2d 64 ...,(leetcode--testcase-buffer-d
6a80 61 74 61 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ata.problem-id))................
6aa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6e 67 20 2e 20 2c 6c 65 65 74 63 ..................(lang...,leetc
6ac0 6f 64 65 2d 2d 6c 61 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ode--lang)......................
6ae0 20 20 20 20 20 20 20 20 20 20 20 20 28 71 75 65 73 74 69 6f 6e 5f 69 64 20 2e 20 2c 62 61 63 6b ............(question_id...,back
6b00 65 6e 64 2d 69 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 end-id).........................
6b20 20 20 20 20 20 20 20 20 20 28 74 79 70 65 64 5f 63 6f 64 65 20 2e 20 2c 28 6c 65 65 74 63 6f 64 .........(typed_code...,(leetcod
6b40 65 2d 2d 63 6f 64 65 2d 62 75 66 66 65 72 2d 64 61 74 61 29 29 29 29 29 0a 20 20 20 20 20 20 20 e--code-buffer-data)))))........
6b60 20 20 28 75 72 6c 2d 72 65 71 75 65 73 74 2d 6d 65 74 68 6f 64 20 22 50 4f 53 54 22 29 0a 20 20 ..(url-request-method."POST")...
6b80 20 20 20 20 20 20 20 28 75 72 6c 2d 72 65 71 75 65 73 74 2d 65 78 74 72 61 2d 68 65 61 64 65 72 .......(url-request-extra-header
6ba0 73 20 60 28 2c 40 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 6d 6d s.`(,@(aio-await.(leetcode--comm
6bc0 6f 6e 2d 65 78 74 72 61 2d 68 65 61 64 65 72 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 on-extra-headers))..............
6be0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 6c 65 65 74 63 .........................,(leetc
6c00 6f 64 65 2d 2d 72 65 66 65 72 65 72 20 28 66 6f 72 6d 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 ode--referer.(format.leetcode--u
6c20 72 6c 2d 70 72 6f 62 6c 65 6d 73 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 29 29 0a 20 20 20 20 20 rl-problems.title-slug))))......
6c40 20 20 20 20 28 75 72 6c 2d 72 65 71 75 65 73 74 2d 64 61 74 61 20 70 61 79 6c 6f 61 64 29 0a 20 ....(url-request-data.payload)..
6c60 20 20 20 20 20 20 20 20 28 72 65 73 70 6f 6e 73 65 20 28 61 69 6f 2d 61 77 61 69 74 20 28 61 69 ........(response.(aio-await.(ai
6c80 6f 2d 75 72 6c 2d 72 65 74 72 69 65 76 65 20 28 66 6f 72 6d 61 74 20 6c 65 65 74 63 6f 64 65 2d o-url-retrieve.(format.leetcode-
6ca0 2d 75 72 6c 2d 74 72 79 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 29 29 0a 20 20 20 20 20 20 20 20 -url-try.title-slug)))).........
6cc0 20 28 72 65 73 70 6f 6e 73 65 2d 73 74 61 74 75 73 20 28 63 61 72 20 72 65 73 70 6f 6e 73 65 29 .(response-status.(car.response)
6ce0 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 73 70 6f 6e 73 65 2d 62 75 66 66 65 72 20 28 63 64 72 )..........(response-buffer.(cdr
6d00 20 72 65 73 70 6f 6e 73 65 29 29 29 0a 20 20 20 20 28 69 66 2d 6c 65 74 20 28 28 65 72 72 6f 72 .response))).....(if-let.((error
6d20 2d 69 6e 66 6f 20 28 70 6c 69 73 74 2d 67 65 74 20 72 65 73 70 6f 6e 73 65 2d 73 74 61 74 75 73 -info.(plist-get.response-status
6d40 20 3a 65 72 72 6f 72 29 29 29 0a 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 .:error))).........(progn.......
6d60 20 20 20 20 28 73 77 69 74 63 68 2d 74 6f 2d 62 75 66 66 65 72 20 72 65 73 70 6f 6e 73 65 2d 62 ....(switch-to-buffer.response-b
6d80 75 66 66 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 77 61 72 6e uffer)...........(leetcode--warn
6da0 20 22 4c 65 65 74 43 6f 64 65 20 69 6e 74 65 72 70 72 65 74 20 70 72 6f 62 6c 65 6d 20 45 52 52 ."LeetCode.interpret.problem.ERR
6dc0 4f 52 3a 20 25 53 22 20 65 72 72 6f 72 2d 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 28 6c 65 74 2d OR:.%S".error-info)).......(let-
6de0 61 6c 69 73 74 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 72 65 73 70 6f alist.(with-current-buffer.respo
6e00 6e 73 65 2d 62 75 66 66 65 72 20 28 67 6f 74 6f 2d 63 68 61 72 20 75 72 6c 2d 68 74 74 70 2d 65 nse-buffer.(goto-char.url-http-e
6e20 6e 64 2d 6f 66 2d 68 65 61 64 65 72 73 29 20 28 6a 73 6f 6e 2d 72 65 61 64 29 29 0a 20 20 20 20 nd-of-headers).(json-read)).....
6e40 20 20 20 20 2e 69 6e 74 65 72 70 72 65 74 5f 69 64 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 .....interpret_id))))..(aio-defu
6e60 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 61 70 69 2d 73 75 62 6d 69 74 20 28 62 61 63 6b 65 6e 64 2d n.leetcode--api-submit.(backend-
6e80 69 64 20 73 6c 75 67 2d 74 69 74 6c 65 20 63 6f 64 65 29 0a 20 20 22 53 75 62 6d 69 74 20 43 4f id.slug-title.code)..."Submit.CO
6ea0 44 45 20 66 6f 72 20 70 72 6f 62 6c 65 6d 20 77 68 69 63 68 20 68 61 73 20 42 41 43 4b 45 4e 44 DE.for.problem.which.has.BACKEND
6ec0 2d 49 44 20 61 6e 64 20 53 4c 55 47 2d 54 49 54 4c 45 2e 22 0a 20 20 28 6d 65 73 73 61 67 65 20 -ID.and.SLUG-TITLE."...(message.
6ee0 22 4c 65 65 74 43 6f 64 65 20 73 75 62 6d 69 74 20 73 6c 75 67 2d 74 69 74 6c 65 3a 20 25 73 2c "LeetCode.submit.slug-title:.%s,
6f00 20 62 61 63 6b 65 6e 64 2d 69 64 3a 20 25 73 22 20 73 6c 75 67 2d 74 69 74 6c 65 20 62 61 63 6b .backend-id:.%s".slug-title.back
6f20 65 6e 64 2d 69 64 29 0a 20 20 28 6c 65 74 2a 20 28 28 75 72 6c 2d 72 65 71 75 65 73 74 2d 6d 65 end-id)...(let*.((url-request-me
6f40 74 68 6f 64 20 22 50 4f 53 54 22 29 0a 20 20 20 20 20 20 20 20 20 28 75 72 6c 2d 72 65 71 75 65 thod."POST")..........(url-reque
6f60 73 74 2d 65 78 74 72 61 2d 68 65 61 64 65 72 73 20 60 28 2c 40 28 61 69 6f 2d 61 77 61 69 74 20 st-extra-headers.`(,@(aio-await.
6f80 28 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 6d 6d 6f 6e 2d 65 78 74 72 61 2d 68 65 61 64 65 72 73 29 (leetcode--common-extra-headers)
6fa0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )...............................
6fc0 20 20 20 20 20 20 20 20 2c 28 6c 65 65 74 63 6f 64 65 2d 2d 72 65 66 65 72 65 72 20 28 66 6f 72 ........,(leetcode--referer.(for
6fe0 6d 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 70 72 6f 62 6c 65 6d 73 2d 73 75 62 6d 69 mat.leetcode--url-problems-submi
7000 73 73 69 6f 6e 20 73 6c 75 67 2d 74 69 74 6c 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 75 ssion.slug-title))))..........(u
7020 72 6c 2d 72 65 71 75 65 73 74 2d 64 61 74 61 0a 20 20 20 20 20 20 20 20 20 20 28 6a 73 6f 6e 2d rl-request-data...........(json-
7040 65 6e 63 6f 64 65 20 60 28 28 6c 61 6e 67 20 2e 20 2c 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 encode.`((lang...,leetcode--lang
7060 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 71 75 65 73 )..........................(ques
7080 74 69 6f 6e 5f 69 64 20 2e 20 2c 62 61 63 6b 65 6e 64 2d 69 64 29 0a 20 20 20 20 20 20 20 20 20 tion_id...,backend-id)..........
70a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 79 70 65 64 5f 63 6f 64 65 20 2e 20 2c 63 ................(typed_code...,c
70c0 6f 64 65 29 29 29 29 29 0a 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 61 69 6f 2d 75 72 6c ode))))).....(aio-await.(aio-url
70e0 2d 72 65 74 72 69 65 76 65 20 28 66 6f 72 6d 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d -retrieve.(format.leetcode--url-
7100 73 75 62 6d 69 74 20 73 6c 75 67 2d 74 69 74 6c 65 29 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 submit.slug-title)))))..(aio-def
7120 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 61 70 69 2d 63 68 65 63 6b 2d 73 75 62 6d 69 73 73 69 6f un.leetcode--api-check-submissio
7140 6e 20 28 69 6e 74 65 72 70 72 65 74 2d 69 64 20 70 72 6f 62 6c 65 6d 20 6f 6e 2d 73 75 63 63 65 n.(interpret-id.problem.on-succe
7160 73 73 29 0a 20 20 22 50 6f 6c 6c 69 6e 67 20 70 72 6f 62 6c 65 6d 20 77 69 74 68 20 50 52 4f 42 ss)..."Polling.problem.with.PROB
7180 4c 45 4d 2d 49 44 20 73 75 62 6d 69 73 73 69 6f 6e 20 62 79 20 49 4e 54 45 52 50 52 45 54 2d 49 LEM-ID.submission.by.INTERPRET-I
71a0 44 2e 0a 57 68 65 6e 20 63 68 65 63 6b 20 73 75 62 6d 69 73 73 69 6f 6e 20 73 75 63 63 65 73 73 D..When.check.submission.success
71c0 2c 20 65 78 65 63 75 74 65 20 4f 4e 2d 53 55 43 43 45 53 53 2e 20 42 6f 74 68 0a 60 6c 65 65 74 ,.execute.ON-SUCCESS..Both.`leet
71e0 63 6f 64 65 2d 74 72 79 27 20 61 6e 64 20 60 6c 65 65 74 63 6f 64 65 2d 73 75 62 6d 69 74 27 20 code-try'.and.`leetcode-submit'.
7200 72 65 6c 79 20 6f 6e 20 74 68 69 73 20 74 6f 20 70 6f 6c 6c 0a 73 75 62 6d 69 73 73 69 6f 6e 20 rely.on.this.to.poll.submission.
7220 73 74 61 74 75 73 2e 22 0a 20 20 28 6d 65 73 73 61 67 65 20 22 4c 65 65 74 43 6f 64 65 20 63 68 status."...(message."LeetCode.ch
7240 65 63 6b 20 73 75 62 6d 69 73 73 69 6f 6e 3a 20 25 73 22 20 28 66 6f 72 6d 61 74 20 6c 65 65 74 eck.submission:.%s".(format.leet
7260 63 6f 64 65 2d 2d 75 72 6c 2d 63 68 65 63 6b 2d 73 75 62 6d 69 73 73 69 6f 6e 20 69 6e 74 65 72 code--url-check-submission.inter
7280 70 72 65 74 2d 69 64 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 74 69 74 6c 65 2d 73 6c 75 67 20 28 pret-id))...(let*.((title-slug.(
72a0 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 2d 73 6c 75 67 20 70 72 6f 62 leetcode-problem-title-slug.prob
72c0 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c 65 6d 2d 69 64 20 28 6c 65 65 74 lem))..........(problem-id.(leet
72e0 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 69 64 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 code-problem-id.problem)).......
7300 20 20 20 28 75 72 6c 2d 72 65 71 75 65 73 74 2d 6d 65 74 68 6f 64 20 22 47 45 54 22 29 0a 20 20 ...(url-request-method."GET")...
7320 20 20 20 20 20 20 20 28 75 72 6c 2d 72 65 71 75 65 73 74 2d 65 78 74 72 61 2d 68 65 61 64 65 72 .......(url-request-extra-header
7340 73 20 60 28 2c 40 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 6d 6d s.`(,@(aio-await.(leetcode--comm
7360 6f 6e 2d 65 78 74 72 61 2d 68 65 61 64 65 72 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 on-extra-headers))..............
7380 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 28 6c 65 65 74 63 .........................,(leetc
73a0 6f 64 65 2d 2d 72 65 66 65 72 65 72 20 28 66 6f 72 6d 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 ode--referer.(format.leetcode--u
73c0 72 6c 2d 70 72 6f 62 6c 65 6d 73 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 29 29 0a 20 20 20 20 20 rl-problems.title-slug))))......
73e0 20 20 20 20 28 72 65 73 70 6f 6e 73 65 20 28 61 69 6f 2d 61 77 61 69 74 20 28 61 69 6f 2d 75 72 ....(response.(aio-await.(aio-ur
7400 6c 2d 72 65 74 72 69 65 76 65 20 28 66 6f 72 6d 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c l-retrieve.(format.leetcode--url
7420 2d 63 68 65 63 6b 2d 73 75 62 6d 69 73 73 69 6f 6e 20 69 6e 74 65 72 70 72 65 74 2d 69 64 29 29 -check-submission.interpret-id))
7440 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 73 70 6f 6e 73 65 2d 73 74 61 74 75 73 20 28 63 61 ))..........(response-status.(ca
7460 72 20 72 65 73 70 6f 6e 73 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 73 70 6f 6e 73 65 2d r.response))..........(response-
7480 62 75 66 66 65 72 20 28 63 64 72 20 72 65 73 70 6f 6e 73 65 29 29 29 0a 20 20 20 20 28 69 66 2d buffer.(cdr.response))).....(if-
74a0 6c 65 74 20 28 28 65 72 72 6f 72 2d 69 6e 66 6f 20 28 70 6c 69 73 74 2d 67 65 74 20 72 65 73 70 let.((error-info.(plist-get.resp
74c0 6f 6e 73 65 2d 73 74 61 74 75 73 20 3a 65 72 72 6f 72 29 29 29 0a 20 20 20 20 20 20 20 20 28 70 onse-status.:error))).........(p
74e0 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 28 73 77 69 74 63 68 2d 74 6f 2d 62 75 66 66 65 72 rogn...........(switch-to-buffer
7500 20 72 65 73 70 6f 6e 73 65 2d 62 75 66 66 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 .response-buffer)...........(lee
7520 74 63 6f 64 65 2d 2d 77 61 72 6e 20 22 4c 65 65 74 43 6f 64 65 20 63 68 65 63 6b 20 73 75 62 6d tcode--warn."LeetCode.check.subm
7540 69 73 73 69 6f 6e 20 45 52 52 4f 52 3a 20 25 53 22 20 65 72 72 6f 72 2d 69 6e 66 6f 29 29 0a 20 ission.ERROR:.%S".error-info))..
7560 20 20 20 20 20 28 6c 65 74 20 28 28 72 65 73 75 6c 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 70 61 .....(let.((result.(leetcode--pa
7580 72 73 65 2d 62 75 66 66 65 72 20 72 65 73 70 6f 6e 73 65 2d 62 75 66 66 65 72 29 29 29 0a 20 20 rse-buffer.response-buffer)))...
75a0 20 20 20 20 20 20 28 6c 65 74 2d 61 6c 69 73 74 20 72 65 73 75 6c 74 0a 20 20 20 20 20 20 20 20 ......(let-alist.result.........
75c0 20 20 28 70 63 61 73 65 20 2e 73 74 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6f 72 ..(pcase..state.............((or
75e0 20 22 50 45 4e 44 49 4e 47 22 20 22 53 54 41 52 54 45 44 22 29 20 28 28 61 69 6f 2d 61 77 61 69 ."PENDING"."STARTED").((aio-awai
7600 74 20 28 61 69 6f 2d 73 6c 65 65 70 20 30 2e 32 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 t.(aio-sleep.0.2))..............
7620 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 69 6f 2d 61 ..........................(aio-a
7640 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 70 69 2d 63 68 65 63 6b 2d 73 75 62 6d 69 73 wait.(leetcode--api-check-submis
7660 73 69 6f 6e 20 69 6e 74 65 72 70 72 65 74 2d 69 64 20 70 72 6f 62 6c 65 6d 20 6f 6e 2d 73 75 63 sion.interpret-id.problem.on-suc
7680 63 65 73 73 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 22 53 55 43 43 45 53 53 22 20 cess)))).............("SUCCESS".
76a0 28 66 75 6e 63 61 6c 6c 20 6f 6e 2d 73 75 63 63 65 73 73 20 70 72 6f 62 6c 65 6d 2d 69 64 20 72 (funcall.on-success.problem-id.r
76c0 65 73 75 6c 74 29 29 29 29 29 29 29 29 0a 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 esult))))))))...(aio-defun.leetc
76e0 6f 64 65 2d 2d 6c 6f 67 69 6e 20 28 29 0a 20 20 22 57 65 20 61 72 65 20 6e 6f 74 20 6c 6f 67 69 ode--login.()..."We.are.not.logi
7700 6e 20 61 63 74 75 61 6c 6c 79 2c 20 77 65 20 61 72 65 20 72 65 74 72 69 65 76 69 6e 67 20 4c 65 n.actually,.we.are.retrieving.Le
7720 65 74 43 6f 64 65 20 6c 6f 67 69 6e 20 73 65 73 73 69 6f 6e 0a 66 72 6f 6d 20 6c 6f 63 61 6c 20 etCode.login.session.from.local.
7740 62 72 6f 77 73 65 72 2e 20 49 74 20 61 6c 73 6f 20 63 6c 65 61 6e 73 20 4c 65 65 74 43 6f 64 65 browser..It.also.cleans.LeetCode
7760 20 63 6f 6f 6b 69 65 73 20 69 6e 20 60 75 72 6c 2d 63 6f 6f 6b 69 65 2d 66 69 6c 65 27 2e 22 0a .cookies.in.`url-cookie-file'.".
7780 20 20 28 69 67 6e 6f 72 65 2d 65 72 72 6f 72 73 20 28 75 72 6c 2d 63 6f 6f 6b 69 65 2d 64 65 6c ..(ignore-errors.(url-cookie-del
77a0 65 74 65 2d 63 6f 6f 6b 69 65 73 20 6c 65 65 74 63 6f 64 65 2d 2d 64 6f 6d 61 69 6e 29 29 0a 20 ete-cookies.leetcode--domain))..
77c0 20 28 6c 65 74 2a 20 28 28 6c 65 65 74 63 6f 64 65 2d 63 6f 6f 6b 69 65 20 28 6c 65 65 74 63 6f .(let*.((leetcode-cookie.(leetco
77e0 64 65 2d 2d 63 6f 6f 6b 69 65 2d 67 65 74 2d 61 6c 6c 29 29 29 0a 20 20 20 20 28 63 6c 2d 6c 6f de--cookie-get-all))).....(cl-lo
7800 6f 70 20 66 6f 72 20 28 6b 65 79 20 76 61 6c 75 65 29 20 69 6e 20 6c 65 65 74 63 6f 64 65 2d 63 op.for.(key.value).in.leetcode-c
7820 6f 6f 6b 69 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 20 28 75 72 6c 2d 63 6f 6f 6b 69 ookie..............do.(url-cooki
7840 65 2d 73 74 6f 72 65 20 6b 65 79 20 76 61 6c 75 65 20 6e 69 6c 20 6c 65 65 74 63 6f 64 65 2d 2d e-store.key.value.nil.leetcode--
7860 64 6f 6d 61 69 6e 20 22 2f 22 20 74 29 29 29 0a 20 20 3b 3b 20 41 66 74 65 72 20 6c 6f 67 69 6e domain."/".t)))...;;.After.login
7880 2c 20 77 65 20 73 68 6f 75 6c 64 20 68 61 76 65 20 6f 75 72 20 75 73 65 72 20 64 61 74 61 20 61 ,.we.should.have.our.user.data.a
78a0 6c 72 65 61 64 79 2e 0a 20 20 28 6d 65 73 73 61 67 65 20 22 4c 65 65 74 43 6f 64 65 20 66 65 74 lready....(message."LeetCode.fet
78c0 63 68 69 6e 67 20 75 73 65 72 20 64 61 74 61 2e 2e 2e 22 29 0a 20 20 28 61 69 6f 2d 61 77 61 69 ching.user.data...")...(aio-awai
78e0 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 2d 75 73 65 72 2d 73 74 61 74 75 73 29 29 t.(leetcode--fetch-user-status))
7900 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 2d 72 6f 77 )..(defun.leetcode--problems-row
7920 73 20 28 29 0a 20 20 22 47 65 6e 65 72 61 74 65 20 74 61 62 75 6c 61 74 65 64 20 6c 69 73 74 20 s.()..."Generate.tabulated.list.
7940 72 6f 77 73 20 66 72 6f 6d 20 60 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 27 2e 0a rows.from.`leetcode--problems'..
7960 52 65 74 75 72 6e 20 61 20 6c 69 73 74 20 6f 66 20 72 6f 77 73 2c 20 65 61 63 68 20 72 6f 77 20 Return.a.list.of.rows,.each.row.
7980 69 73 20 61 20 76 65 63 74 6f 72 3a 0a 5c 28 5b 3c 63 68 65 63 6b 6d 61 72 6b 3e 20 3c 70 6f 73 is.a.vector:.\([<checkmark>.<pos
79a0 69 74 69 6f 6e 3e 20 3c 74 69 74 6c 65 3e 20 3c 61 63 63 65 70 74 61 6e 63 65 3e 20 3c 64 69 66 ition>.<title>.<acceptance>.<dif
79c0 66 69 63 75 6c 74 79 3e 5d 20 2e 2e 2e 29 22 0a 20 20 28 6c 65 74 20 28 28 70 72 6f 62 6c 65 6d ficulty>]....)"...(let.((problem
79e0 73 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 73 2d 70 72 6f 62 6c 65 6d 73 20 6c 65 s.(leetcode-problems-problems.le
7a00 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 29 29 0a 20 20 20 20 20 20 20 20 72 6f 77 73 29 etcode--problems)).........rows)
7a20 0a 20 20 20 20 28 64 6f 6c 69 73 74 20 28 70 20 70 72 6f 62 6c 65 6d 73 20 28 72 65 76 65 72 73 .....(dolist.(p.problems.(revers
7a40 65 20 72 6f 77 73 29 29 0a 20 20 20 20 20 20 28 69 66 20 28 6f 72 20 6c 65 65 74 63 6f 64 65 2d e.rows)).......(if.(or.leetcode-
7a60 2d 64 69 73 70 6c 61 79 2d 70 61 69 64 20 28 6e 6f 74 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f -display-paid.(not.(leetcode-pro
7a80 62 6c 65 6d 2d 70 61 69 64 2d 6f 6e 6c 79 20 70 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c blem-paid-only.p)))...........(l
7aa0 65 74 2a 20 28 28 70 2d 73 74 61 74 75 73 20 28 69 66 20 28 65 71 75 61 6c 20 28 6c 65 65 74 63 et*.((p-status.(if.(equal.(leetc
7ac0 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 73 74 61 74 75 73 20 70 29 20 22 61 63 22 29 0a 20 20 20 20 ode-problem-status.p)."ac").....
7ae0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 ...........................(leet
7b00 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 20 6c 65 65 74 63 6f 64 65 2d 2d 63 68 code--add-font-lock.leetcode--ch
7b20 65 63 6b 6d 61 72 6b 20 27 6c 65 65 74 63 6f 64 65 2d 63 68 65 63 6b 6d 61 72 6b 2d 66 61 63 65 eckmark.'leetcode-checkmark-face
7b40 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 ).............................."
7b60 20 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 2d 69 64 20 28 6c 65 65 ."))..................(p-id.(lee
7b80 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 69 64 20 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 tcode-problem-id.p))............
7ba0 20 20 20 20 20 20 28 70 2d 74 69 74 6c 65 20 28 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 20 ......(p-title.(concat..........
7bc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 ..................(leetcode-prob
7be0 6c 65 6d 2d 74 69 74 6c 65 20 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 lem-title.p)....................
7c00 20 20 20 20 20 20 20 20 22 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ........".".....................
7c20 20 20 20 20 20 20 20 28 69 66 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 70 61 69 .......(if.(leetcode-problem-pai
7c40 64 2d 6f 6e 6c 79 20 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 d-only.p).......................
7c60 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 .........(leetcode--add-font-loc
7c80 6b 20 6c 65 65 74 63 6f 64 65 2d 2d 70 61 69 64 20 27 6c 65 65 74 63 6f 64 65 2d 70 61 69 64 2d k.leetcode--paid.'leetcode-paid-
7ca0 66 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 face)...........................
7cc0 20 20 20 22 20 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 2d 61 63 ...".")))..................(p-ac
7ce0 63 65 70 74 61 6e 63 65 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 61 63 63 65 70 ceptance.(leetcode-problem-accep
7d00 74 61 6e 63 65 20 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 2d 64 69 tance.p))..................(p-di
7d20 66 66 69 63 75 6c 74 79 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 74 72 69 6e 67 69 66 79 2d 64 69 fficulty.(leetcode--stringify-di
7d40 66 66 69 63 75 6c 74 79 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 64 69 66 66 69 fficulty.(leetcode-problem-diffi
7d60 63 75 6c 74 79 20 70 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 2d 74 culty.p)))..................(p-t
7d80 61 67 73 20 28 69 66 20 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 74 61 67 73 20 28 ags.(if.leetcode--display-tags.(
7da0 73 74 72 69 6e 67 2d 6a 6f 69 6e 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 61 string-join.(leetcode-problem-ta
7dc0 67 73 20 70 29 20 22 2c 20 22 29 20 22 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 gs.p).",.").""))................
7de0 20 20 28 73 69 6e 67 6c 65 2d 72 6f 77 20 28 76 65 63 74 6f 72 20 70 2d 73 74 61 74 75 73 20 70 ..(single-row.(vector.p-status.p
7e00 2d 69 64 20 70 2d 74 69 74 6c 65 20 70 2d 61 63 63 65 70 74 61 6e 63 65 20 70 2d 64 69 66 66 69 -id.p-title.p-acceptance.p-diffi
7e20 63 75 6c 74 79 20 70 2d 74 61 67 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 73 65 74 culty.p-tags))).............(set
7e40 71 20 72 6f 77 73 20 28 63 6f 6e 73 20 73 69 6e 67 6c 65 2d 72 6f 77 20 72 6f 77 73 29 29 29 29 q.rows.(cons.single-row.rows))))
7e60 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 72 6f 77 2d 74 61 67 73 20 28 )))..(defun.leetcode--row-tags.(
7e80 72 6f 77 29 0a 20 20 22 47 65 74 20 74 61 67 73 20 66 72 6f 6d 20 52 4f 57 2e 22 0a 20 20 28 61 row)..."Get.tags.from.ROW."...(a
7ea0 72 65 66 20 72 6f 77 20 35 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 72 6f ref.row.5))..(defun.leetcode--ro
7ec0 77 2d 64 69 66 66 69 63 75 6c 74 79 20 28 72 6f 77 29 0a 20 20 22 47 65 74 20 64 69 66 66 69 63 w-difficulty.(row)..."Get.diffic
7ee0 75 6c 74 79 20 66 72 6f 6d 20 52 4f 57 2e 22 0a 20 20 28 61 72 65 66 20 72 6f 77 20 34 29 29 0a ulty.from.ROW."...(aref.row.4)).
7f00 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 20 28 72 6f 77 73 29 0a .(defun.leetcode--filter.(rows).
7f20 20 20 22 46 69 6c 74 65 72 20 52 4f 57 53 20 62 79 20 60 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c .."Filter.ROWS.by.`leetcode--fil
7f40 74 65 72 2d 72 65 67 65 78 27 2c 20 60 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 2d 74 61 ter-regex',.`leetcode--filter-ta
7f60 67 27 20 61 6e 64 20 60 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 2d 64 69 66 66 69 63 75 g'.and.`leetcode--filter-difficu
7f80 6c 74 79 27 2e 22 0a 20 20 28 73 65 71 2d 66 69 6c 74 65 72 0a 20 20 20 28 6c 61 6d 62 64 61 20 lty'."...(seq-filter....(lambda.
7fa0 28 72 6f 77 29 0a 20 20 20 20 20 28 61 6e 64 0a 20 20 20 20 20 20 28 69 66 20 6c 65 65 74 63 6f (row)......(and.......(if.leetco
7fc0 64 65 2d 2d 66 69 6c 74 65 72 2d 72 65 67 65 78 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 20 de--filter-regex...........(let.
7fe0 28 28 74 69 74 6c 65 20 28 61 72 65 66 20 72 6f 77 20 32 29 29 29 0a 20 20 20 20 20 20 20 20 20 ((title.(aref.row.2)))..........
8000 20 20 20 28 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 20 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c ...(string-match-p.leetcode--fil
8020 74 65 72 2d 72 65 67 65 78 20 74 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 74 29 0a 20 20 20 ter-regex.title)).........t)....
8040 20 20 20 28 69 66 20 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 2d 74 61 67 0a 20 20 20 20 ...(if.leetcode--filter-tag.....
8060 20 20 20 20 20 20 28 6c 65 74 20 28 28 74 61 67 73 20 28 73 2d 73 70 6c 69 74 20 22 2c 20 22 20 ......(let.((tags.(s-split.",.".
8080 28 6c 65 65 74 63 6f 64 65 2d 2d 72 6f 77 2d 74 61 67 73 20 72 6f 77 29 29 29 29 0a 20 20 20 20 (leetcode--row-tags.row)))).....
80a0 20 20 20 20 20 20 20 20 28 6d 65 6d 62 65 72 20 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 ........(member.leetcode--filter
80c0 2d 74 61 67 20 74 61 67 73 29 29 0a 20 20 20 20 20 20 20 20 74 29 0a 20 20 20 20 20 20 28 69 66 -tag.tags)).........t).......(if
80e0 20 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 2d 64 69 66 66 69 63 75 6c 74 79 0a 20 20 20 .leetcode--filter-difficulty....
8100 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 64 69 66 66 69 63 75 6c 74 79 20 28 6c 65 65 74 63 6f .......(let.((difficulty.(leetco
8120 64 65 2d 2d 72 6f 77 2d 64 69 66 66 69 63 75 6c 74 79 20 72 6f 77 29 29 29 0a 20 20 20 20 20 20 de--row-difficulty.row))).......
8140 20 20 20 20 20 20 28 73 74 72 69 6e 67 3d 20 64 69 66 66 69 63 75 6c 74 79 20 6c 65 65 74 63 6f ......(string=.difficulty.leetco
8160 64 65 2d 2d 66 69 6c 74 65 72 2d 64 69 66 66 69 63 75 6c 74 79 29 29 0a 20 20 20 20 20 20 20 20 de--filter-difficulty)).........
8180 74 29 29 29 0a 20 20 20 72 6f 77 73 29 29 0a 0a 0a 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b t)))....rows))...;;;;;;;;;;;;;;;
81a0 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
81c0 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 20 55 73 65 72 20 43 6f 6d 6d 61 6e 64 20 3b 3b 3b 3b 3b ;;;;;;;;;;;;;.User.Command.;;;;;
81e0 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8200 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 0a 0a 28 64 65 66 75 6e 20 ;;;;;;;;;;;;;;;;;;;;;;;..(defun.
8220 6c 65 65 74 63 6f 64 65 2d 72 65 73 65 74 2d 66 69 6c 74 65 72 2d 61 6e 64 2d 72 65 66 72 65 73 leetcode-reset-filter-and-refres
8240 68 20 28 29 0a 20 20 22 52 65 73 65 74 20 66 69 6c 74 65 72 2e 22 0a 20 20 28 69 6e 74 65 72 61 h.()..."Reset.filter."...(intera
8260 63 74 69 76 65 29 0a 20 20 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 2d ctive)...(setq.leetcode--filter-
8280 72 65 67 65 78 20 6e 69 6c 29 0a 20 20 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c regex.nil)...(setq.leetcode--fil
82a0 74 65 72 2d 74 61 67 20 6e 69 6c 29 0a 20 20 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 66 ter-tag.nil)...(setq.leetcode--f
82c0 69 6c 74 65 72 2d 64 69 66 66 69 63 75 6c 74 79 20 6e 69 6c 29 0a 20 20 28 6c 65 65 74 63 6f 64 ilter-difficulty.nil)...(leetcod
82e0 65 2d 72 65 66 72 65 73 68 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 73 65 74 e-refresh))..(defun.leetcode-set
8300 2d 66 69 6c 74 65 72 2d 72 65 67 65 78 20 28 72 65 67 65 78 29 0a 20 20 22 53 65 74 20 60 6c 65 -filter-regex.(regex)..."Set.`le
8320 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 2d 72 65 67 65 78 27 20 61 73 20 52 45 47 45 58 20 61 etcode--filter-regex'.as.REGEX.a
8340 6e 64 20 72 65 66 72 65 73 68 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 20 22 73 53 65 nd.refresh."...(interactive."sSe
8360 61 72 63 68 3a 20 22 29 0a 20 20 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 arch:.")...(setq.leetcode--filte
8380 72 2d 72 65 67 65 78 20 72 65 67 65 78 29 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 72 65 66 72 65 r-regex.regex)...(leetcode-refre
83a0 73 68 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 73 65 74 2d 66 69 6c 74 65 72 sh))..(defun.leetcode-set-filter
83c0 2d 74 61 67 20 28 29 0a 20 20 22 53 65 74 20 60 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 -tag.()..."Set.`leetcode--filter
83e0 2d 74 61 67 27 20 66 72 6f 6d 20 60 6c 65 65 74 63 6f 64 65 2d 2d 61 6c 6c 2d 74 61 67 73 27 20 -tag'.from.`leetcode--all-tags'.
8400 61 6e 64 20 72 65 66 72 65 73 68 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 and.refresh."...(interactive)...
8420 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 2d 74 61 67 0a 20 20 20 20 20 (setq.leetcode--filter-tag......
8440 20 20 20 28 63 6f 6d 70 6c 65 74 69 6e 67 2d 72 65 61 64 20 22 54 61 67 73 3a 20 22 20 6c 65 65 ...(completing-read."Tags:.".lee
8460 74 63 6f 64 65 2d 2d 61 6c 6c 2d 74 61 67 73 29 29 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 72 65 tcode--all-tags))...(leetcode-re
8480 66 72 65 73 68 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 73 65 74 2d 70 72 65 fresh))..(defun.leetcode-set-pre
84a0 66 65 72 2d 6c 61 6e 67 75 61 67 65 20 28 29 0a 20 20 22 53 65 74 20 60 6c 65 65 74 63 6f 64 65 fer-language.()..."Set.`leetcode
84c0 2d 70 72 65 66 65 72 2d 6c 61 6e 67 75 61 67 65 27 20 66 72 6f 6d 20 60 6c 65 65 74 63 6f 64 65 -prefer-language'.from.`leetcode
84e0 2d 2d 6c 61 6e 67 2d 73 75 66 66 69 78 65 73 27 20 61 6e 64 20 72 65 66 72 65 73 68 2e 22 0a 20 --lang-suffixes'.and.refresh."..
8500 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d .(interactive)...(setq.leetcode-
8520 70 72 65 66 65 72 2d 6c 61 6e 67 75 61 67 65 0a 20 20 20 20 20 20 20 20 28 63 6f 6d 70 6c 65 74 prefer-language.........(complet
8540 69 6e 67 2d 72 65 61 64 20 22 4c 61 6e 67 75 61 67 65 3a 20 22 20 6c 65 65 74 63 6f 64 65 2d 2d ing-read."Language:.".leetcode--
8560 6c 61 6e 67 2d 73 75 66 66 69 78 65 73 29 29 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 72 65 66 72 lang-suffixes))...(leetcode-refr
8580 65 73 68 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 73 65 74 2d 66 69 6c 74 65 esh))..(defun.leetcode-set-filte
85a0 72 2d 64 69 66 66 69 63 75 6c 74 79 20 28 29 0a 20 20 22 53 65 74 20 60 6c 65 65 74 63 6f 64 65 r-difficulty.()..."Set.`leetcode
85c0 2d 2d 66 69 6c 74 65 72 2d 64 69 66 66 69 63 75 6c 74 79 27 20 66 72 6f 6d 20 60 6c 65 65 74 63 --filter-difficulty'.from.`leetc
85e0 6f 64 65 2d 2d 61 6c 6c 2d 64 69 66 66 69 63 75 6c 74 69 65 73 27 20 61 6e 64 20 72 65 66 72 65 ode--all-difficulties'.and.refre
8600 73 68 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 73 65 74 71 20 6c 65 65 sh."...(interactive)...(setq.lee
8620 74 63 6f 64 65 2d 2d 66 69 6c 74 65 72 2d 64 69 66 66 69 63 75 6c 74 79 0a 20 20 20 20 20 20 20 tcode--filter-difficulty........
8640 20 28 63 6f 6d 70 6c 65 74 69 6e 67 2d 72 65 61 64 20 22 44 69 66 66 69 63 75 6c 74 79 3a 20 22 .(completing-read."Difficulty:."
8660 20 6c 65 65 74 63 6f 64 65 2d 2d 61 6c 6c 2d 64 69 66 66 69 63 75 6c 74 69 65 73 29 29 0a 20 20 .leetcode--all-difficulties))...
8680 28 6c 65 65 74 63 6f 64 65 2d 72 65 66 72 65 73 68 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 (leetcode-refresh))..(defun.leet
86a0 63 6f 64 65 2d 74 6f 67 67 6c 65 2d 74 61 67 2d 64 69 73 70 6c 61 79 20 28 29 0a 20 20 22 54 6f code-toggle-tag-display.()..."To
86c0 67 67 6c 65 20 60 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 74 61 67 73 60 20 61 6e ggle.`leetcode--display-tags`.an
86e0 64 20 72 65 66 72 65 73 68 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 73 d.refresh."...(interactive)...(s
8700 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 74 61 67 73 20 28 6e 6f 74 20 etq.leetcode--display-tags.(not.
8720 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 74 61 67 73 29 29 0a 20 20 28 6c 65 65 74 leetcode--display-tags))...(leet
8740 63 6f 64 65 2d 72 65 66 72 65 73 68 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d code-refresh))..(defun.leetcode-
8760 74 6f 67 67 6c 65 2d 70 61 69 64 2d 64 69 73 70 6c 61 79 20 28 29 0a 20 20 22 54 6f 67 67 6c 65 toggle-paid-display.()..."Toggle
8780 20 60 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 70 61 69 64 60 20 61 6e 64 20 72 65 .`leetcode--display-paid`.and.re
87a0 66 72 65 73 68 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 73 65 74 71 20 fresh."...(interactive)...(setq.
87c0 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 70 61 69 64 20 28 6e 6f 74 20 6c 65 65 74 leetcode--display-paid.(not.leet
87e0 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 70 61 69 64 29 29 0a 20 20 28 6c 65 65 74 63 6f 64 65 code--display-paid))...(leetcode
8800 2d 72 65 66 72 65 73 68 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 6d 61 6b -refresh))..(defun.leetcode--mak
8820 65 2d 74 61 62 75 6c 61 74 65 64 2d 68 65 61 64 65 72 73 20 28 68 65 61 64 65 72 2d 6e 61 6d 65 e-tabulated-headers.(header-name
8840 73 20 72 6f 77 73 29 0a 20 20 22 43 61 6c 63 75 6c 61 74 65 20 68 65 61 64 65 72 73 20 77 69 64 s.rows)..."Calculate.headers.wid
8860 74 68 2e 0a 43 6f 6c 75 6d 6e 20 77 69 64 74 68 20 63 61 6c 63 75 6c 61 74 65 64 20 62 79 20 70 th..Column.width.calculated.by.p
8880 69 63 6b 69 6e 67 20 74 68 65 20 6d 61 78 20 77 69 64 74 68 20 6f 66 20 65 76 65 72 79 20 63 65 icking.the.max.width.of.every.ce
88a0 6c 6c 0a 75 6e 64 65 72 20 74 68 61 74 20 63 6f 6c 75 6d 6e 20 61 6e 64 20 74 68 65 20 48 45 41 ll.under.that.column.and.the.HEA
88c0 44 45 52 2d 4e 41 4d 45 53 2e 20 48 45 41 44 45 52 2d 4e 41 4d 45 53 20 61 72 65 20 61 20 6c 69 DER-NAMES..HEADER-NAMES.are.a.li
88e0 73 74 0a 6f 66 20 68 65 61 64 65 72 20 6e 61 6d 65 2c 20 52 4f 57 53 20 61 72 65 20 61 20 6c 69 st.of.header.name,.ROWS.are.a.li
8900 73 74 20 6f 66 20 76 65 63 74 6f 72 2c 20 65 61 63 68 20 76 65 63 74 6f 72 20 69 73 20 6f 6e 65 st.of.vector,.each.vector.is.one
8920 0a 72 6f 77 2e 22 0a 20 20 28 6c 65 74 20 28 28 77 69 64 74 68 73 0a 20 20 20 20 20 20 20 20 20 .row."...(let.((widths..........
8940 28 73 65 71 2d 72 65 64 75 63 65 0a 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 (seq-reduce...........(lambda.(a
8960 63 63 20 72 6f 77 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6c 2d 6d 61 70 63 61 72 0a 20 cc.row).............(cl-mapcar..
8980 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 61 20 63 6f 6c 29 20 28 6d 61 78 ............(lambda.(a.col).(max
89a0 20 61 20 28 6c 65 6e 67 74 68 20 63 6f 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 61 .a.(length.col)))..............a
89c0 63 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 70 70 65 6e 64 20 72 6f 77 20 27 28 29 29 cc..............(append.row.'())
89e0 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 6f 77 73 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 71 ))...........rows...........(seq
8a00 2d 6d 61 70 20 23 27 6c 65 6e 67 74 68 20 68 65 61 64 65 72 2d 6e 61 6d 65 73 29 29 29 29 0a 20 -map.#'length.header-names))))..
8a20 20 20 20 28 76 63 6f 6e 63 61 74 0a 20 20 20 20 20 28 63 6c 2d 6d 61 70 63 61 72 0a 20 20 20 20 ...(vconcat......(cl-mapcar.....
8a40 20 20 28 6c 61 6d 62 64 61 20 28 63 6f 6c 20 73 69 7a 65 29 20 28 6c 69 73 74 20 63 6f 6c 20 73 ..(lambda.(col.size).(list.col.s
8a60 69 7a 65 20 6e 69 6c 29 29 0a 20 20 20 20 20 20 68 65 61 64 65 72 2d 6e 61 6d 65 73 20 77 69 64 ize.nil)).......header-names.wid
8a80 74 68 73 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 72 65 66 72 65 73 68 ths))))..(defun.leetcode-refresh
8aa0 20 28 29 0a 20 20 22 4d 61 6b 65 20 60 74 61 62 75 6c 61 74 65 64 2d 6c 69 73 74 2d 65 6e 74 72 .()..."Make.`tabulated-list-entr
8ac0 69 65 73 27 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6c 65 74 2a 20 28 ies'."...(interactive)...(let*.(
8ae0 28 68 65 61 64 65 72 2d 6e 61 6d 65 73 20 28 61 70 70 65 6e 64 20 27 28 22 20 22 20 22 23 22 20 (header-names.(append.'("."."#".
8b00 22 50 72 6f 62 6c 65 6d 22 20 22 41 63 63 65 70 74 61 6e 63 65 22 20 22 44 69 66 66 69 63 75 6c "Problem"."Acceptance"."Difficul
8b20 74 79 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ty")............................
8b40 20 20 20 20 28 69 66 20 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 74 61 67 73 20 27 ....(if.leetcode--display-tags.'
8b60 28 22 54 61 67 73 22 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 6f 77 73 20 28 6c 65 65 74 ("Tags"))))..........(rows.(leet
8b80 63 6f 64 65 2d 2d 66 69 6c 74 65 72 20 28 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 code--filter.(leetcode--problems
8ba0 2d 72 6f 77 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 65 61 64 65 72 73 20 28 6c 65 65 74 -rows)))..........(headers.(leet
8bc0 63 6f 64 65 2d 2d 6d 61 6b 65 2d 74 61 62 75 6c 61 74 65 64 2d 68 65 61 64 65 72 73 20 68 65 61 code--make-tabulated-headers.hea
8be0 64 65 72 2d 6e 61 6d 65 73 20 72 6f 77 73 29 29 29 0a 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 der-names.rows))).....(with-curr
8c00 65 6e 74 2d 62 75 66 66 65 72 20 28 67 65 74 2d 62 75 66 66 65 72 2d 63 72 65 61 74 65 20 6c 65 ent-buffer.(get-buffer-create.le
8c20 65 74 63 6f 64 65 2d 2d 62 75 66 66 65 72 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 28 6c 65 65 74 etcode--buffer-name).......(leet
8c40 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 2d 6d 6f 64 65 29 0a 20 20 20 20 20 20 28 73 65 74 71 code--problems-mode).......(setq
8c60 20 74 61 62 75 6c 61 74 65 64 2d 6c 69 73 74 2d 66 6f 72 6d 61 74 20 68 65 61 64 65 72 73 29 0a .tabulated-list-format.headers).
8c80 20 20 20 20 20 20 28 73 65 74 71 20 74 61 62 75 6c 61 74 65 64 2d 6c 69 73 74 2d 65 6e 74 72 69 ......(setq.tabulated-list-entri
8ca0 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6c 2d 6d 61 70 63 61 72 0a 20 20 20 20 20 20 es.............(cl-mapcar.......
8cc0 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 28 69 20 78 29 20 28 6c 69 73 74 20 69 20 78 29 29 .......(lambda.(i.x).(list.i.x))
8ce0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 75 6d 62 65 72 2d 73 65 71 75 65 6e 63 65 20 30 ..............(number-sequence.0
8d00 20 28 31 2d 20 28 6c 65 6e 67 74 68 20 72 6f 77 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 .(1-.(length.rows)))............
8d20 20 20 72 6f 77 73 29 29 0a 20 20 20 20 20 20 28 74 61 62 75 6c 61 74 65 64 2d 6c 69 73 74 2d 69 ..rows)).......(tabulated-list-i
8d40 6e 69 74 2d 68 65 61 64 65 72 29 0a 20 20 20 20 20 20 28 74 61 62 75 6c 61 74 65 64 2d 6c 69 73 nit-header).......(tabulated-lis
8d60 74 2d 70 72 69 6e 74 20 74 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f t-print.t))))..(aio-defun.leetco
8d80 64 65 2d 72 65 66 72 65 73 68 2d 66 65 74 63 68 20 28 29 0a 20 20 22 52 65 66 72 65 73 68 20 70 de-refresh-fetch.()..."Refresh.p
8da0 72 6f 62 6c 65 6d 73 20 61 6e 64 20 75 70 64 61 74 65 20 60 74 61 62 75 6c 61 74 65 64 2d 6c 69 roblems.and.update.`tabulated-li
8dc0 73 74 2d 65 6e 74 72 69 65 73 27 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 st-entries'."...(interactive)...
8de0 28 6d 65 73 73 61 67 65 20 22 4c 65 65 74 43 6f 64 65 20 72 65 66 72 65 73 68 69 6e 67 20 71 75 (message."LeetCode.refreshing.qu
8e00 65 73 74 69 6f 6e 20 6c 69 73 74 2e 2e 2e 22 29 0a 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c estion.list...")...(aio-await.(l
8e20 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 2d 71 75 65 73 74 69 6f 6e 2d 6c 69 73 74 20 22 61 6c eetcode--fetch-question-list."al
8e40 6c 2d 63 6f 64 65 2d 65 73 73 65 6e 74 69 61 6c 73 22 20 30 20 34 30 30 30 20 23 73 28 68 61 73 l-code-essentials".0.4000.#s(has
8e60 68 2d 74 61 62 6c 65 29 29 29 20 3b 20 54 4f 44 4f 20 70 61 67 69 6e 61 74 69 6f 6e 3f 0a 20 20 h-table))).;.TODO.pagination?...
8e80 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 74 61 67 73 20 6c 65 65 (setq.leetcode--display-tags.lee
8ea0 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 74 61 67 2d 64 69 73 70 6c 61 79 29 0a 20 20 28 6c 65 65 tcode-prefer-tag-display)...(lee
8ec0 74 63 6f 64 65 2d 72 65 73 65 74 2d 66 69 6c 74 65 72 2d 61 6e 64 2d 72 65 66 72 65 73 68 29 29 tcode-reset-filter-and-refresh))
8ee0 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 6c 6f ..(aio-defun.leetcode--ensure-lo
8f00 67 69 6e 20 28 26 6f 70 74 69 6f 6e 61 6c 20 66 6f 72 63 65 29 0a 20 20 28 77 68 65 6e 20 28 6f gin.(&optional.force)...(when.(o
8f20 72 20 66 6f 72 63 65 20 28 6e 6f 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6c 6f 67 69 6e 2d 70 29 r.force.(not.(leetcode--login-p)
8f40 29 29 0a 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6c 6f 67 )).....(aio-await.(leetcode--log
8f60 69 6e 29 29 20 3b 20 49 74 27 73 20 77 65 69 72 64 20 74 68 61 74 20 73 6f 6d 65 68 6f 77 20 77 in)).;.It's.weird.that.somehow.w
8f80 65 20 68 61 76 65 20 74 6f 20 6c 6f 67 69 6e 20 74 77 69 63 65 20 74 6f 20 62 65 20 72 65 61 6c e.have.to.login.twice.to.be.real
8fa0 20 6c 6f 67 69 6e 2e 2e 2e 0a 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f .login........(aio-await.(leetco
8fc0 64 65 2d 2d 6c 6f 67 69 6e 29 29 29 29 0a 0a 3b 3b 3b 23 23 23 61 75 74 6f 6c 6f 61 64 28 61 75 de--login))))..;;;###autoload(au
8fe0 74 6f 6c 6f 61 64 20 27 6c 65 65 74 63 6f 64 65 20 22 6c 65 65 74 63 6f 64 65 22 20 6e 69 6c 20 toload.'leetcode."leetcode".nil.
9000 74 29 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 20 28 29 0a 20 20 22 53 74 61 t).(aio-defun.leetcode.()..."Sta
9020 72 74 20 4c 65 65 74 63 6f 64 65 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 rt.Leetcode."...(interactive)...
9040 28 77 68 65 6e 20 28 6c 65 65 74 63 6f 64 65 2d 2d 63 68 65 63 6b 2d 64 65 70 73 29 0a 20 20 20 (when.(leetcode--check-deps)....
9060 20 28 69 66 20 28 67 65 74 2d 62 75 66 66 65 72 20 6c 65 65 74 63 6f 64 65 2d 2d 62 75 66 66 65 .(if.(get-buffer.leetcode--buffe
9080 72 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 20 20 28 73 77 69 74 63 68 2d 74 6f 2d 62 75 66 66 65 r-name).........(switch-to-buffe
90a0 72 20 6c 65 65 74 63 6f 64 65 2d 2d 62 75 66 66 65 72 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 28 r.leetcode--buffer-name).......(
90c0 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 6c 6f 67 69 aio-await.(leetcode--ensure-logi
90e0 6e 29 29 0a 20 20 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 72 n)).......(aio-await.(leetcode-r
9100 65 66 72 65 73 68 2d 66 65 74 63 68 29 29 0a 20 20 20 20 20 20 28 73 77 69 74 63 68 2d 74 6f 2d efresh-fetch)).......(switch-to-
9120 62 75 66 66 65 72 20 6c 65 65 74 63 6f 64 65 2d 2d 62 75 66 66 65 72 2d 6e 61 6d 65 29 29 0a 20 buffer.leetcode--buffer-name))..
9140 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6d 61 79 62 65 2d 66 6f 63 75 73 29 29 29 0a 0a 3b 3b ...(leetcode--maybe-focus)))..;;
9160 3b 23 23 23 61 75 74 6f 6c 6f 61 64 28 61 75 74 6f 6c 6f 61 64 20 27 6c 65 65 74 63 6f 64 65 2d ;###autoload(autoload.'leetcode-
9180 64 61 69 6c 79 20 22 6c 65 65 74 63 6f 64 65 22 20 6e 69 6c 20 74 29 0a 28 61 69 6f 2d 64 65 66 daily."leetcode".nil.t).(aio-def
91a0 75 6e 20 6c 65 65 74 63 6f 64 65 2d 64 61 69 6c 79 20 28 29 0a 20 20 22 4f 70 65 6e 20 74 68 65 un.leetcode-daily.()..."Open.the
91c0 20 64 61 69 6c 79 20 63 68 61 6c 6c 65 6e 67 65 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 .daily.challenge."...(interactiv
91e0 65 29 0a 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 65 6e 73 75 72 e)...(aio-await.(leetcode--ensur
9200 65 2d 6c 6f 67 69 6e 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 75 72 6c 2d 72 65 71 75 65 73 74 2d e-login))...(let*.((url-request-
9220 6d 65 74 68 6f 64 20 22 50 4f 53 54 22 29 0a 20 20 20 20 20 20 20 20 20 28 75 72 6c 2d 72 65 71 method."POST")..........(url-req
9240 75 65 73 74 2d 65 78 74 72 61 2d 68 65 61 64 65 72 73 20 60 28 2c 40 28 61 69 6f 2d 61 77 61 69 uest-extra-headers.`(,@(aio-awai
9260 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 6d 6d 6f 6e 2d 65 78 74 72 61 2d 68 65 61 64 65 72 t.(leetcode--common-extra-header
9280 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 s)).............................
92a0 20 20 20 20 20 20 20 20 20 20 2c 28 6c 65 65 74 63 6f 64 65 2d 2d 72 65 66 65 72 65 72 20 6c 65 ..........,(leetcode--referer.le
92c0 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 6c 6f 67 69 6e 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 75 etcode--url-login)))..........(u
92e0 72 6c 2d 72 65 71 75 65 73 74 2d 64 61 74 61 0a 20 20 20 20 20 20 20 20 20 20 28 6a 73 6f 6e 2d rl-request-data...........(json-
9300 65 6e 63 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 60 28 28 6f 70 65 72 61 74 69 6f 6e 4e 61 encode............`((operationNa
9320 6d 65 20 2e 20 22 71 75 65 73 74 69 6f 6e 4f 66 54 6f 64 61 79 22 29 0a 20 20 20 20 20 20 20 20 me..."questionOfToday").........
9340 20 20 20 20 20 28 71 75 65 72 79 20 2e 20 2c 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 64 61 69 .....(query...,leetcode--url-dai
9360 6c 79 2d 63 68 61 6c 6c 65 6e 67 65 29 29 29 29 29 0a 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 ly-challenge))))).....(with-curr
9380 65 6e 74 2d 62 75 66 66 65 72 20 28 75 72 6c 2d 72 65 74 72 69 65 76 65 2d 73 79 6e 63 68 72 6f ent-buffer.(url-retrieve-synchro
93a0 6e 6f 75 73 6c 79 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 67 72 61 70 68 71 6c 29 0a 20 20 nously.leetcode--url-graphql)...
93c0 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 75 72 6c 2d 68 74 74 70 2d 65 6e 64 2d 6f 66 2d 68 ....(goto-char.url-http-end-of-h
93e0 65 61 64 65 72 73 29 0a 20 20 20 20 20 20 28 6c 65 74 2d 61 6c 69 73 74 20 28 6a 73 6f 6e 2d 72 eaders).......(let-alist.(json-r
9400 65 61 64 29 0a 20 20 20 20 20 20 20 20 28 6c 65 74 20 28 28 71 69 64 20 2e 64 61 74 61 2e 61 63 ead).........(let.((qid..data.ac
9420 74 69 76 65 44 61 69 6c 79 43 6f 64 69 6e 67 43 68 61 6c 6c 65 6e 67 65 51 75 65 73 74 69 6f 6e tiveDailyCodingChallengeQuestion
9440 2e 71 75 65 73 74 69 6f 6e 2e 71 69 64 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 .question.qid))...........(leetc
9460 6f 64 65 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 20 71 69 64 29 29 29 29 29 29 0a 0a 28 61 69 6f ode-show-problem.qid))))))..(aio
9480 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 74 72 79 20 28 29 0a 20 20 22 41 73 79 6e 63 68 -defun.leetcode-try.()..."Asynch
94a0 72 6f 6e 6f 75 73 6c 79 20 74 65 73 74 20 74 68 65 20 63 6f 64 65 20 75 73 69 6e 67 20 63 75 73 ronously.test.the.code.using.cus
94c0 74 6f 6d 69 7a 65 64 20 74 65 73 74 63 61 73 65 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 tomized.testcase."...(interactiv
94e0 65 29 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 72 65 73 74 6f 72 65 2d 6c 61 79 6f 75 74 29 0a 20 e)...(leetcode-restore-layout)..
9500 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 6c 6f .(aio-await.(leetcode--ensure-lo
9520 67 69 6e 20 74 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 74 69 74 6c 65 2d 73 6c 75 67 20 28 6c 65 gin.t))...(let*.((title-slug.(le
9540 65 74 63 6f 64 65 2d 2d 67 65 74 2d 73 6c 75 67 2d 74 69 74 6c 65 20 28 63 75 72 72 65 6e 74 2d etcode--get-slug-title.(current-
9560 62 75 66 66 65 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c 65 6d 20 28 6c 65 65 buffer)))..........(problem.(lee
9580 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 0a tcode--get-problem.title-slug)).
95a0 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c 65 6d 2d 69 64 20 28 6c 65 65 74 63 6f 64 65 2d 70 .........(problem-id.(leetcode-p
95c0 72 6f 62 6c 65 6d 2d 69 64 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 6e roblem-id.problem))..........(in
95e0 74 65 72 70 72 65 74 2d 69 64 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d terpret-id.(aio-await.(leetcode-
9600 2d 61 70 69 2d 69 6e 74 65 72 70 72 65 74 2d 73 6f 6c 75 74 69 6f 6e 20 70 72 6f 62 6c 65 6d 29 -api-interpret-solution.problem)
9620 29 29 29 0a 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 70 ))).....(aio-await.(leetcode--ap
9640 69 2d 63 68 65 63 6b 2d 73 75 62 6d 69 73 73 69 6f 6e 20 69 6e 74 65 72 70 72 65 74 2d 69 64 20 i-check-submission.interpret-id.
9660 70 72 6f 62 6c 65 6d 20 23 27 6c 65 65 74 63 6f 64 65 2d 2d 73 68 6f 77 2d 74 65 73 74 63 61 73 problem.#'leetcode--show-testcas
9680 65 73 2d 72 65 73 75 6c 74 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f es-result))))..(aio-defun.leetco
96a0 64 65 2d 73 75 62 6d 69 74 20 28 29 0a 20 20 22 41 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 20 73 de-submit.()..."Asynchronously.s
96c0 75 62 6d 69 74 20 74 68 65 20 63 6f 64 65 20 61 6e 64 20 73 68 6f 77 20 72 65 73 75 6c 74 2e 22 ubmit.the.code.and.show.result."
96e0 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 72 65 73 ...(interactive)...(leetcode-res
9700 74 6f 72 65 2d 6c 61 79 6f 75 74 29 0a 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 tore-layout)...(aio-await.(leetc
9720 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 6c 6f 67 69 6e 20 74 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 ode--ensure-login.t))...(let*.((
9740 63 6f 64 65 2d 62 75 66 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 0a 20 20 20 20 20 code-buf.(current-buffer))......
9760 20 20 20 20 28 63 6f 64 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 64 65 2d 62 75 66 66 65 72 ....(code.(leetcode--code-buffer
9780 2d 64 61 74 61 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 6c 75 67 2d 74 69 74 6c 65 20 28 6c 65 -data))..........(slug-title.(le
97a0 65 74 63 6f 64 65 2d 2d 67 65 74 2d 73 6c 75 67 2d 74 69 74 6c 65 20 63 6f 64 65 2d 62 75 66 29 etcode--get-slug-title.code-buf)
97c0 29 0a 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c 65 6d 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 )..........(problem.(leetcode--g
97e0 65 74 2d 70 72 6f 62 6c 65 6d 20 73 6c 75 67 2d 74 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 et-problem.slug-title)).........
9800 20 28 70 72 6f 62 6c 65 6d 2d 69 64 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 69 .(problem-id.(leetcode-problem-i
9820 64 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 62 61 63 6b 65 6e 64 2d 69 64 d.problem))..........(backend-id
9840 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 62 61 63 6b 65 6e 64 2d 69 64 20 70 72 .(leetcode-problem-backend-id.pr
9860 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 73 70 6f 6e 73 65 20 28 61 69 6f 2d oblem))..........(response.(aio-
9880 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 70 69 2d 73 75 62 6d 69 74 20 62 61 63 6b await.(leetcode--api-submit.back
98a0 65 6e 64 2d 69 64 20 73 6c 75 67 2d 74 69 74 6c 65 20 63 6f 64 65 29 29 29 0a 20 20 20 20 20 20 end-id.slug-title.code))).......
98c0 20 20 20 28 72 65 73 70 6f 6e 73 65 2d 73 74 61 74 75 73 20 28 63 61 72 20 72 65 73 70 6f 6e 73 ...(response-status.(car.respons
98e0 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 73 70 6f 6e 73 65 2d 62 75 66 66 65 72 20 28 63 e))..........(response-buffer.(c
9900 64 72 20 72 65 73 70 6f 6e 73 65 29 29 29 0a 20 20 20 20 28 69 66 2d 6c 65 74 20 28 28 65 72 72 dr.response))).....(if-let.((err
9920 6f 72 2d 69 6e 66 6f 20 28 70 6c 69 73 74 2d 67 65 74 20 72 65 73 70 6f 6e 73 65 2d 73 74 61 74 or-info.(plist-get.response-stat
9940 75 73 20 3a 65 72 72 6f 72 29 29 29 0a 20 20 20 20 20 20 20 20 28 73 77 69 74 63 68 2d 74 6f 2d us.:error))).........(switch-to-
9960 62 75 66 66 65 72 20 72 65 73 70 6f 6e 73 65 2d 62 75 66 66 65 72 29 0a 20 20 20 20 20 20 28 6c buffer.response-buffer).......(l
9980 65 74 2a 20 28 28 72 65 73 70 20 28 6c 65 65 74 63 6f 64 65 2d 2d 70 61 72 73 65 2d 62 75 66 66 et*.((resp.(leetcode--parse-buff
99a0 65 72 20 72 65 73 70 6f 6e 73 65 2d 62 75 66 66 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 er.response-buffer))............
99c0 20 20 28 73 75 62 6d 69 73 73 69 6f 6e 2d 69 64 20 28 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 ..(submission-id.(number-to-stri
99e0 6e 67 20 28 61 6c 69 73 74 2d 67 65 74 20 27 73 75 62 6d 69 73 73 69 6f 6e 5f 69 64 20 72 65 73 ng.(alist-get.'submission_id.res
9a00 70 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f p)))).........(aio-await.(leetco
9a20 64 65 2d 2d 61 70 69 2d 63 68 65 63 6b 2d 73 75 62 6d 69 73 73 69 6f 6e 20 73 75 62 6d 69 73 73 de--api-check-submission.submiss
9a40 69 6f 6e 2d 69 64 20 70 72 6f 62 6c 65 6d 20 23 27 6c 65 65 74 63 6f 64 65 2d 2d 73 68 6f 77 2d ion-id.problem.#'leetcode--show-
9a60 73 75 62 6d 69 73 73 69 6f 6e 2d 72 65 73 75 6c 74 29 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 submission-result))))))..(defun.
9a80 6c 65 65 74 63 6f 64 65 2d 2d 73 6f 6c 76 69 6e 67 2d 77 69 6e 64 6f 77 2d 6c 61 79 6f 75 74 20 leetcode--solving-window-layout.
9aa0 28 29 0a 20 20 22 53 70 65 63 69 66 79 20 6c 61 79 6f 75 74 20 66 6f 72 20 73 6f 6c 76 69 6e 67 ()..."Specify.layout.for.solving
9ac0 20 70 72 6f 62 6c 65 6d 2e 0a 2b 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2b 2d 2d 2d 2d 2d .problem..+---------------+-----
9ae0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2b 0a 7c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 20 20 -----------+.|...............|..
9b00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 0a 7c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..............|.|...............
9b20 7c 20 20 20 20 20 44 65 74 61 69 6c 20 20 20 20 20 7c 0a 7c 20 20 20 20 20 20 20 20 20 20 20 20 |.....Detail.....|.|............
9b40 20 20 20 7c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 0a 7c 20 20 20 20 20 20 20 20 20 ...|................|.|.........
9b60 20 20 20 20 20 20 2b 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2b 0a 7c 20 20 20 20 20 43 ......+----------------+.|.....C
9b80 6f 64 65 20 20 20 20 20 20 7c 20 20 20 43 75 73 74 6f 6d 69 7a 65 20 20 20 20 7c 0a 7c 20 20 20 ode......|...Customize....|.|...
9ba0 20 20 20 20 20 20 20 20 20 20 20 20 7c 20 20 20 54 65 73 74 63 61 73 65 73 20 20 20 20 7c 0a 7c ............|...Testcases....|.|
9bc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ...............+----------------
9be0 2b 0a 7c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 53 75 62 6d 69 74 2f 54 65 73 74 63 61 +.|...............|Submit/Testca
9c00 73 65 73 7c 0a 7c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 20 20 20 20 52 65 73 75 6c 74 ses|.|...............|....Result
9c20 20 20 20 20 20 20 7c 0a 2b 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2b 2d 2d 2d 2d 2d 2d 2d ......|.+---------------+-------
9c40 2d 2d 2d 2d 2d 2d 2d 2d 2d 2b 22 0a 20 20 28 64 65 6c 65 74 65 2d 6f 74 68 65 72 2d 77 69 6e 64 ---------+"...(delete-other-wind
9c60 6f 77 73 29 0a 20 20 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 64 65 73 63 72 69 70 74 69 ows)...(setq.leetcode--descripti
9c80 6f 6e 2d 77 69 6e 64 6f 77 20 28 73 70 6c 69 74 2d 77 69 6e 64 6f 77 2d 68 6f 72 69 7a 6f 6e 74 on-window.(split-window-horizont
9ca0 61 6c 6c 79 29 29 0a 20 20 28 6f 74 68 65 72 2d 77 69 6e 64 6f 77 20 31 29 0a 20 20 28 73 65 74 ally))...(other-window.1)...(set
9cc0 71 20 6c 65 65 74 63 6f 64 65 2d 2d 74 65 73 74 63 61 73 65 2d 77 69 6e 64 6f 77 20 28 73 70 6c q.leetcode--testcase-window.(spl
9ce0 69 74 2d 77 69 6e 64 6f 77 2d 62 65 6c 6f 77 29 29 0a 20 20 28 6f 74 68 65 72 2d 77 69 6e 64 6f it-window-below))...(other-windo
9d00 77 20 31 29 0a 20 20 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 72 65 73 75 6c 74 2d 77 69 w.1)...(setq.leetcode--result-wi
9d20 6e 64 6f 77 20 28 73 70 6c 69 74 2d 77 69 6e 64 6f 77 2d 62 65 6c 6f 77 29 29 0a 20 20 28 6f 74 ndow.(split-window-below))...(ot
9d40 68 65 72 2d 77 69 6e 64 6f 77 20 2d 31 29 0a 20 20 28 6f 74 68 65 72 2d 77 69 6e 64 6f 77 20 2d her-window.-1)...(other-window.-
9d60 31 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 72 65 1))..(defun.leetcode--display-re
9d80 73 75 6c 74 20 28 62 75 66 66 65 72 20 26 6f 70 74 69 6f 6e 61 6c 20 61 6c 69 73 74 29 0a 20 20 sult.(buffer.&optional.alist)...
9da0 22 44 69 73 70 6c 61 79 20 66 75 6e 63 74 69 6f 6e 20 66 6f 72 20 4c 65 65 74 43 6f 64 65 20 72 "Display.function.for.LeetCode.r
9dc0 65 73 75 6c 74 2e 0a 42 55 46 46 45 52 20 69 73 20 75 73 65 64 20 74 6f 20 73 68 6f 77 20 4c 65 esult..BUFFER.is.used.to.show.Le
9de0 65 74 43 6f 64 65 20 72 65 73 75 6c 74 2e 20 41 4c 49 53 54 20 69 73 20 61 20 63 6f 6d 62 69 6e etCode.result..ALIST.is.a.combin
9e00 65 64 20 61 6c 69 73 74 0a 73 70 65 63 69 66 69 65 64 20 69 6e 20 60 64 69 73 70 6c 61 79 2d 62 ed.alist.specified.in.`display-b
9e20 75 66 66 65 72 2d 61 6c 69 73 74 27 2e 22 0a 20 20 28 6c 65 74 20 28 28 77 69 6e 64 6f 77 20 28 uffer-alist'."...(let.((window.(
9e40 77 69 6e 64 6f 77 2d 6e 65 78 74 2d 73 69 62 6c 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 window-next-sibling.............
9e60 20 20 20 20 20 28 77 69 6e 64 6f 77 2d 6e 65 78 74 2d 73 69 62 6c 69 6e 67 0a 20 20 20 20 20 20 .....(window-next-sibling.......
9e80 20 20 20 20 20 20 20 20 20 20 20 20 28 77 69 6e 64 6f 77 2d 74 6f 70 2d 63 68 69 6c 64 0a 20 20 ............(window-top-child...
9ea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 69 6e 64 6f 77 2d 6e 65 78 74 2d 73 69 .................(window-next-si
9ec0 62 6c 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 69 6e 64 6f bling.....................(windo
9ee0 77 2d 6c 65 66 74 2d 63 68 69 6c 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 w-left-child....................
9f00 20 20 28 66 72 61 6d 65 2d 72 6f 6f 74 2d 77 69 6e 64 6f 77 29 29 29 29 29 29 29 29 0a 20 20 20 ..(frame-root-window))))))))....
9f20 20 28 73 65 74 2d 77 69 6e 64 6f 77 2d 62 75 66 66 65 72 20 77 69 6e 64 6f 77 20 62 75 66 66 65 .(set-window-buffer.window.buffe
9f40 72 29 0a 20 20 20 20 77 69 6e 64 6f 77 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 r).....window))..(defun.leetcode
9f60 2d 2d 64 69 73 70 6c 61 79 2d 74 65 73 74 63 61 73 65 20 28 62 75 66 66 65 72 20 26 6f 70 74 69 --display-testcase.(buffer.&opti
9f80 6f 6e 61 6c 20 61 6c 69 73 74 29 0a 20 20 22 44 69 73 70 6c 61 79 20 66 75 6e 63 74 69 6f 6e 20 onal.alist)..."Display.function.
9fa0 66 6f 72 20 4c 65 65 74 43 6f 64 65 20 74 65 73 74 63 61 73 65 2e 0a 42 55 46 46 45 52 20 69 73 for.LeetCode.testcase..BUFFER.is
9fc0 20 75 73 65 64 20 74 6f 20 73 68 6f 77 20 4c 65 65 74 43 6f 64 65 20 74 65 73 74 63 61 73 65 2e .used.to.show.LeetCode.testcase.
9fe0 20 41 4c 49 53 54 20 69 73 20 61 20 63 6f 6d 62 69 6e 65 64 0a 61 6c 69 73 74 20 73 70 65 63 69 .ALIST.is.a.combined.alist.speci
a000 66 69 65 64 20 69 6e 20 60 64 69 73 70 6c 61 79 2d 62 75 66 66 65 72 2d 61 6c 69 73 74 27 2e 22 fied.in.`display-buffer-alist'."
a020 0a 20 20 28 6c 65 74 20 28 28 77 69 6e 64 6f 77 20 28 77 69 6e 64 6f 77 2d 6e 65 78 74 2d 73 69 ...(let.((window.(window-next-si
a040 62 6c 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 69 6e 64 6f 77 2d 74 bling..................(window-t
a060 6f 70 2d 63 68 69 6c 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 69 6e 64 op-child...................(wind
a080 6f 77 2d 6e 65 78 74 2d 73 69 62 6c 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ow-next-sibling.................
a0a0 20 20 20 28 77 69 6e 64 6f 77 2d 6c 65 66 74 2d 63 68 69 6c 64 0a 20 20 20 20 20 20 20 20 20 20 ...(window-left-child...........
a0c0 20 20 20 20 20 20 20 20 20 20 28 66 72 61 6d 65 2d 72 6f 6f 74 2d 77 69 6e 64 6f 77 29 29 29 29 ..........(frame-root-window))))
a0e0 29 29 29 0a 20 20 20 20 28 73 65 74 2d 77 69 6e 64 6f 77 2d 62 75 66 66 65 72 20 77 69 6e 64 6f ))).....(set-window-buffer.windo
a100 77 20 62 75 66 66 65 72 29 0a 20 20 20 20 77 69 6e 64 6f 77 29 29 0a 0a 28 64 65 66 75 6e 20 6c w.buffer).....window))..(defun.l
a120 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 64 65 74 61 69 6c 20 28 62 75 66 66 65 72 20 eetcode--display-detail.(buffer.
a140 26 6f 70 74 69 6f 6e 61 6c 20 61 6c 69 73 74 29 0a 20 20 22 44 69 73 70 6c 61 79 20 66 75 6e 63 &optional.alist)..."Display.func
a160 74 69 6f 6e 20 66 6f 72 20 4c 65 65 74 43 6f 64 65 20 64 65 74 61 69 6c 2e 0a 42 55 46 46 45 52 tion.for.LeetCode.detail..BUFFER
a180 20 69 73 20 75 73 65 64 20 74 6f 20 73 68 6f 77 20 4c 65 65 74 43 6f 64 65 20 64 65 74 61 69 6c .is.used.to.show.LeetCode.detail
a1a0 2e 20 41 4c 49 53 54 20 69 73 20 61 20 63 6f 6d 62 69 6e 65 64 20 61 6c 69 73 74 0a 73 70 65 63 ..ALIST.is.a.combined.alist.spec
a1c0 69 66 69 65 64 20 69 6e 20 60 64 69 73 70 6c 61 79 2d 62 75 66 66 65 72 2d 61 6c 69 73 74 27 2e ified.in.`display-buffer-alist'.
a1e0 22 0a 20 20 28 6c 65 74 20 28 28 77 69 6e 64 6f 77 20 28 77 69 6e 64 6f 77 2d 74 6f 70 2d 63 68 "...(let.((window.(window-top-ch
a200 69 6c 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 69 6e 64 6f 77 2d 6e 65 78 ild..................(window-nex
a220 74 2d 73 69 62 6c 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 69 6e t-sibling...................(win
a240 64 6f 77 2d 6c 65 66 74 2d 63 68 69 6c 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 dow-left-child..................
a260 20 20 28 66 72 61 6d 65 2d 72 6f 6f 74 2d 77 69 6e 64 6f 77 29 29 29 29 29 29 0a 20 20 20 20 28 ..(frame-root-window)))))).....(
a280 73 65 74 2d 77 69 6e 64 6f 77 2d 62 75 66 66 65 72 20 77 69 6e 64 6f 77 20 62 75 66 66 65 72 29 set-window-buffer.window.buffer)
a2a0 0a 20 20 20 20 77 69 6e 64 6f 77 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d .....window))..(defun.leetcode--
a2c0 64 69 73 70 6c 61 79 2d 63 6f 64 65 20 28 62 75 66 66 65 72 20 26 6f 70 74 69 6f 6e 61 6c 20 61 display-code.(buffer.&optional.a
a2e0 6c 69 73 74 29 0a 20 20 22 44 69 73 70 6c 61 79 20 66 75 6e 63 74 69 6f 6e 20 66 6f 72 20 4c 65 list)..."Display.function.for.Le
a300 65 74 43 6f 64 65 20 63 6f 64 65 2e 0a 42 55 46 46 45 52 20 69 73 20 74 68 65 20 6f 6e 65 20 74 etCode.code..BUFFER.is.the.one.t
a320 6f 20 73 68 6f 77 20 4c 65 65 74 43 6f 64 65 20 63 6f 64 65 2e 20 41 4c 49 53 54 20 69 73 20 61 o.show.LeetCode.code..ALIST.is.a
a340 20 63 6f 6d 62 69 6e 65 64 0a 61 6c 69 73 74 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 60 64 69 .combined.alist.specified.in.`di
a360 73 70 6c 61 79 2d 62 75 66 66 65 72 2d 61 6c 69 73 74 27 2e 22 0a 20 20 28 6c 65 74 20 28 28 77 splay-buffer-alist'."...(let.((w
a380 69 6e 64 6f 77 20 28 77 69 6e 64 6f 77 2d 6c 65 66 74 2d 63 68 69 6c 64 20 28 66 72 61 6d 65 2d indow.(window-left-child.(frame-
a3a0 72 6f 6f 74 2d 77 69 6e 64 6f 77 29 29 29 29 0a 20 20 20 20 28 73 65 74 2d 77 69 6e 64 6f 77 2d root-window)))).....(set-window-
a3c0 62 75 66 66 65 72 20 77 69 6e 64 6f 77 20 62 75 66 66 65 72 29 0a 20 20 20 20 77 69 6e 64 6f 77 buffer.window.buffer).....window
a3e0 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 73 68 6f 77 2d 74 65 73 74 63 61 ))..(defun.leetcode--show-testca
a400 73 65 73 2d 72 65 73 75 6c 74 20 28 70 72 6f 62 6c 65 6d 2d 69 64 20 72 65 73 75 6c 74 29 0a 20 ses-result.(problem-id.result)..
a420 20 22 53 68 6f 77 20 74 65 73 74 63 61 73 65 73 20 52 45 53 55 4c 54 20 62 79 20 50 52 4f 42 4c ."Show.testcases.RESULT.by.PROBL
a440 45 4d 2d 49 44 2e 22 0a 20 20 28 6c 65 74 2d 61 6c 69 73 74 20 72 65 73 75 6c 74 0a 20 20 20 20 EM-ID."...(let-alist.result.....
a460 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 28 67 65 74 2d 62 75 66 66 65 72 (with-current-buffer.(get-buffer
a480 20 28 6c 65 65 74 63 6f 64 65 2d 2d 72 65 73 75 6c 74 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 70 .(leetcode--result-buffer-name.p
a4a0 72 6f 62 6c 65 6d 2d 69 64 29 29 0a 20 20 20 20 20 20 28 65 72 61 73 65 2d 62 75 66 66 65 72 29 roblem-id)).......(erase-buffer)
a4c0 0a 20 20 20 20 20 20 28 67 6f 74 6f 2d 63 68 61 72 20 28 70 6f 69 6e 74 2d 6d 61 78 29 29 0a 20 .......(goto-char.(point-max))..
a4e0 20 20 20 20 20 28 63 6f 6e 64 0a 20 20 20 20 20 20 20 28 28 65 71 20 2e 73 74 61 74 75 73 5f 63 .....(cond........((eq..status_c
a500 6f 64 65 20 31 30 29 0a 20 20 20 20 20 20 20 20 28 69 66 20 28 65 71 75 61 6c 20 2e 63 6f 64 65 ode.10).........(if.(equal..code
a520 5f 61 6e 73 77 65 72 20 2e 65 78 70 65 63 74 65 64 5f 63 6f 64 65 5f 61 6e 73 77 65 72 29 0a 20 _answer..expected_code_answer)..
a540 20 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 64 ...........(insert.(leetcode--ad
a560 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 20 22 50 41 53 53 3a 20 22 20 27 6c 65 65 74 63 6f 64 65 2d 61 d-font-lock."PASS:.".'leetcode-a
a580 63 63 65 70 74 65 64 2d 66 61 63 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 ccepted-face))...........(insert
a5a0 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 20 22 46 41 49 4c 3a .(leetcode--add-font-lock."FAIL:
a5c0 20 22 20 27 6c 65 65 74 63 6f 64 65 2d 65 72 72 6f 72 2d 66 61 63 65 29 29 29 0a 20 20 20 20 20 .".'leetcode-error-face)))......
a5e0 20 20 20 28 69 6e 73 65 72 74 20 22 5c 6e 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 43 6f ...(insert."\n\n").........;;.Co
a600 64 65 20 41 6e 73 77 65 72 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 22 43 6f 64 65 20 de.Answer.........(insert."Code.
a620 41 6e 73 77 65 72 3a 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 28 64 6f 74 69 6d 65 73 20 28 69 20 Answer:\n").........(dotimes.(i.
a640 28 6c 65 6e 67 74 68 20 2e 63 6f 64 65 5f 61 6e 73 77 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 (length..code_answer))..........
a660 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 25 73 5c 6e 22 20 28 61 72 65 66 20 2e 63 .(insert.(format."%s\n".(aref..c
a680 6f 64 65 5f 61 6e 73 77 65 72 20 69 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 ode_answer.i)))).........(insert
a6a0 20 22 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 45 78 70 65 63 74 65 64 0a 20 20 20 20 20 ."\n").........;;.Expected......
a6c0 20 20 20 28 69 6e 73 65 72 74 20 22 45 78 70 65 63 74 65 64 20 43 6f 64 65 20 41 6e 73 77 65 72 ...(insert."Expected.Code.Answer
a6e0 3a 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 28 64 6f 74 69 6d 65 73 20 28 69 20 28 6c 65 6e 67 74 :\n").........(dotimes.(i.(lengt
a700 68 20 2e 65 78 70 65 63 74 65 64 5f 63 6f 64 65 5f 61 6e 73 77 65 72 29 29 0a 20 20 20 20 20 20 h..expected_code_answer)).......
a720 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 25 73 5c 6e 22 20 28 61 72 65 66 ....(insert.(format."%s\n".(aref
a740 20 2e 65 78 70 65 63 74 65 64 5f 63 6f 64 65 5f 61 6e 73 77 65 72 20 69 29 29 29 29 0a 20 20 20 ..expected_code_answer.i))))....
a760 20 20 20 20 20 28 69 6e 73 65 72 74 20 22 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 53 74 .....(insert."\n").........;;.St
a780 64 20 6f 75 74 70 75 74 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 65 71 2d 66 69 6e 64 d.output.........(when.(seq-find
a7a0 20 28 6c 61 6d 62 64 61 20 28 73 29 20 28 6e 6f 74 20 28 73 74 72 69 6e 67 2d 65 6d 70 74 79 2d .(lambda.(s).(not.(string-empty-
a7c0 70 20 73 29 29 29 20 2e 73 74 64 5f 6f 75 74 70 75 74 5f 6c 69 73 74 29 0a 20 20 20 20 20 20 20 p.s)))..std_output_list)........
a7e0 20 20 20 28 69 6e 73 65 72 74 20 22 53 74 64 20 4f 75 74 70 75 74 3a 5c 6e 22 29 0a 20 20 20 20 ...(insert."Std.Output:\n").....
a800 20 20 20 20 20 20 28 64 6f 74 69 6d 65 73 20 28 69 20 28 6c 65 6e 67 74 68 20 2e 73 74 64 5f 6f ......(dotimes.(i.(length..std_o
a820 75 74 70 75 74 5f 6c 69 73 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 utput_list)).............(when.(
a840 61 72 65 66 20 2e 73 74 64 5f 6f 75 74 70 75 74 5f 6c 69 73 74 20 69 29 0a 20 20 20 20 20 20 20 aref..std_output_list.i)........
a860 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 61 72 65 66 20 2e 73 74 64 5f 6f 75 74 70 75 74 .......(insert.(aref..std_output
a880 5f 6c 69 73 74 20 69 29 29 29 29 29 29 0a 20 20 20 20 20 20 20 28 28 6f 72 20 28 65 71 20 2e 73 _list.i))))))........((or.(eq..s
a8a0 74 61 74 75 73 5f 63 6f 64 65 20 31 32 29 20 28 65 71 20 2e 73 74 61 74 75 73 5f 63 6f 64 65 20 tatus_code.12).(eq..status_code.
a8c0 31 34 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 53 74 14)).........(insert.(format."St
a8e0 61 74 75 73 3a 20 25 73 5c 6e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 atus:.%s\n\n"...................
a900 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 0a 20 ......(leetcode--add-font-lock..
a920 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 ........................(format.
a940 22 25 73 20 28 25 73 2f 25 73 29 22 20 2e 73 74 61 74 75 73 5f 6d 73 67 20 2e 74 6f 74 61 6c 5f "%s.(%s/%s)"..status_msg..total_
a960 63 6f 72 72 65 63 74 20 2e 74 6f 74 61 6c 5f 74 65 73 74 63 61 73 65 73 29 0a 20 20 20 20 20 20 correct..total_testcases).......
a980 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 6c 65 65 74 63 6f 64 65 2d 65 72 72 ...................'leetcode-err
a9a0 6f 72 2d 66 61 63 65 29 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d or-face))).........(insert.(form
a9c0 61 74 20 22 54 65 73 74 20 43 61 73 65 3a 20 5c 6e 25 73 5c 6e 5c 6e 22 20 2e 6c 61 73 74 5f 74 at."Test.Case:.\n%s\n\n"..last_t
a9e0 65 73 74 63 61 73 65 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 estcase)).........(insert.(forma
aa00 74 20 22 45 78 70 65 63 74 65 64 20 41 6e 73 77 65 72 3a 20 25 73 5c 6e 5c 6e 22 20 2e 65 78 70 t."Expected.Answer:.%s\n\n"..exp
aa20 65 63 74 65 64 5f 6f 75 74 70 75 74 29 29 0a 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 ected_output)).........(unless.(
aa40 73 74 72 69 6e 67 2d 65 6d 70 74 79 2d 70 20 2e 73 74 64 5f 6f 75 74 70 75 74 29 0a 20 20 20 20 string-empty-p..std_output).....
aa60 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 53 74 64 6f 75 74 3a 20 5c ......(insert.(format."Stdout:.\
aa80 6e 25 73 5c 6e 22 20 2e 73 74 64 5f 6f 75 74 70 75 74 29 29 29 29 0a 20 20 20 20 20 20 20 28 28 n%s\n"..std_output))))........((
aaa0 65 71 20 2e 73 74 61 74 75 73 5f 63 6f 64 65 20 31 35 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 eq..status_code.15).........(ins
aac0 65 72 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 20 2e 73 74 ert.(leetcode--add-font-lock..st
aae0 61 74 75 73 5f 6d 73 67 20 27 6c 65 65 74 63 6f 64 65 2d 65 72 72 6f 72 2d 66 61 63 65 29 29 0a atus_msg.'leetcode-error-face)).
ab00 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 22 5c 6e 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 ........(insert."\n\n").........
ab20 28 69 6e 73 65 72 74 20 2e 66 75 6c 6c 5f 72 75 6e 74 69 6d 65 5f 65 72 72 6f 72 29 29 0a 20 20 (insert..full_runtime_error))...
ab40 20 20 20 20 20 28 28 65 71 20 2e 73 74 61 74 75 73 5f 63 6f 64 65 20 32 30 29 0a 20 20 20 20 20 .....((eq..status_code.20)......
ab60 20 20 20 28 69 6e 73 65 72 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c ...(insert.(leetcode--add-font-l
ab80 6f 63 6b 20 2e 73 74 61 74 75 73 5f 6d 73 67 20 27 6c 65 65 74 63 6f 64 65 2d 65 72 72 6f 72 2d ock..status_msg.'leetcode-error-
aba0 66 61 63 65 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 22 5c 6e 5c 6e 22 29 0a 20 face)).........(insert."\n\n")..
abc0 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 2e 66 75 6c 6c 5f 63 6f 6d 70 69 6c 65 5f 65 72 72 .......(insert..full_compile_err
abe0 6f 72 29 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 73 68 6f 77 2d or))))))..(defun.leetcode--show-
ac00 73 75 62 6d 69 73 73 69 6f 6e 2d 72 65 73 75 6c 74 20 28 70 72 6f 62 6c 65 6d 2d 69 64 20 72 65 submission-result.(problem-id.re
ac20 73 75 6c 74 29 0a 20 20 22 53 68 6f 77 20 65 72 72 6f 72 20 69 6e 66 6f 20 69 6e 20 60 6c 65 65 sult)..."Show.error.info.in.`lee
ac40 74 63 6f 64 65 2d 2d 72 65 73 75 6c 74 2d 62 75 66 66 65 72 2d 6e 61 6d 65 27 20 62 79 20 50 52 tcode--result-buffer-name'.by.PR
ac60 4f 42 4c 45 4d 2d 49 44 2e 0a 45 72 72 6f 72 20 69 6e 66 6f 20 63 6f 6d 65 73 20 66 72 6f 6d 20 OBLEM-ID..Error.info.comes.from.
ac80 52 45 53 55 4c 54 2e 0a 0a 53 54 41 54 55 53 5f 43 4f 44 45 20 68 61 73 20 66 6f 6c 6c 6f 77 69 RESULT...STATUS_CODE.has.followi
aca0 6e 67 20 70 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 3a 0a 0a 2d 20 31 30 3a 20 41 63 63 65 70 74 ng.possible.value:..-.10:.Accept
acc0 65 64 0a 2d 20 31 31 3a 20 57 72 6f 6e 67 20 41 6e 77 73 65 72 0a 2d 20 31 32 3a 20 4d 65 6d 6f ed.-.11:.Wrong.Anwser.-.12:.Memo
ace0 72 79 20 4c 69 6d 69 74 20 45 78 63 65 65 64 65 64 0a 2d 20 31 33 3a 20 4f 75 74 70 75 74 20 4c ry.Limit.Exceeded.-.13:.Output.L
ad00 69 6d 69 74 20 45 78 63 65 65 64 65 64 0a 2d 20 31 34 3a 20 54 69 6d 65 20 4c 69 6d 69 74 20 45 imit.Exceeded.-.14:.Time.Limit.E
ad20 78 63 65 65 64 65 64 0a 2d 20 31 35 3a 20 52 75 6e 74 69 6d 65 20 45 72 72 6f 72 2e 20 20 66 75 xceeded.-.15:.Runtime.Error...fu
ad40 6c 6c 5f 72 75 6e 74 69 6d 65 5f 65 72 72 6f 72 0a 2d 20 32 30 3a 20 43 6f 6d 70 69 6c 65 20 45 ll_runtime_error.-.20:.Compile.E
ad60 72 72 6f 72 2e 20 20 66 75 6c 6c 5f 63 6f 6d 70 69 6c 65 5f 65 72 72 6f 72 22 0a 20 20 28 6c 65 rror...full_compile_error"...(le
ad80 74 2d 61 6c 69 73 74 20 72 65 73 75 6c 74 0a 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 t-alist.result.....(with-current
ada0 2d 62 75 66 66 65 72 20 28 67 65 74 2d 62 75 66 66 65 72 2d 63 72 65 61 74 65 20 28 6c 65 65 74 -buffer.(get-buffer-create.(leet
adc0 63 6f 64 65 2d 2d 72 65 73 75 6c 74 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 70 72 6f 62 6c 65 6d code--result-buffer-name.problem
ade0 2d 69 64 29 29 0a 20 20 20 20 20 20 28 65 72 61 73 65 2d 62 75 66 66 65 72 29 0a 20 20 20 20 20 -id)).......(erase-buffer)......
ae00 20 28 66 6f 6e 74 2d 6c 6f 63 6b 2d 6d 6f 64 65 20 2b 31 29 0a 20 20 20 20 20 20 28 63 6f 6e 64 .(font-lock-mode.+1).......(cond
ae20 0a 20 20 20 20 20 20 20 28 28 65 71 20 2e 73 74 61 74 75 73 5f 63 6f 64 65 20 31 30 29 0a 20 20 ........((eq..status_code.10)...
ae40 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 53 74 61 74 75 73 3a 20 25 ......(insert.(format."Status:.%
ae60 73 5c 6e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 s\n\n".........................(
ae80 6c 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 0a 20 20 20 20 20 20 20 20 leetcode--add-font-lock.........
aea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 20 28 25 73 .................(format."%s.(%s
aec0 2f 25 73 29 22 20 2e 73 74 61 74 75 73 5f 6d 73 67 20 2e 74 6f 74 61 6c 5f 63 6f 72 72 65 63 74 /%s)"..status_msg..total_correct
aee0 20 2e 74 6f 74 61 6c 5f 74 65 73 74 63 61 73 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ..total_testcases)..............
af00 20 20 20 20 20 20 20 20 20 20 20 20 27 6c 65 65 74 63 6f 64 65 2d 61 63 63 65 70 74 65 64 2d 66 ............'leetcode-accepted-f
af20 61 63 65 29 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 ace))).........(insert.(format."
af40 52 75 6e 74 69 6d 65 3a 20 25 73 2c 20 66 61 73 74 65 72 20 74 68 61 6e 20 25 2e 32 66 25 25 20 Runtime:.%s,.faster.than.%.2f%%.
af60 6f 66 20 25 73 20 73 75 62 6d 69 73 73 69 6f 6e 73 2e 5c 6e 5c 6e 22 0a 20 20 20 20 20 20 20 20 of.%s.submissions.\n\n".........
af80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 73 74 61 74 75 73 5f 72 75 6e 74 69 6d 65 20 .................status_runtime.
afa0 2e 72 75 6e 74 69 6d 65 5f 70 65 72 63 65 6e 74 69 6c 65 20 2e 70 72 65 74 74 79 5f 6c 61 6e 67 .runtime_percentile..pretty_lang
afc0 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 4d 65 6d 6f )).........(insert.(format."Memo
afe0 72 79 20 55 73 61 67 65 3a 20 25 73 2c 20 6c 65 73 73 20 74 68 61 6e 20 25 2e 32 66 25 25 20 6f ry.Usage:.%s,.less.than.%.2f%%.o
b000 66 20 25 73 20 73 75 62 6d 69 73 73 69 6f 6e 73 2e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 f.%s.submissions."..............
b020 20 20 20 20 20 20 20 20 20 20 20 2e 73 74 61 74 75 73 5f 6d 65 6d 6f 72 79 20 2e 6d 65 6d 6f 72 ............status_memory..memor
b040 79 5f 70 65 72 63 65 6e 74 69 6c 65 20 2e 70 72 65 74 74 79 5f 6c 61 6e 67 29 29 29 0a 20 20 20 y_percentile..pretty_lang)))....
b060 20 20 20 20 28 28 65 71 20 2e 73 74 61 74 75 73 5f 63 6f 64 65 20 31 31 29 0a 20 20 20 20 20 20 ....((eq..status_code.11).......
b080 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 53 74 61 74 75 73 3a 20 25 73 5c 6e 5c ..(insert.(format."Status:.%s\n\
b0a0 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 n".........................(leet
b0c0 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 0a 20 20 20 20 20 20 20 20 20 20 20 20 code--add-font-lock.............
b0e0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 20 28 25 73 2f 25 73 29 .............(format."%s.(%s/%s)
b100 22 20 2e 73 74 61 74 75 73 5f 6d 73 67 20 2e 74 6f 74 61 6c 5f 63 6f 72 72 65 63 74 20 2e 74 6f "..status_msg..total_correct..to
b120 74 61 6c 5f 74 65 73 74 63 61 73 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tal_testcases)..................
b140 20 20 20 20 20 20 20 20 27 6c 65 65 74 63 6f 64 65 2d 65 72 72 6f 72 2d 66 61 63 65 29 29 29 0a ........'leetcode-error-face))).
b160 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 54 65 73 74 20 43 61 ........(insert.(format."Test.Ca
b180 73 65 3a 20 5c 6e 25 73 5c 6e 5c 6e 22 20 2e 69 6e 70 75 74 29 29 0a 20 20 20 20 20 20 20 20 28 se:.\n%s\n\n"..input)).........(
b1a0 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 41 6e 73 77 65 72 3a 20 25 73 5c 6e 5c 6e 22 20 insert.(format."Answer:.%s\n\n".
b1c0 2e 63 6f 64 65 5f 6f 75 74 70 75 74 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 .code_output)).........(insert.(
b1e0 66 6f 72 6d 61 74 20 22 45 78 70 65 63 74 65 64 20 41 6e 73 77 65 72 3a 20 25 73 5c 6e 5c 6e 22 format."Expected.Answer:.%s\n\n"
b200 20 2e 65 78 70 65 63 74 65 64 5f 6f 75 74 70 75 74 29 29 0a 20 20 20 20 20 20 20 20 28 75 6e 6c ..expected_output)).........(unl
b220 65 73 73 20 28 73 74 72 69 6e 67 2d 65 6d 70 74 79 2d 70 20 2e 73 74 64 5f 6f 75 74 70 75 74 29 ess.(string-empty-p..std_output)
b240 0a 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 53 74 64 6f ...........(insert.(format."Stdo
b260 75 74 3a 20 5c 6e 25 73 5c 6e 22 20 2e 73 74 64 5f 6f 75 74 70 75 74 29 29 29 29 0a 20 20 20 20 ut:.\n%s\n"..std_output)))).....
b280 20 20 20 28 28 65 71 20 2e 73 74 61 74 75 73 5f 63 6f 64 65 20 31 32 29 0a 20 20 20 20 20 20 20 ...((eq..status_code.12)........
b2a0 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 53 74 61 74 75 73 3a 20 25 73 22 20 28 6c .(insert.(format."Status:.%s".(l
b2c0 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 20 2e 73 74 61 74 75 73 5f 6d eetcode--add-font-lock..status_m
b2e0 73 67 20 27 6c 65 65 74 63 6f 64 65 2d 65 72 72 6f 72 2d 66 61 63 65 29 29 29 0a 20 20 20 20 20 sg.'leetcode-error-face)))......
b300 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 5c 6e 5c 6e 25 73 20 2f 20 25 73 20 ...(insert.(format."\n\n%s./.%s.
b320 74 65 73 74 63 61 73 65 73 20 70 61 73 73 65 64 5c 6e 22 20 2e 74 6f 74 61 6c 5f 63 6f 72 72 65 testcases.passed\n"..total_corre
b340 63 74 20 2e 74 6f 74 61 6c 5f 74 65 73 74 63 61 73 65 73 29 29 0a 20 20 20 20 20 20 20 20 28 69 ct..total_testcases)).........(i
b360 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 4c 61 73 74 20 54 65 73 74 20 43 61 73 65 3a 20 25 nsert.(format."Last.Test.Case:.%
b380 73 5c 6e 22 20 2e 6c 61 73 74 5f 74 65 73 74 63 61 73 65 29 29 29 0a 20 20 20 20 20 20 20 28 28 s\n"..last_testcase)))........((
b3a0 65 71 20 2e 73 74 61 74 75 73 5f 63 6f 64 65 20 31 33 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 eq..status_code.13).........(ins
b3c0 65 72 74 20 28 66 6f 72 6d 61 74 20 22 53 74 61 74 75 73 3a 20 25 73 22 20 28 6c 65 65 74 63 6f ert.(format."Status:.%s".(leetco
b3e0 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 20 2e 73 74 61 74 75 73 5f 6d 73 67 20 27 6c de--add-font-lock..status_msg.'l
b400 65 65 74 63 6f 64 65 2d 65 72 72 6f 72 2d 66 61 63 65 29 29 29 29 0a 20 20 20 20 20 20 20 28 28 eetcode-error-face))))........((
b420 65 71 20 2e 73 74 61 74 75 73 5f 63 6f 64 65 20 31 34 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 eq..status_code.14).........(ins
b440 65 72 74 20 28 66 6f 72 6d 61 74 20 22 53 74 61 74 75 73 3a 20 25 73 22 20 28 6c 65 65 74 63 6f ert.(format."Status:.%s".(leetco
b460 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 20 2e 73 74 61 74 75 73 5f 6d 73 67 20 27 6c de--add-font-lock..status_msg.'l
b480 65 65 74 63 6f 64 65 2d 65 72 72 6f 72 2d 66 61 63 65 29 29 29 0a 20 20 20 20 20 20 20 20 28 69 eetcode-error-face))).........(i
b4a0 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 5c 6e 5c 6e 25 73 20 2f 20 25 73 20 74 65 73 74 63 nsert.(format."\n\n%s./.%s.testc
b4c0 61 73 65 73 20 70 61 73 73 65 64 5c 6e 22 20 2e 74 6f 74 61 6c 5f 63 6f 72 72 65 63 74 20 2e 74 ases.passed\n"..total_correct..t
b4e0 6f 74 61 6c 5f 74 65 73 74 63 61 73 65 73 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 otal_testcases)).........(insert
b500 20 28 66 6f 72 6d 61 74 20 22 4c 61 73 74 20 54 65 73 74 20 43 61 73 65 3a 20 25 73 5c 6e 22 20 .(format."Last.Test.Case:.%s\n".
b520 2e 6c 61 73 74 5f 74 65 73 74 63 61 73 65 29 29 29 0a 20 20 20 20 20 20 20 28 28 65 71 20 2e 73 .last_testcase)))........((eq..s
b540 74 61 74 75 73 5f 63 6f 64 65 20 31 35 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 tatus_code.15).........(insert.(
b560 66 6f 72 6d 61 74 20 22 53 74 61 74 75 73 3a 20 25 73 22 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 format."Status:.%s".(leetcode--a
b580 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 20 2e 73 74 61 74 75 73 5f 6d 73 67 20 27 6c 65 65 74 63 6f dd-font-lock..status_msg.'leetco
b5a0 64 65 2d 65 72 72 6f 72 2d 66 61 63 65 29 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 de-error-face))).........(insert
b5c0 20 28 66 6f 72 6d 61 74 20 22 5c 6e 5c 6e 25 73 20 2f 20 25 73 20 74 65 73 74 63 61 73 65 73 20 .(format."\n\n%s./.%s.testcases.
b5e0 70 61 73 73 65 64 5c 6e 22 20 2e 74 6f 74 61 6c 5f 63 6f 72 72 65 63 74 20 2e 74 6f 74 61 6c 5f passed\n"..total_correct..total_
b600 74 65 73 74 63 61 73 65 73 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 testcases)).........(insert.(for
b620 6d 61 74 20 22 4c 61 73 74 20 54 65 73 74 20 43 61 73 65 3a 20 25 73 5c 6e 22 20 2e 6c 61 73 74 mat."Last.Test.Case:.%s\n"..last
b640 5f 74 65 73 74 63 61 73 65 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 22 5c 6e 5c _testcase)).........(insert."\n\
b660 6e 22 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 2e 66 75 6c n").........(insert.(format..ful
b680 6c 5f 72 75 6e 74 69 6d 65 5f 65 72 72 6f 72 29 29 29 0a 20 20 20 20 20 20 20 28 28 65 71 20 2e l_runtime_error)))........((eq..
b6a0 73 74 61 74 75 73 5f 63 6f 64 65 20 32 30 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 status_code.20).........(insert.
b6c0 28 66 6f 72 6d 61 74 20 22 53 74 61 74 75 73 3a 20 25 73 22 20 28 6c 65 65 74 63 6f 64 65 2d 2d (format."Status:.%s".(leetcode--
b6e0 61 64 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 20 2e 73 74 61 74 75 73 5f 6d 73 67 20 27 6c 65 65 74 63 add-font-lock..status_msg.'leetc
b700 6f 64 65 2d 65 72 72 6f 72 2d 66 61 63 65 29 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 ode-error-face))).........(inser
b720 74 20 22 5c 6e 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 t."\n\n").........(insert.(forma
b740 74 20 2e 66 75 6c 6c 5f 63 6f 6d 70 69 6c 65 5f 65 72 72 6f 72 29 29 29 29 0a 20 20 20 20 20 20 t..full_compile_error)))).......
b760 28 64 69 73 70 6c 61 79 2d 62 75 66 66 65 72 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 (display-buffer.(current-buffer)
b780 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 28 28 64 69 73 70 6c 61 .......................'((displa
b7a0 79 2d 62 75 66 66 65 72 2d 72 65 75 73 65 2d 77 69 6e 64 6f 77 0a 20 20 20 20 20 20 20 20 20 20 y-buffer-reuse-window...........
b7c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 ...............leetcode--display
b7e0 2d 72 65 73 75 6c 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 -result)........................
b800 20 28 72 65 75 73 61 62 6c 65 2d 66 72 61 6d 65 73 20 2e 20 76 69 73 69 62 6c 65 29 29 29 29 29 .(reusable-frames...visible)))))
b820 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d )..(defun.leetcode--show-problem
b840 20 28 70 72 6f 62 6c 65 6d 29 0a 20 20 22 53 68 6f 77 20 74 68 65 20 64 65 74 61 69 6c 20 6f 66 .(problem)..."Show.the.detail.of
b860 20 50 52 4f 42 4c 45 4d 2e 0a 55 73 65 20 60 73 68 72 2d 72 65 6e 64 65 72 2d 62 75 66 66 65 72 .PROBLEM..Use.`shr-render-buffer
b880 27 20 74 6f 20 72 65 6e 64 65 72 20 70 72 6f 62 6c 65 6d 20 64 65 74 61 69 6c 2e 20 54 68 69 73 '.to.render.problem.detail..This
b8a0 20 61 63 74 69 6f 6e 0a 77 69 6c 6c 20 73 68 6f 77 20 74 68 65 20 64 65 74 61 69 6c 20 69 6e 20 .action.will.show.the.detail.in.
b8c0 6f 74 68 65 72 20 77 69 6e 64 6f 77 20 61 6e 64 20 6a 75 6d 70 20 74 6f 20 69 74 2e 22 0a 20 20 other.window.and.jump.to.it."...
b8e0 28 6c 65 74 2a 20 28 28 70 72 6f 62 6c 65 6d 2d 69 64 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f (let*.((problem-id.(leetcode-pro
b900 62 6c 65 6d 2d 69 64 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 69 74 6c blem-id.problem))..........(titl
b920 65 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 20 70 72 6f 62 6c 65 e.(leetcode-problem-title.proble
b940 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 69 66 66 69 63 75 6c 74 79 20 28 6c 65 65 74 63 6f m))..........(difficulty.(leetco
b960 64 65 2d 70 72 6f 62 6c 65 6d 2d 64 69 66 66 69 63 75 6c 74 79 20 70 72 6f 62 6c 65 6d 29 29 0a de-problem-difficulty.problem)).
b980 20 20 20 20 20 20 20 20 20 28 6c 69 6b 65 73 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 .........(likes.(leetcode-proble
b9a0 6d 2d 6c 69 6b 65 73 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 69 73 6c m-likes.problem))..........(disl
b9c0 69 6b 65 73 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 64 69 73 6c 69 6b 65 73 20 ikes.(leetcode-problem-dislikes.
b9e0 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e 74 20 28 6c 65 65 problem))..........(content.(lee
ba00 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 63 6f 6e 74 65 6e 74 20 70 72 6f 62 6c 65 6d 29 29 0a tcode-problem-content.problem)).
ba20 20 20 20 20 20 20 20 20 20 28 62 75 66 2d 6e 61 6d 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 64 65 .........(buf-name.(leetcode--de
ba40 74 61 69 6c 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 0a 20 20 tail-buffer-name.problem-id))...
ba60 20 20 20 20 20 20 20 28 68 74 6d 6c 2d 6d 61 72 67 69 6e 20 22 26 6e 62 73 70 3b 26 6e 62 73 70 .......(html-margin."&nbsp;&nbsp
ba80 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 22 29 29 0a 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d ;&nbsp;&nbsp;")).....(leetcode--
baa0 64 65 62 75 67 20 22 73 65 6c 65 63 74 20 74 69 74 6c 65 3a 20 25 73 22 20 74 69 74 6c 65 29 0a debug."select.title:.%s".title).
bac0 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6d 61 79 62 65 2d 66 6f 63 75 73 29 0a 20 20 20 20 ....(leetcode--maybe-focus).....
bae0 3b 3b 20 4b 69 6c 6c 20 64 65 66 61 69 6c 20 62 75 66 66 65 72 20 69 66 20 65 78 69 73 74 73 2c ;;.Kill.defail.buffer.if.exists,
bb00 20 77 65 27 6c 6c 20 72 65 2d 63 72 65 61 74 65 20 61 20 6e 65 77 20 6f 6e 65 2e 0a 20 20 20 20 .we'll.re-create.a.new.one......
bb20 28 77 68 65 6e 20 28 67 65 74 2d 62 75 66 66 65 72 20 62 75 66 2d 6e 61 6d 65 29 20 28 6b 69 6c (when.(get-buffer.buf-name).(kil
bb40 6c 2d 62 75 66 66 65 72 20 62 75 66 2d 6e 61 6d 65 29 29 0a 20 20 20 20 3b 3b 20 52 65 6e 64 65 l-buffer.buf-name)).....;;.Rende
bb60 72 20 71 75 65 73 74 69 6f 6e 20 77 69 74 68 20 60 73 68 72 27 2e 0a 20 20 20 20 28 77 69 74 68 r.question.with.`shr'......(with
bb80 2d 74 65 6d 70 2d 62 75 66 66 65 72 0a 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 63 6f 6e 63 -temp-buffer.......(insert.(conc
bba0 61 74 20 22 3c 68 31 3e 22 20 70 72 6f 62 6c 65 6d 2d 69 64 20 22 2e 20 22 20 74 69 74 6c 65 20 at."<h1>".problem-id."..".title.
bbc0 22 3c 2f 68 31 3e 22 29 29 0a 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 63 6f 6e 63 61 74 20 "</h1>")).......(insert.(concat.
bbe0 28 63 61 70 69 74 61 6c 69 7a 65 20 64 69 66 66 69 63 75 6c 74 79 29 20 68 74 6d 6c 2d 6d 61 72 (capitalize.difficulty).html-mar
bc00 67 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6c 69 6b 65 73 gin......................."likes
bc20 3a 20 22 20 28 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 20 6c 69 6b 65 73 29 20 68 74 6d :.".(number-to-string.likes).htm
bc40 6c 2d 6d 61 72 67 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 l-margin......................."
bc60 64 69 73 6c 69 6b 65 73 3a 20 22 20 28 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 20 64 69 dislikes:.".(number-to-string.di
bc80 73 6c 69 6b 65 73 29 29 29 0a 20 20 20 20 20 20 3b 3b 20 53 6f 6d 65 74 69 6d 65 73 20 4c 65 65 slikes))).......;;.Sometimes.Lee
bca0 74 43 6f 64 65 20 64 6f 6e 27 74 20 68 61 76 65 20 61 20 27 3c 70 3e 27 20 61 74 20 74 68 65 20 tCode.don't.have.a.'<p>'.at.the.
bcc0 6f 75 74 65 72 6d 6f 73 74 2e 2e 2e 0a 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 22 3c 70 3e 22 outermost..........(insert."<p>"
bce0 20 63 6f 6e 74 65 6e 74 20 22 3c 2f 70 3e 22 29 0a 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 .content."</p>").......(leetcode
bd00 2d 2d 72 65 70 6c 61 63 65 2d 69 6e 2d 62 75 66 66 65 72 20 22 0d 22 20 22 22 29 0a 20 20 20 20 --replace-in-buffer."."."").....
bd20 20 20 3b 3b 20 4e 4f 54 45 3a 20 73 68 72 2e 65 6c 20 63 61 6e 27 74 20 72 65 6e 64 65 72 20 22 ..;;.NOTE:.shr.el.can't.render."
bd40 68 74 74 70 73 3a 2f 2f 78 78 78 78 2e 70 6e 67 22 2c 20 73 6f 20 77 65 20 75 73 65 20 22 68 74 https://xxxx.png",.so.we.use."ht
bd60 74 70 22 0a 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 72 65 70 6c 61 63 65 2d 69 6e 2d tp".......(leetcode--replace-in-
bd80 62 75 66 66 65 72 20 22 68 74 74 70 73 22 20 22 68 74 74 70 22 29 0a 20 20 20 20 20 20 28 73 68 buffer."https"."http").......(sh
bda0 72 2d 72 65 6e 64 65 72 2d 62 75 66 66 65 72 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 r-render-buffer.(current-buffer)
bdc0 29 29 0a 0a 20 20 20 20 3b 3b 20 60 73 68 72 2d 72 65 6e 64 65 72 2d 62 75 66 66 65 72 27 20 77 ))......;;.`shr-render-buffer'.w
bde0 69 6c 6c 20 70 75 74 20 74 68 65 20 72 65 73 75 6c 74 20 69 6e 20 62 75 66 66 65 72 20 2a 68 74 ill.put.the.result.in.buffer.*ht
be00 6d 6c 2a 2e 0a 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 22 2a ml*......(with-current-buffer."*
be20 68 74 6d 6c 2a 22 0a 20 20 20 20 20 20 28 73 61 76 65 2d 6d 61 74 63 68 2d 64 61 74 61 0a 20 20 html*".......(save-match-data...
be40 20 20 20 20 20 20 28 72 65 2d 73 65 61 72 63 68 2d 66 6f 72 77 61 72 64 20 22 64 69 73 6c 69 6b ......(re-search-forward."dislik
be60 65 73 3a 20 2e 2a 22 20 6e 69 6c 20 74 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 es:..*".nil.t).........(insert.(
be80 6d 61 6b 65 2d 73 74 72 69 6e 67 20 34 20 3f 5c 73 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 make-string.4.?\s)).........(ins
bea0 65 72 74 2d 74 65 78 74 2d 62 75 74 74 6f 6e 20 22 53 6f 6c 76 65 20 69 74 22 0a 20 20 20 20 20 ert-text-button."Solve.it"......
bec0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 61 63 74 69 6f 6e 20 28 .......................'action.(
bee0 6c 61 6d 62 64 61 20 28 62 74 6e 29 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 74 61 72 74 2d 63 6f lambda.(btn).(leetcode--start-co
bf00 64 69 6e 67 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ding.problem))..................
bf20 20 20 20 20 20 20 20 20 20 20 20 27 68 65 6c 70 2d 65 63 68 6f 20 22 53 6f 6c 76 65 20 74 68 65 ...........'help-echo."Solve.the
bf40 20 70 72 6f 62 6c 65 6d 2e 22 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 6d 61 6b .problem.").........(insert.(mak
bf60 65 2d 73 74 72 69 6e 67 20 34 20 3f 5c 73 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 e-string.4.?\s)).........(insert
bf80 2d 74 65 78 74 2d 62 75 74 74 6f 6e 20 22 4c 69 6e 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 -text-button."Link".............
bfa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 61 63 74 69 6f 6e 20 28 6c 61 6d 62 64 61 20 ................'action.(lambda.
bfc0 28 62 74 6e 29 20 28 62 72 6f 77 73 65 2d 75 72 6c 20 28 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f (btn).(browse-url.(leetcode--pro
bfe0 62 6c 65 6d 2d 6c 69 6e 6b 20 74 69 74 6c 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 blem-link.title)))..............
c000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 68 65 6c 70 2d 65 63 68 6f 20 22 4f 70 65 6e 20 ...............'help-echo."Open.
c020 74 68 65 20 70 72 6f 62 6c 65 6d 20 69 6e 20 62 72 6f 77 73 65 72 2e 22 29 0a 20 20 20 20 20 20 the.problem.in.browser.").......
c040 20 20 28 69 6e 73 65 72 74 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 20 34 20 3f 5c 73 29 29 0a 20 ..(insert.(make-string.4.?\s))..
c060 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 2d 74 65 78 74 2d 62 75 74 74 6f 6e 20 22 53 6f 6c 75 .......(insert-text-button."Solu
c080 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tion"...........................
c0a0 20 20 27 61 63 74 69 6f 6e 20 28 6c 61 6d 62 64 61 20 28 62 74 6e 29 20 28 62 72 6f 77 73 65 2d ..'action.(lambda.(btn).(browse-
c0c0 75 72 6c 20 28 63 6f 6e 63 61 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 6c url.(concat.(leetcode--problem-l
c0e0 69 6e 6b 20 74 69 74 6c 65 29 20 22 2f 73 6f 6c 75 74 69 6f 6e 22 29 29 29 0a 20 20 20 20 20 20 ink.title)."/solution"))).......
c100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 68 65 6c 70 2d 65 63 68 6f ......................'help-echo
c120 20 22 4f 70 65 6e 20 74 68 65 20 70 72 6f 62 6c 65 6d 20 73 6f 6c 75 74 69 6f 6e 20 70 61 67 65 ."Open.the.problem.solution.page
c140 20 69 6e 20 62 72 6f 77 73 65 72 2e 22 29 29 0a 20 20 20 20 20 20 28 72 65 6e 61 6d 65 2d 62 75 .in.browser.")).......(rename-bu
c160 66 66 65 72 20 62 75 66 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d ffer.buf-name).......(leetcode--
c180 70 72 6f 62 6c 65 6d 2d 64 65 74 61 69 6c 2d 6d 6f 64 65 29 0a 20 20 20 20 20 20 28 73 77 69 74 problem-detail-mode).......(swit
c1a0 63 68 2d 74 6f 2d 62 75 66 66 65 72 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 0a 20 ch-to-buffer.(current-buffer))..
c1c0 20 20 20 20 20 28 73 65 61 72 63 68 2d 62 61 63 6b 77 61 72 64 20 22 53 6f 6c 76 65 20 69 74 22 .....(search-backward."Solve.it"
c1e0 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 70 ))))..(aio-defun.leetcode-show-p
c200 72 6f 62 6c 65 6d 20 28 70 72 6f 62 6c 65 6d 2d 69 64 29 0a 20 20 22 53 68 6f 77 20 74 68 65 20 roblem.(problem-id)..."Show.the.
c220 64 65 74 61 69 6c 20 6f 66 20 70 72 6f 62 6c 65 6d 20 77 69 74 68 20 69 64 20 50 52 4f 42 4c 45 detail.of.problem.with.id.PROBLE
c240 4d 2d 49 44 2e 0a 47 65 74 20 70 72 6f 62 6c 65 6d 20 62 79 20 69 64 20 61 6e 64 20 75 73 65 20 M-ID..Get.problem.by.id.and.use.
c260 60 73 68 72 2d 72 65 6e 64 65 72 2d 62 75 66 66 65 72 27 20 74 6f 20 72 65 6e 64 65 72 20 70 72 `shr-render-buffer'.to.render.pr
c280 6f 62 6c 65 6d 0a 64 65 74 61 69 6c 2e 20 54 68 69 73 20 61 63 74 69 6f 6e 20 77 69 6c 6c 20 73 oblem.detail..This.action.will.s
c2a0 68 6f 77 20 74 68 65 20 64 65 74 61 69 6c 20 69 6e 20 6f 74 68 65 72 20 77 69 6e 64 6f 77 20 61 how.the.detail.in.other.window.a
c2c0 6e 64 20 6a 75 6d 70 0a 74 6f 20 69 74 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 20 28 nd.jump.to.it."...(interactive.(
c2e0 6c 69 73 74 20 28 72 65 61 64 2d 73 74 72 69 6e 67 20 22 53 68 6f 77 20 70 72 6f 62 6c 65 6d 20 list.(read-string."Show.problem.
c300 62 79 20 70 72 6f 62 6c 65 6d 20 69 64 3a 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 by.problem.id:."................
c320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 64 65 72 69 76 65 ...................(when.(derive
c340 64 2d 6d 6f 64 65 2d 70 20 27 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 2d 6d 6f 64 d-mode-p.'leetcode--problems-mod
c360 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e)..............................
c380 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 75 72 72 65 6e 74 2d 70 72 .......(leetcode--get-current-pr
c3a0 6f 62 6c 65 6d 2d 69 64 29 29 29 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 70 72 6f 62 6c 65 6d 20 oblem-id)))))...(let*.((problem.
c3c0 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 2d 62 79 2d 69 64 20 70 72 6f (leetcode--get-problem-by-id.pro
c3e0 62 6c 65 6d 2d 69 64 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 69 74 6c 65 2d 73 6c 75 67 20 28 blem-id))..........(title-slug.(
c400 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 2d 73 6c 75 67 20 70 72 6f 62 leetcode-problem-title-slug.prob
c420 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c 65 6d 2d 77 69 74 68 2d 74 69 74 lem))..........(problem-with-tit
c440 6c 65 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d le.(aio-await.(leetcode--ensure-
c460 71 75 65 73 74 69 6f 6e 2d 74 69 74 6c 65 20 70 72 6f 62 6c 65 6d 29 29 29 0a 20 20 20 20 20 20 question-title.problem))).......
c480 20 20 20 28 70 72 6f 62 6c 65 6d 2d 77 69 74 68 2d 63 6f 6e 74 65 6e 74 20 28 61 69 6f 2d 61 77 ...(problem-with-content.(aio-aw
c4a0 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 71 75 65 73 74 69 6f 6e 2d 63 ait.(leetcode--ensure-question-c
c4c0 6f 6e 74 65 6e 74 20 70 72 6f 62 6c 65 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 ontent.problem)))..........(prob
c4e0 6c 65 6d 2d 77 69 74 68 2d 74 65 73 74 63 61 73 65 73 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c lem-with-testcases.(aio-await.(l
c500 65 65 74 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 71 75 65 73 74 69 6f 6e 2d 74 65 73 74 63 61 73 eetcode--ensure-question-testcas
c520 65 73 20 70 72 6f 62 6c 65 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c 65 6d 2d es.problem)))..........(problem-
c540 77 69 74 68 2d 73 6e 69 70 70 65 74 73 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f with-snippets.(aio-await.(leetco
c560 64 65 2d 2d 65 6e 73 75 72 65 2d 71 75 65 73 74 69 6f 6e 2d 73 6e 69 70 70 65 74 73 20 70 72 6f de--ensure-question-snippets.pro
c580 62 6c 65 6d 29 29 29 29 0a 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 68 6f 77 2d 70 72 6f blem)))).....(leetcode--show-pro
c5a0 62 6c 65 6d 20 70 72 6f 62 6c 65 6d 2d 77 69 74 68 2d 73 6e 69 70 70 65 74 73 29 29 29 0a 0a 28 blem.problem-with-snippets)))..(
c5c0 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 2d 62 79 2d 73 defun.leetcode-show-problem-by-s
c5e0 6c 75 67 20 28 73 6c 75 67 2d 74 69 74 6c 65 29 0a 20 20 22 53 68 6f 77 20 74 68 65 20 64 65 74 lug.(slug-title)..."Show.the.det
c600 61 69 6c 20 6f 66 20 70 72 6f 62 6c 65 6d 20 77 69 74 68 20 53 4c 55 47 2d 54 49 54 4c 45 2e 0a ail.of.problem.with.SLUG-TITLE..
c620 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 77 69 6c 6c 20 77 6f 72 6b 20 61 66 74 65 72 20 66 69 This.function.will.work.after.fi
c640 72 73 74 20 72 75 6e 0a 5c 5c 5b 65 78 65 63 75 74 65 2d 65 78 74 65 6e 64 65 64 2d 63 6f 6d 6d rst.run.\\[execute-extended-comm
c660 61 6e 64 5d 20 6c 65 65 74 63 6f 64 65 2e 20 47 65 74 20 70 72 6f 62 6c 65 6d 20 62 79 20 69 64 and].leetcode..Get.problem.by.id
c680 20 61 6e 64 20 75 73 65 0a 60 73 68 72 2d 72 65 6e 64 65 72 2d 62 75 66 66 65 72 27 20 74 6f 20 .and.use.`shr-render-buffer'.to.
c6a0 72 65 6e 64 65 72 20 70 72 6f 62 6c 65 6d 20 64 65 74 61 69 6c 2e 20 54 68 69 73 20 61 63 74 69 render.problem.detail..This.acti
c6c0 6f 6e 20 77 69 6c 6c 0a 73 68 6f 77 20 74 68 65 20 64 65 74 61 69 6c 20 69 6e 20 6f 74 68 65 72 on.will.show.the.detail.in.other
c6e0 20 77 69 6e 64 6f 77 20 61 6e 64 20 6a 75 6d 70 20 74 6f 20 69 74 2e 0a 0a 49 74 20 63 61 6e 20 .window.and.jump.to.it...It.can.
c700 62 65 20 75 73 65 64 20 69 6e 20 6f 72 67 2d 6c 69 6e 6b 20 65 6c 69 73 70 3a 28 6c 65 65 74 63 be.used.in.org-link.elisp:(leetc
c720 6f 64 65 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 2d 62 79 2d 73 6c 75 67 20 5c 22 33 73 75 6d 5c ode-show-problem-by-slug.\"3sum\
c740 22 29 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 20 28 6c 69 73 74 20 28 72 65 61 64 2d ")."...(interactive.(list.(read-
c760 6e 75 6d 62 65 72 20 22 53 68 6f 77 20 70 72 6f 62 6c 65 6d 20 62 79 20 70 72 6f 62 6c 65 6d 20 number."Show.problem.by.problem.
c780 69 64 3a 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 id:."...........................
c7a0 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 75 72 72 65 6e 74 2d 70 ........(leetcode--get-current-p
c7c0 72 6f 62 6c 65 6d 2d 69 64 29 29 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 70 72 6f 62 6c 65 6d 20 roblem-id))))...(let*.((problem.
c7e0 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 20 73 6c 75 67 2d 74 69 74 6c (leetcode--get-problem.slug-titl
c800 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c 65 6d 2d 69 64 20 28 6c 65 65 74 63 6f e))..........(problem-id.(leetco
c820 64 65 2d 70 72 6f 62 6c 65 6d 2d 69 64 20 70 72 6f 62 6c 65 6d 29 29 29 0a 20 20 20 20 28 6c 65 de-problem-id.problem))).....(le
c840 65 74 63 6f 64 65 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 etcode-show-problem.problem-id))
c860 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 63 75 72 72 65 6e 74 2d )..(defun.leetcode-show-current-
c880 70 72 6f 62 6c 65 6d 20 28 29 0a 20 20 22 53 68 6f 77 20 63 75 72 72 65 6e 74 20 70 72 6f 62 6c problem.()..."Show.current.probl
c8a0 65 6d 27 73 20 64 65 74 61 69 6c 2e 0a 43 61 6c 6c 20 60 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 em's.detail..Call.`leetcode-show
c8c0 2d 70 72 6f 62 6c 65 6d 27 20 6f 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 70 72 6f 62 6c 65 6d -problem'.on.the.current.problem
c8e0 20 69 64 2e 20 54 68 69 73 0a 61 63 74 69 6f 6e 20 77 69 6c 6c 20 73 68 6f 77 20 74 68 65 20 64 .id..This.action.will.show.the.d
c900 65 74 61 69 6c 20 69 6e 20 6f 74 68 65 72 20 77 69 6e 64 6f 77 20 61 6e 64 20 6a 75 6d 70 20 74 etail.in.other.window.and.jump.t
c920 6f 20 69 74 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6c 65 65 74 63 6f o.it."...(interactive)...(leetco
c940 64 65 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 de-show-problem.(leetcode--get-c
c960 75 72 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 2d 69 64 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e urrent-problem-id)))..(aio-defun
c980 20 6c 65 65 74 63 6f 64 65 2d 76 69 65 77 2d 70 72 6f 62 6c 65 6d 20 28 70 72 6f 62 6c 65 6d 2d .leetcode-view-problem.(problem-
c9a0 69 64 29 0a 20 20 22 56 69 65 77 20 70 72 6f 62 6c 65 6d 20 62 79 20 50 52 4f 42 4c 45 4d 2d 49 id)..."View.problem.by.PROBLEM-I
c9c0 44 20 77 68 69 6c 65 20 73 74 61 79 69 6e 67 20 69 6e 20 60 4c 43 20 50 72 6f 62 6c 65 6d 73 27 D.while.staying.in.`LC.Problems'
c9e0 20 77 69 6e 64 6f 77 2e 0a 53 69 6d 69 6c 61 72 20 77 69 74 68 20 60 6c 65 65 74 63 6f 64 65 2d .window..Similar.with.`leetcode-
ca00 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 27 2c 20 62 75 74 20 69 6e 73 74 65 61 64 20 6f 66 20 6a 75 show-problem',.but.instead.of.ju
ca20 6d 70 69 6e 67 20 74 6f 0a 74 68 65 20 64 65 74 61 69 6c 20 77 69 6e 64 6f 77 2c 20 74 68 69 73 mping.to.the.detail.window,.this
ca40 20 61 63 74 69 6f 6e 20 77 69 6c 6c 20 6a 75 6d 70 20 62 61 63 6b 20 69 6e 20 60 4c 43 20 50 72 .action.will.jump.back.in.`LC.Pr
ca60 6f 62 6c 65 6d 73 27 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 20 28 6c 69 73 74 20 28 oblems'."...(interactive.(list.(
ca80 72 65 61 64 2d 73 74 72 69 6e 67 20 22 56 69 65 77 20 70 72 6f 62 6c 65 6d 20 62 79 20 70 72 6f read-string."View.problem.by.pro
caa0 62 6c 65 6d 20 69 64 3a 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 blem.id:."......................
cac0 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 75 72 72 .............(leetcode--get-curr
cae0 65 6e 74 2d 70 72 6f 62 6c 65 6d 2d 69 64 29 29 29 29 0a 20 20 28 61 69 6f 2d 61 77 61 69 74 20 ent-problem-id))))...(aio-await.
cb00 28 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 20 70 72 6f 62 6c 65 6d 2d 69 (leetcode-show-problem.problem-i
cb20 64 29 29 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6a 75 6d 70 2d 74 6f 2d 77 69 6e 64 6f 77 2d d))...(leetcode--jump-to-window-
cb40 62 79 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 6c 65 65 74 63 6f 64 65 2d 2d 62 75 66 66 65 72 2d by-buffer-name.leetcode--buffer-
cb60 6e 61 6d 65 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 76 69 65 77 2d 63 75 72 name))..(defun.leetcode-view-cur
cb80 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 20 28 29 0a 20 20 22 56 69 65 77 20 63 75 72 72 65 6e 74 20 rent-problem.()..."View.current.
cba0 70 72 6f 62 6c 65 6d 20 77 68 69 6c 65 20 73 74 61 79 69 6e 67 20 69 6e 20 60 4c 43 20 50 72 6f problem.while.staying.in.`LC.Pro
cbc0 62 6c 65 6d 73 27 20 77 69 6e 64 6f 77 2e 0a 53 69 6d 69 6c 61 72 20 77 69 74 68 20 60 6c 65 65 blems'.window..Similar.with.`lee
cbe0 74 63 6f 64 65 2d 73 68 6f 77 2d 63 75 72 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 27 2c 20 62 75 74 tcode-show-current-problem',.but
cc00 20 69 6e 73 74 65 61 64 20 6f 66 0a 6a 75 6d 70 69 6e 67 20 74 6f 20 74 68 65 20 64 65 74 61 69 .instead.of.jumping.to.the.detai
cc20 6c 20 77 69 6e 64 6f 77 2c 20 74 68 69 73 20 61 63 74 69 6f 6e 20 77 69 6c 6c 20 6a 75 6d 70 20 l.window,.this.action.will.jump.
cc40 62 61 63 6b 20 69 6e 20 60 4c 43 0a 50 72 6f 62 6c 65 6d 73 27 2e 22 0a 20 20 28 69 6e 74 65 72 back.in.`LC.Problems'."...(inter
cc60 61 63 74 69 76 65 29 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 76 69 65 77 2d 70 72 6f 62 6c 65 6d active)...(leetcode-view-problem
cc80 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 75 72 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 2d .(leetcode--get-current-problem-
cca0 69 64 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 70 72 6f 62 id)))..(defun.leetcode-show-prob
ccc0 6c 65 6d 2d 69 6e 2d 62 72 6f 77 73 65 72 20 28 70 72 6f 62 6c 65 6d 2d 69 64 29 0a 20 20 22 4f lem-in-browser.(problem-id)..."O
cce0 70 65 6e 20 74 68 65 20 70 72 6f 62 6c 65 6d 20 77 69 74 68 20 69 64 20 50 52 4f 42 4c 45 4d 2d pen.the.problem.with.id.PROBLEM-
cd00 49 44 20 69 6e 20 62 72 6f 77 73 65 72 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 20 28 ID.in.browser."...(interactive.(
cd20 6c 69 73 74 20 28 72 65 61 64 2d 6e 75 6d 62 65 72 20 22 53 68 6f 77 20 69 6e 20 62 72 6f 77 73 list.(read-number."Show.in.brows
cd40 65 72 20 62 79 20 70 72 6f 62 6c 65 6d 20 69 64 3a 20 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 er.by.problem.id:.".............
cd60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d ......................(leetcode-
cd80 2d 67 65 74 2d 63 75 72 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 2d 69 64 29 29 29 29 0a 20 20 28 6c -get-current-problem-id))))...(l
cda0 65 74 2a 20 28 28 70 72 6f 62 6c 65 6d 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f et*.((problem.(leetcode--get-pro
cdc0 62 6c 65 6d 2d 62 79 2d 69 64 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 0a 20 20 20 20 20 20 20 20 blem-by-id.problem-id)).........
cde0 20 28 74 69 74 6c 65 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 20 .(title.(leetcode-problem-title.
ce00 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c 69 6e 6b 20 28 6c 65 65 74 63 6f problem))..........(link.(leetco
ce20 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 6c 69 6e 6b 20 74 69 74 6c 65 29 29 29 0a 20 20 20 20 28 6c de--problem-link.title))).....(l
ce40 65 65 74 63 6f 64 65 2d 2d 64 65 62 75 67 20 22 6f 70 65 6e 20 69 6e 20 62 72 6f 77 73 65 72 3a eetcode--debug."open.in.browser:
ce60 20 25 73 22 20 6c 69 6e 6b 29 0a 20 20 20 20 28 62 72 6f 77 73 65 2d 75 72 6c 20 6c 69 6e 6b 29 .%s".link).....(browse-url.link)
ce80 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 63 75 72 72 65 6e 74 ))..(defun.leetcode-show-current
cea0 2d 70 72 6f 62 6c 65 6d 2d 69 6e 2d 62 72 6f 77 73 65 72 20 28 29 0a 20 20 22 4f 70 65 6e 20 74 -problem-in-browser.()..."Open.t
cec0 68 65 20 63 75 72 72 65 6e 74 20 70 72 6f 62 6c 65 6d 20 69 6e 20 62 72 6f 77 73 65 72 2e 0a 43 he.current.problem.in.browser..C
cee0 61 6c 6c 20 60 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 2d 69 6e 2d 62 72 all.`leetcode-show-problem-in-br
cf00 6f 77 73 65 72 27 20 6f 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 70 72 6f 62 6c 65 6d 20 69 64 owser'.on.the.current.problem.id
cf20 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 73 ."...(interactive)...(leetcode-s
cf40 68 6f 77 2d 70 72 6f 62 6c 65 6d 2d 69 6e 2d 62 72 6f 77 73 65 72 20 28 6c 65 65 74 63 6f 64 65 how-problem-in-browser.(leetcode
cf60 2d 2d 67 65 74 2d 63 75 72 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 2d 69 64 29 29 29 0a 0a 28 61 69 --get-current-problem-id)))..(ai
cf80 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 73 6f 6c 76 65 2d 70 72 6f 62 6c 65 6d 20 28 o-defun.leetcode-solve-problem.(
cfa0 70 72 6f 62 6c 65 6d 2d 69 64 29 0a 20 20 22 53 74 61 72 74 20 63 6f 64 69 6e 67 20 74 68 65 20 problem-id)..."Start.coding.the.
cfc0 70 72 6f 62 6c 65 6d 20 77 69 74 68 20 69 64 20 50 52 4f 42 4c 45 4d 2d 49 44 2e 22 0a 20 20 28 problem.with.id.PROBLEM-ID."...(
cfe0 69 6e 74 65 72 61 63 74 69 76 65 20 28 6c 69 73 74 20 28 72 65 61 64 2d 6e 75 6d 62 65 72 20 22 interactive.(list.(read-number."
d000 53 6f 6c 76 65 20 74 68 65 20 70 72 6f 62 6c 65 6d 20 77 69 74 68 20 69 64 3a 20 22 0a 20 20 20 Solve.the.problem.with.id:."....
d020 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ...............................(
d040 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 75 72 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 2d 69 64 leetcode--get-current-problem-id
d060 29 29 29 29 0a 20 20 28 6c 65 74 2a 20 28 28 70 72 6f 62 6c 65 6d 20 28 6c 65 65 74 63 6f 64 65 ))))...(let*.((problem.(leetcode
d080 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 2d 62 79 2d 69 64 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 --get-problem-by-id.problem-id))
d0a0 29 0a 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 20 70 72 ).....(leetcode--show-problem.pr
d0c0 6f 62 6c 65 6d 29 0a 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 74 61 72 74 2d 63 6f 64 69 oblem).....(leetcode--start-codi
d0e0 6e 67 20 70 72 6f 62 6c 65 6d 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 73 ng.problem)))..(defun.leetcode-s
d100 6f 6c 76 65 2d 63 75 72 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 20 28 29 0a 20 20 22 53 74 61 72 74 olve-current-problem.()..."Start
d120 20 63 6f 64 69 6e 67 20 74 68 65 20 63 75 72 72 65 6e 74 20 70 72 6f 62 6c 65 6d 2e 0a 43 61 6c .coding.the.current.problem..Cal
d140 6c 20 60 6c 65 65 74 63 6f 64 65 2d 73 6f 6c 76 65 2d 70 72 6f 62 6c 65 6d 27 20 6f 6e 20 74 68 l.`leetcode-solve-problem'.on.th
d160 65 20 63 75 72 72 65 6e 74 20 70 72 6f 62 6c 65 6d 20 69 64 2e 22 0a 20 20 28 69 6e 74 65 72 61 e.current.problem.id."...(intera
d180 63 74 69 76 65 29 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 73 6f 6c 76 65 2d 70 72 6f 62 6c 65 6d ctive)...(leetcode-solve-problem
d1a0 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 75 72 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 2d .(leetcode--get-current-problem-
d1c0 69 64 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 6a 75 6d 70 2d 74 6f 2d id)))..(defun.leetcode--jump-to-
d1e0 77 69 6e 64 6f 77 2d 62 79 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 28 62 75 66 66 65 72 2d 6e 61 window-by-buffer-name.(buffer-na
d200 6d 65 29 0a 20 20 22 4a 75 6d 70 20 74 6f 20 77 69 6e 64 6f 77 20 62 79 20 42 55 46 46 45 52 2d me)..."Jump.to.window.by.BUFFER-
d220 4e 41 4d 45 2e 22 0a 20 20 28 73 65 6c 65 63 74 2d 77 69 6e 64 6f 77 20 28 67 65 74 2d 62 75 66 NAME."...(select-window.(get-buf
d240 66 65 72 2d 77 69 6e 64 6f 77 20 62 75 66 66 65 72 2d 6e 61 6d 65 29 29 29 0a 0a 28 64 65 66 75 fer-window.buffer-name)))..(defu
d260 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 6b 69 6c 6c 2d 62 75 66 66 2d 61 6e 64 2d 64 65 6c 65 74 65 n.leetcode--kill-buff-and-delete
d280 2d 77 69 6e 64 6f 77 20 28 62 75 66 29 0a 20 20 22 4b 69 6c 6c 20 42 55 46 20 61 6e 64 20 64 65 -window.(buf)..."Kill.BUF.and.de
d2a0 6c 65 74 65 20 69 74 73 20 77 69 6e 64 6f 77 2e 22 0a 20 20 28 77 68 65 6e 20 62 75 66 0a 20 20 lete.its.window."...(when.buf...
d2c0 20 20 28 64 65 6c 65 74 65 2d 77 69 6e 64 6f 77 73 2d 6f 6e 20 62 75 66 20 74 29 0a 20 20 20 20 ..(delete-windows-on.buf.t).....
d2e0 28 6b 69 6c 6c 2d 62 75 66 66 65 72 20 62 75 66 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 (kill-buffer.buf)))..(defun.leet
d300 63 6f 64 65 2d 71 75 69 74 20 28 29 0a 20 20 22 43 6c 6f 73 65 20 61 6e 64 20 64 65 6c 65 74 65 code-quit.()..."Close.and.delete
d320 20 6c 65 65 74 63 6f 64 65 20 72 65 6c 61 74 65 64 20 62 75 66 66 65 72 73 20 61 6e 64 20 77 69 .leetcode.related.buffers.and.wi
d340 6e 64 6f 77 73 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6c 65 65 74 63 ndows."...(interactive)...(leetc
d360 6f 64 65 2d 2d 6b 69 6c 6c 2d 62 75 66 66 2d 61 6e 64 2d 64 65 6c 65 74 65 2d 77 69 6e 64 6f 77 ode--kill-buff-and-delete-window
d380 20 28 67 65 74 2d 62 75 66 66 65 72 20 6c 65 65 74 63 6f 64 65 2d 2d 62 75 66 66 65 72 2d 6e 61 .(get-buffer.leetcode--buffer-na
d3a0 6d 65 29 29 0a 20 20 28 6d 61 70 63 20 28 6c 61 6d 62 64 61 20 28 74 69 74 6c 65 29 0a 20 20 20 me))...(mapc.(lambda.(title)....
d3c0 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6b 69 6c 6c 2d 62 75 66 66 2d 61 6e 64 2d .......(leetcode--kill-buff-and-
d3e0 64 65 6c 65 74 65 2d 77 69 6e 64 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 28 67 65 74 2d 62 75 delete-window............(get-bu
d400 66 66 65 72 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 6f 64 65 2d 62 75 66 66 65 72 2d ffer.(leetcode--get-code-buffer-
d420 6e 61 6d 65 20 74 69 74 6c 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 name.title)))...........(let*.((
d440 73 6c 75 67 2d 74 69 74 6c 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 6c 75 67 69 66 79 2d 74 69 slug-title.(leetcode--slugify-ti
d460 74 6c 65 20 74 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 tle.title))..................(pr
d480 6f 62 6c 65 6d 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 20 73 6c 75 oblem.(leetcode--get-problem.slu
d4a0 67 2d 74 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 g-title))..................(prob
d4c0 6c 65 6d 2d 69 64 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 69 64 20 70 72 6f 62 lem-id.(leetcode-problem-id.prob
d4e0 6c 65 6d 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6b 69 lem))).............(leetcode--ki
d500 6c 6c 2d 62 75 66 66 2d 61 6e 64 2d 64 65 6c 65 74 65 2d 77 69 6e 64 6f 77 20 28 67 65 74 2d 62 ll-buff-and-delete-window.(get-b
d520 75 66 66 65 72 20 28 6c 65 65 74 63 6f 64 65 2d 2d 64 65 74 61 69 6c 2d 62 75 66 66 65 72 2d 6e uffer.(leetcode--detail-buffer-n
d540 61 6d 65 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c ame.problem-id))).............(l
d560 65 65 74 63 6f 64 65 2d 2d 6b 69 6c 6c 2d 62 75 66 66 2d 61 6e 64 2d 64 65 6c 65 74 65 2d 77 69 eetcode--kill-buff-and-delete-wi
d580 6e 64 6f 77 20 28 67 65 74 2d 62 75 66 66 65 72 20 28 6c 65 65 74 63 6f 64 65 2d 2d 72 65 73 75 ndow.(get-buffer.(leetcode--resu
d5a0 6c 74 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 29 0a 20 20 20 lt-buffer-name.problem-id)))....
d5c0 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 6b 69 6c 6c 2d 62 75 66 66 2d 61 6e .........(leetcode--kill-buff-an
d5e0 64 2d 64 65 6c 65 74 65 2d 77 69 6e 64 6f 77 20 28 67 65 74 2d 62 75 66 66 65 72 20 28 6c 65 65 d-delete-window.(get-buffer.(lee
d600 74 63 6f 64 65 2d 2d 74 65 73 74 63 61 73 65 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 70 72 6f 62 tcode--testcase-buffer-name.prob
d620 6c 65 6d 2d 69 64 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 lem-id))))).........leetcode--pr
d640 6f 62 6c 65 6d 2d 74 69 74 6c 65 73 29 0a 20 20 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d oblem-titles)...(setq.leetcode--
d660 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 73 20 27 28 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 problem-titles.'()))..(defun.lee
d680 74 63 6f 64 65 2d 2d 73 65 74 2d 6c 61 6e 67 20 28 73 6e 69 70 70 65 74 73 29 0a 20 20 22 53 65 tcode--set-lang.(snippets)..."Se
d6a0 74 20 60 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 27 20 62 61 73 65 64 20 6f 6e 20 6c 61 6e 67 t.`leetcode--lang'.based.on.lang
d6c0 53 6c 75 67 20 69 6e 20 53 4e 49 50 50 45 54 53 2e 22 0a 20 20 28 73 65 74 71 20 6c 65 65 74 63 Slug.in.SNIPPETS."...(setq.leetc
d6e0 6f 64 65 2d 2d 6c 61 6e 67 0a 20 20 20 20 20 20 20 20 3b 3b 20 69 66 20 74 68 65 72 65 20 69 73 ode--lang.........;;.if.there.is
d700 20 61 20 6d 79 73 71 6c 20 73 6e 69 70 70 65 74 2c 20 77 65 20 75 73 65 20 60 6c 65 65 74 63 6f .a.mysql.snippet,.we.use.`leetco
d720 64 65 2d 70 72 65 66 65 72 2d 73 71 6c 27 2e 0a 20 20 20 20 20 20 20 20 28 69 66 20 28 73 65 71 de-prefer-sql'..........(if.(seq
d740 2d 66 69 6e 64 20 28 6c 61 6d 62 64 61 20 28 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 -find.(lambda.(s)...............
d760 20 20 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 28 6c 65 65 74 63 6f 64 65 2d 73 6e 69 70 70 ..........(equal.(leetcode-snipp
d780 65 74 2d 6c 61 6e 67 2d 73 6c 75 67 20 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 et-lang-slug.s).................
d7a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 73 ...............leetcode-prefer-s
d7c0 71 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 6e 69 70 70 ql)).......................snipp
d7e0 65 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f 64 65 2d 70 72 65 66 65 72 ets).............leetcode-prefer
d800 2d 73 71 6c 0a 20 20 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 6c -sql...........leetcode-prefer-l
d820 61 6e 67 75 61 67 65 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 anguage)))..(defun.leetcode--get
d840 2d 63 6f 64 65 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 28 74 69 74 6c 65 29 0a 20 20 22 47 65 74 -code-buffer-name.(title)..."Get
d860 20 63 6f 64 65 20 62 75 66 66 65 72 20 6e 61 6d 65 20 62 79 20 54 49 54 4c 45 20 61 6e 64 20 60 .code.buffer.name.by.TITLE.and.`
d880 6c 65 65 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 6c 61 6e 67 75 61 67 65 27 2e 22 0a 20 20 28 6c leetcode-prefer-language'."...(l
d8a0 65 74 2a 20 28 28 73 75 66 66 69 78 20 28 61 73 73 6f 63 2d 64 65 66 61 75 6c 74 0a 20 20 20 20 et*.((suffix.(assoc-default.....
d8c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 0a 20 20 20 ..............leetcode--lang....
d8e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 2d 73 75 ...............leetcode--lang-su
d900 66 66 69 78 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 6c 75 67 2d 74 69 74 6c 65 20 28 6c ffixes))..........(slug-title.(l
d920 65 65 74 63 6f 64 65 2d 2d 73 6c 75 67 69 66 79 2d 74 69 74 6c 65 20 74 69 74 6c 65 29 29 0a 20 eetcode--slugify-title.title))..
d940 20 20 20 20 20 20 20 20 28 74 69 74 6c 65 2d 77 69 74 68 2d 73 75 66 66 69 78 20 28 63 6f 6e 63 ........(title-with-suffix.(conc
d960 61 74 20 73 6c 75 67 2d 74 69 74 6c 65 20 73 75 66 66 69 78 29 29 29 0a 20 20 20 20 28 69 66 20 at.slug-title.suffix))).....(if.
d980 6c 65 65 74 63 6f 64 65 2d 73 61 76 65 2d 73 6f 6c 75 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 leetcode-save-solutions.........
d9a0 28 66 6f 72 6d 61 74 20 22 25 73 5f 25 73 22 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 (format."%s_%s".(leetcode--get-p
d9c0 72 6f 62 6c 65 6d 2d 69 64 20 73 6c 75 67 2d 74 69 74 6c 65 29 20 74 69 74 6c 65 2d 77 69 74 68 roblem-id.slug-title).title-with
d9e0 2d 73 75 66 66 69 78 29 0a 20 20 20 20 20 20 74 69 74 6c 65 2d 77 69 74 68 2d 73 75 66 66 69 78 -suffix).......title-with-suffix
da00 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 6f 64 65 2d 62 )))..(defun.leetcode--get-code-b
da20 75 66 66 65 72 20 28 62 75 66 2d 6e 61 6d 65 29 0a 20 20 22 47 65 74 20 63 6f 64 65 20 62 75 66 uffer.(buf-name)..."Get.code.buf
da40 66 65 72 20 62 79 20 42 55 46 2d 4e 41 4d 45 2e 22 0a 20 20 28 69 66 20 28 6e 6f 74 20 6c 65 65 fer.by.BUF-NAME."...(if.(not.lee
da60 74 63 6f 64 65 2d 73 61 76 65 2d 73 6f 6c 75 74 69 6f 6e 73 29 0a 20 20 20 20 20 20 28 67 65 74 tcode-save-solutions).......(get
da80 2d 62 75 66 66 65 72 2d 63 72 65 61 74 65 20 62 75 66 2d 6e 61 6d 65 29 0a 20 20 20 20 28 75 6e -buffer-create.buf-name).....(un
daa0 6c 65 73 73 20 28 66 69 6c 65 2d 64 69 72 65 63 74 6f 72 79 2d 70 20 6c 65 65 74 63 6f 64 65 2d less.(file-directory-p.leetcode-
dac0 64 69 72 65 63 74 6f 72 79 29 0a 20 20 20 20 20 20 28 6d 61 6b 65 2d 64 69 72 65 63 74 6f 72 79 directory).......(make-directory
dae0 20 6c 65 65 74 63 6f 64 65 2d 64 69 72 65 63 74 6f 72 79 29 29 0a 20 20 20 20 28 66 69 6e 64 2d .leetcode-directory)).....(find-
db00 66 69 6c 65 2d 6e 6f 73 65 6c 65 63 74 0a 20 20 20 20 20 28 63 6f 6e 63 61 74 20 28 66 69 6c 65 file-noselect......(concat.(file
db20 2d 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 20 6c 65 65 74 63 6f 64 65 2d 64 69 72 65 -name-as-directory.leetcode-dire
db40 63 74 6f 72 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 66 2d 6e 61 6d 65 29 29 29 29 ctory)..............buf-name))))
db60 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 20 28 ..(defun.leetcode--get-problem.(
db80 73 6c 75 67 2d 74 69 74 6c 65 29 0a 20 20 22 47 65 74 20 70 72 6f 62 6c 65 6d 20 66 72 6f 6d 20 slug-title)..."Get.problem.from.
dba0 60 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 27 20 62 79 20 53 4c 55 47 2d 54 49 54 `leetcode--problems'.by.SLUG-TIT
dbc0 4c 45 2e 22 0a 20 20 28 73 65 71 2d 66 69 6e 64 20 28 6c 61 6d 62 64 61 20 28 70 29 0a 20 20 20 LE."...(seq-find.(lambda.(p)....
dbe0 20 20 20 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 73 6c 75 67 2d 74 69 74 6c 65 20 28 6c 65 ...........(equal.slug-title.(le
dc00 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 2d 73 6c 75 67 20 70 29 29 29 0a 20 etcode-problem-title-slug.p)))..
dc20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 73 2d 70 72 ...........(leetcode-problems-pr
dc40 6f 62 6c 65 6d 73 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 29 29 29 0a 0a 28 64 oblems.leetcode--problems)))..(d
dc60 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 2d 62 79 2d 69 64 efun.leetcode--get-problem-by-id
dc80 20 28 69 64 29 0a 20 20 22 47 65 74 20 70 72 6f 62 6c 65 6d 20 66 72 6f 6d 20 60 6c 65 65 74 63 .(id)..."Get.problem.from.`leetc
dca0 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 27 20 62 79 20 49 44 2e 22 0a 20 20 28 73 65 71 2d 66 69 ode--problems'.by.ID."...(seq-fi
dcc0 6e 64 20 28 6c 61 6d 62 64 61 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 nd.(lambda.(p)...............(eq
dce0 75 61 6c 20 69 64 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 69 64 20 70 29 29 29 ual.id.(leetcode-problem-id.p)))
dd00 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 73 2d .............(leetcode-problems-
dd20 70 72 6f 62 6c 65 6d 73 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 29 29 29 0a 0a problems.leetcode--problems)))..
dd40 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 2d 69 64 20 (defun.leetcode--get-problem-id.
dd60 28 73 6c 75 67 2d 74 69 74 6c 65 29 0a 20 20 22 47 65 74 20 70 72 6f 62 6c 65 6d 20 69 64 20 62 (slug-title)..."Get.problem.id.b
dd80 79 20 53 4c 55 47 2d 54 49 54 4c 45 2e 22 0a 20 20 28 6c 65 74 20 28 28 70 72 6f 62 6c 65 6d 20 y.SLUG-TITLE."...(let.((problem.
dda0 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 20 73 6c 75 67 2d 74 69 74 6c (leetcode--get-problem.slug-titl
ddc0 65 29 29 29 0a 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 69 64 20 70 72 e))).....(leetcode-problem-id.pr
dde0 6f 62 6c 65 6d 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 oblem)))..(defun.leetcode--get-c
de00 75 72 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 2d 69 64 20 28 29 0a 20 20 22 47 65 74 20 69 64 20 6f urrent-problem-id.()..."Get.id.o
de20 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 70 72 6f 62 6c 65 6d 2e 22 0a 20 20 28 61 72 65 66 20 f.the.current.problem."...(aref.
de40 28 74 61 62 75 6c 61 74 65 64 2d 6c 69 73 74 2d 67 65 74 2d 65 6e 74 72 79 29 20 31 29 29 0a 0a (tabulated-list-get-entry).1))..
de60 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 73 74 61 72 74 2d 63 6f 64 69 6e 67 20 28 70 (defun.leetcode--start-coding.(p
de80 72 6f 62 6c 65 6d 29 0a 20 20 22 43 72 65 61 74 65 20 61 20 62 75 66 66 65 72 20 66 6f 72 20 63 roblem)..."Create.a.buffer.for.c
dea0 6f 64 69 6e 67 20 50 52 4f 42 4c 45 4d 2e 0a 54 68 65 20 62 75 66 66 65 72 20 77 69 6c 6c 20 62 oding.PROBLEM..The.buffer.will.b
dec0 65 20 6e 6f 74 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 61 6e 79 20 66 69 6c 65 2e 20 e.not.associated.with.any.file..
dee0 20 49 74 20 77 69 6c 6c 20 63 68 6f 6f 73 65 0a 6d 61 6a 6f 72 20 6d 6f 64 65 20 62 79 20 60 6c .It.will.choose.major.mode.by.`l
df00 65 65 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 6c 61 6e 67 75 61 67 65 27 61 6e 64 20 60 61 75 74 eetcode-prefer-language'and.`aut
df20 6f 2d 6d 6f 64 65 2d 61 6c 69 73 74 27 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 74 69 74 6c 65 20 o-mode-alist'."...(let*.((title.
df40 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 20 70 72 6f 62 6c 65 6d 29 (leetcode-problem-title.problem)
df60 29 0a 20 20 20 20 20 20 20 20 20 28 73 6c 75 67 2d 74 69 74 6c 65 20 28 6c 65 65 74 63 6f 64 65 )..........(slug-title.(leetcode
df80 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 2d 73 6c 75 67 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 -problem-title-slug.problem))...
dfa0 20 20 20 20 20 20 20 28 70 72 6f 62 6c 65 6d 2d 69 64 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f .......(problem-id.(leetcode-pro
dfc0 62 6c 65 6d 2d 69 64 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 6e 69 70 blem-id.problem))..........(snip
dfe0 70 65 74 73 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 73 6e 69 70 70 65 74 73 20 pets.(leetcode-problem-snippets.
e000 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 65 73 74 63 61 73 65 73 20 28 6c problem))..........(testcases.(l
e020 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 65 73 74 63 61 73 65 73 20 70 72 6f 62 6c 65 eetcode-problem-testcases.proble
e040 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 65 73 74 63 61 73 65 2d 62 75 66 2d 6e 61 6d 65 20 m))..........(testcase-buf-name.
e060 28 6c 65 65 74 63 6f 64 65 2d 2d 74 65 73 74 63 61 73 65 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 (leetcode--testcase-buffer-name.
e080 70 72 6f 62 6c 65 6d 2d 69 64 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 73 75 6c 74 2d 62 75 problem-id))..........(result-bu
e0a0 66 2d 6e 61 6d 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 72 65 73 75 6c 74 2d 62 75 66 66 65 72 2d f-name.(leetcode--result-buffer-
e0c0 6e 61 6d 65 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 29 0a 0a 20 20 20 20 3b 3b 20 52 65 63 6f 72 name.problem-id)))......;;.Recor
e0e0 64 20 77 69 6e 64 6f 77 73 20 6f 70 65 6e 65 64 20 66 6f 72 20 6c 61 74 65 72 20 63 6c 65 61 6e d.windows.opened.for.later.clean
e100 75 70 2e 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6d 65 6d 62 65 72 20 74 69 74 6c 65 20 6c 65 up......(unless.(member.title.le
e120 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 73 29 0a 20 20 20 20 20 20 28 70 etcode--problem-titles).......(p
e140 75 73 68 20 74 69 74 6c 65 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c ush.title.leetcode--problem-titl
e160 65 73 29 29 0a 0a 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 6f 6c 76 69 6e 67 2d 77 69 6e es))......(leetcode--solving-win
e180 64 6f 77 2d 6c 61 79 6f 75 74 29 0a 0a 20 20 20 20 3b 3b 20 53 65 74 20 63 75 72 72 65 6e 74 20 dow-layout)......;;.Set.current.
e1a0 70 72 6f 67 72 61 6d 6d 69 6e 67 20 6c 61 6e 67 75 61 67 65 2e 0a 20 20 20 20 28 6c 65 65 74 63 programming.language......(leetc
e1c0 6f 64 65 2d 2d 73 65 74 2d 6c 61 6e 67 20 73 6e 69 70 70 65 74 73 29 0a 0a 20 20 20 20 3b 3b 20 ode--set-lang.snippets)......;;.
e1e0 53 65 74 75 70 20 63 6f 64 65 20 62 75 66 66 65 72 0a 20 20 20 20 28 6c 65 74 2a 20 28 28 63 6f Setup.code.buffer.....(let*.((co
e200 64 65 2d 62 75 66 2d 6e 61 6d 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 6f 64 65 2d de-buf-name.(leetcode--get-code-
e220 62 75 66 66 65 72 2d 6e 61 6d 65 20 74 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 buffer-name.title))............(
e240 63 6f 64 65 2d 62 75 66 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 63 6f 64 65 2d 62 75 66 code-buf.(leetcode--get-code-buf
e260 66 65 72 20 63 6f 64 65 2d 62 75 66 2d 6e 61 6d 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 fer.code-buf-name))............(
e280 73 75 66 66 69 78 20 28 61 73 73 6f 63 2d 64 65 66 61 75 6c 74 20 6c 65 65 74 63 6f 64 65 2d 2d suffix.(assoc-default.leetcode--
e2a0 6c 61 6e 67 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 2d 73 75 66 66 69 78 65 73 29 29 29 0a lang.leetcode--lang-suffixes))).
e2c0 20 20 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 63 6f 64 65 2d ......(with-current-buffer.code-
e2e0 62 75 66 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 3d 20 28 62 75 66 66 65 72 2d 73 69 7a buf.........(when.(=.(buffer-siz
e300 65 20 63 6f 64 65 2d 62 75 66 29 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 e.code-buf).0)...........(let*.(
e320 28 73 6e 69 70 70 65 74 20 28 73 65 71 2d 66 69 6e 64 20 28 6c 61 6d 62 64 61 20 28 73 29 0a 20 (snippet.(seq-find.(lambda.(s)..
e340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
e360 20 20 20 20 20 28 65 71 75 61 6c 20 28 6c 65 65 74 63 6f 64 65 2d 73 6e 69 70 70 65 74 2d 6c 61 .....(equal.(leetcode-snippet-la
e380 6e 67 2d 73 6c 75 67 20 73 29 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 29 29 0a 20 20 20 20 ng-slug.s).leetcode--lang)).....
e3a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
e3c0 73 6e 69 70 70 65 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 65 6d snippets))..................(tem
e3e0 70 6c 61 74 65 2d 63 6f 64 65 20 28 6c 65 65 74 63 6f 64 65 2d 73 6e 69 70 70 65 74 2d 63 6f 64 plate-code.(leetcode-snippet-cod
e400 65 20 73 6e 69 70 70 65 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f e.snippet))).............(leetco
e420 64 65 2d 2d 69 6e 73 65 72 74 2d 63 6f 64 65 2d 73 74 61 72 74 2d 6d 61 72 6b 65 72 29 0a 20 20 de--insert-code-start-marker)...
e440 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 74 65 6d 70 6c 61 74 65 2d 63 6f 64 65 29 ..........(insert.template-code)
e460 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 69 6e 73 65 72 74 2d 63 .............(leetcode--insert-c
e480 6f 64 65 2d 65 6e 64 2d 6d 61 72 6b 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 ode-end-marker).............(lee
e4a0 74 63 6f 64 65 2d 2d 72 65 70 6c 61 63 65 2d 69 6e 2d 62 75 66 66 65 72 20 22 0d 22 20 22 22 29 tcode--replace-in-buffer."."."")
e4c0 29 29 0a 20 20 20 20 20 20 20 20 28 66 75 6e 63 61 6c 6c 20 28 61 73 73 6f 63 2d 64 65 66 61 75 )).........(funcall.(assoc-defau
e4e0 6c 74 20 73 75 66 66 69 78 20 61 75 74 6f 2d 6d 6f 64 65 2d 61 6c 69 73 74 20 23 27 73 74 72 69 lt.suffix.auto-mode-alist.#'stri
e500 6e 67 2d 6d 61 74 63 68 2d 70 29 29 0a 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 73 ng-match-p)).........(leetcode-s
e520 6f 6c 75 74 69 6f 6e 2d 6d 6f 64 65 20 74 29 29 0a 0a 20 20 20 20 20 20 28 64 69 73 70 6c 61 79 olution-mode.t))........(display
e540 2d 62 75 66 66 65 72 20 63 6f 64 65 2d 62 75 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 -buffer.code-buf................
e560 20 20 20 20 20 20 20 27 28 28 64 69 73 70 6c 61 79 2d 62 75 66 66 65 72 2d 72 65 75 73 65 2d 77 .......'((display-buffer-reuse-w
e580 69 6e 64 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c indow..........................l
e5a0 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 63 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 eetcode--display-code)..........
e5c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 75 73 61 62 6c 65 2d 66 72 61 6d 65 73 20 ...............(reusable-frames.
e5e0 2e 20 76 69 73 69 62 6c 65 29 29 29 29 0a 0a 20 20 20 20 3b 3b 20 53 65 74 75 70 20 74 65 73 74 ..visible))))......;;.Setup.test
e600 63 61 73 65 20 62 75 66 66 65 72 0a 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 case.buffer.....(with-current-bu
e620 66 66 65 72 20 28 67 65 74 2d 62 75 66 66 65 72 2d 63 72 65 61 74 65 20 74 65 73 74 63 61 73 65 ffer.(get-buffer-create.testcase
e640 2d 62 75 66 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 28 65 72 61 73 65 2d 62 75 66 66 65 72 29 0a -buf-name).......(erase-buffer).
e660 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 73 2d 6a 6f 69 6e 20 22 5c 6e 22 20 74 65 73 74 63 ......(insert.(s-join."\n".testc
e680 61 73 65 73 29 29 0a 20 20 20 20 20 20 28 73 65 74 2d 77 69 6e 64 6f 77 2d 62 75 66 66 65 72 20 ases)).......(set-window-buffer.
e6a0 6c 65 65 74 63 6f 64 65 2d 2d 74 65 73 74 63 61 73 65 2d 77 69 6e 64 6f 77 20 28 63 75 72 72 65 leetcode--testcase-window.(curre
e6c0 6e 74 2d 62 75 66 66 65 72 29 29 29 0a 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 nt-buffer))).....(with-current-b
e6e0 75 66 66 65 72 20 28 67 65 74 2d 62 75 66 66 65 72 2d 63 72 65 61 74 65 20 72 65 73 75 6c 74 2d uffer.(get-buffer-create.result-
e700 62 75 66 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 28 65 72 61 73 65 2d 62 75 66 66 65 72 29 0a 20 buf-name).......(erase-buffer)..
e720 20 20 20 20 20 28 73 65 74 2d 77 69 6e 64 6f 77 2d 62 75 66 66 65 72 20 6c 65 65 74 63 6f 64 65 .....(set-window-buffer.leetcode
e740 2d 2d 72 65 73 75 6c 74 2d 77 69 6e 64 6f 77 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 --result-window.(current-buffer)
e760 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 72 65 73 74 6f 72 ))))..(aio-defun.leetcode-restor
e780 65 2d 6c 61 79 6f 75 74 20 28 29 0a 20 20 22 54 68 69 73 20 63 6f 6d 6d 61 6e 64 20 73 68 6f 75 e-layout.()..."This.command.shou
e7a0 6c 64 20 62 65 20 72 75 6e 20 69 6e 20 4c 65 65 74 43 6f 64 65 20 63 6f 64 65 20 62 75 66 66 65 ld.be.run.in.LeetCode.code.buffe
e7c0 72 2e 0a 49 74 20 77 69 6c 6c 20 72 65 73 74 6f 72 65 20 74 68 65 20 6c 61 79 6f 75 74 20 62 61 r..It.will.restore.the.layout.ba
e7e0 73 65 64 20 6f 6e 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 27 73 20 6e 61 6d 65 2e 22 0a 20 sed.on.current.buffer's.name."..
e800 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 6c 65 74 2a 20 28 28 73 6c 75 67 2d 74 69 .(interactive)...(let*.((slug-ti
e820 74 6c 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 73 6c 75 67 2d 74 69 74 6c 65 20 28 63 tle.(leetcode--get-slug-title.(c
e840 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c urrent-buffer)))..........(probl
e860 65 6d 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 20 73 6c 75 67 2d 74 em.(leetcode--get-problem.slug-t
e880 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c 65 6d 2d 69 64 20 28 6c 65 65 itle))..........(problem-id.(lee
e8a0 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 69 64 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 tcode-problem-id.problem))......
e8c0 20 20 20 20 28 64 65 73 63 2d 62 75 66 20 28 67 65 74 2d 62 75 66 66 65 72 20 28 6c 65 65 74 63 ....(desc-buf.(get-buffer.(leetc
e8e0 6f 64 65 2d 2d 64 65 74 61 69 6c 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 70 72 6f 62 6c 65 6d 2d ode--detail-buffer-name.problem-
e900 69 64 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 65 73 74 63 61 73 65 2d 62 75 66 20 28 67 65 id)))..........(testcase-buf.(ge
e920 74 2d 62 75 66 66 65 72 2d 63 72 65 61 74 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 74 65 73 74 63 t-buffer-create.(leetcode--testc
e940 61 73 65 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 29 0a 20 20 ase-buffer-name.problem-id)))...
e960 20 20 20 20 20 20 20 28 72 65 73 75 6c 74 2d 62 75 66 20 28 67 65 74 2d 62 75 66 66 65 72 2d 63 .......(result-buf.(get-buffer-c
e980 72 65 61 74 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 72 65 73 75 6c 74 2d 62 75 66 66 65 72 2d 6e reate.(leetcode--result-buffer-n
e9a0 61 6d 65 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 29 29 0a 20 20 20 20 28 6c 65 65 74 63 6f 64 65 ame.problem-id)))).....(leetcode
e9c0 2d 2d 73 6f 6c 76 69 6e 67 2d 77 69 6e 64 6f 77 2d 6c 61 79 6f 75 74 29 0a 20 20 20 20 28 75 6e --solving-window-layout).....(un
e9e0 6c 65 73 73 20 64 65 73 63 2d 62 75 66 0a 20 20 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 less.desc-buf.......(aio-await.(
ea00 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 20 70 72 6f 62 6c 65 6d 2d 69 64 leetcode-show-problem.problem-id
ea20 29 29 29 0a 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 72 65 73 ))).....(with-current-buffer.res
ea40 75 6c 74 2d 62 75 66 0a 20 20 20 20 20 20 28 65 72 61 73 65 2d 62 75 66 66 65 72 29 0a 20 20 20 ult-buf.......(erase-buffer)....
ea60 20 20 20 28 69 6e 73 65 72 74 20 22 57 61 69 74 69 6e 67 20 66 6f 72 20 72 65 73 75 6c 74 2e 2e ...(insert."Waiting.for.result..
ea80 2e 22 29 29 0a 20 20 20 20 28 64 69 73 70 6c 61 79 2d 62 75 66 66 65 72 20 64 65 73 63 2d 62 75 .")).....(display-buffer.desc-bu
eaa0 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 28 28 64 69 73 70 6c 61 79 f.....................'((display
eac0 2d 62 75 66 66 65 72 2d 72 65 75 73 65 2d 77 69 6e 64 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 -buffer-reuse-window............
eae0 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 64 65 ............leetcode--display-de
eb00 74 61 69 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 75 tail).......................(reu
eb20 73 61 62 6c 65 2d 66 72 61 6d 65 73 20 2e 20 76 69 73 69 62 6c 65 29 29 29 0a 20 20 20 20 28 64 sable-frames...visible))).....(d
eb40 69 73 70 6c 61 79 2d 62 75 66 66 65 72 20 74 65 73 74 63 61 73 65 2d 62 75 66 0a 20 20 20 20 20 isplay-buffer.testcase-buf......
eb60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 28 28 64 69 73 70 6c 61 79 2d 62 75 66 66 65 72 ...............'((display-buffer
eb80 2d 72 65 75 73 65 2d 77 69 6e 64 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 -reuse-window...................
eba0 20 20 20 20 20 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 74 65 73 74 63 61 73 65 29 .....leetcode--display-testcase)
ebc0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 75 73 61 62 6c 65 .......................(reusable
ebe0 2d 66 72 61 6d 65 73 20 2e 20 76 69 73 69 62 6c 65 29 29 29 0a 20 20 20 20 28 64 69 73 70 6c 61 -frames...visible))).....(displa
ec00 79 2d 62 75 66 66 65 72 20 72 65 73 75 6c 74 2d 62 75 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 y-buffer.result-buf.............
ec20 20 20 20 20 20 20 20 20 27 28 28 64 69 73 70 6c 61 79 2d 62 75 66 66 65 72 2d 72 65 75 73 65 2d ........'((display-buffer-reuse-
ec40 77 69 6e 64 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 window........................le
ec60 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 72 65 73 75 6c 74 29 0a 20 20 20 20 20 20 20 20 etcode--display-result).........
ec80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 75 73 61 62 6c 65 2d 66 72 61 6d 65 73 20 2e ..............(reusable-frames..
eca0 20 76 69 73 69 62 6c 65 29 29 29 29 29 0a 0a 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b .visible)))))..;;;;;;;;;;;;;;;;;
ecc0 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ece0 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 20 50 72 6f 62 6c 65 6d 73 20 4d 6f 64 65 20 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;.Problems.Mode.;;;;;;
ed00 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ed20 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 0a 0a 28 64 65 66 76 61 72 20 ;;;;;;;;;;;;;;;;;;;;;;..(defvar.
ed40 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 2d 6d 6f 64 65 2d 6d 61 70 0a 20 20 28 6c leetcode--problems-mode-map...(l
ed60 65 74 20 28 28 6d 61 70 20 28 6d 61 6b 65 2d 73 70 61 72 73 65 2d 6b 65 79 6d 61 70 29 29 29 0a et.((map.(make-sparse-keymap))).
ed80 20 20 20 20 28 70 72 6f 67 31 20 6d 61 70 0a 20 20 20 20 20 20 28 73 75 70 70 72 65 73 73 2d 6b ....(prog1.map.......(suppress-k
eda0 65 79 6d 61 70 20 6d 61 70 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 eymap.map).......(define-key.map
edc0 20 28 6b 62 64 20 22 52 45 54 22 29 20 23 27 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 63 75 72 .(kbd."RET").#'leetcode-show-cur
ede0 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 rent-problem).......(define-key.
ee00 6d 61 70 20 28 6b 62 64 20 22 54 41 42 22 29 20 23 27 6c 65 65 74 63 6f 64 65 2d 76 69 65 77 2d map.(kbd."TAB").#'leetcode-view-
ee20 63 75 72 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b current-problem).......(define-k
ee40 65 79 20 6d 61 70 20 22 6f 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 63 75 72 72 65 ey.map."o".#'leetcode-show-curre
ee60 6e 74 2d 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 nt-problem).......(define-key.ma
ee80 70 20 22 4f 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 29 0a 20 p."O".#'leetcode-show-problem)..
eea0 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 76 22 20 23 27 6c 65 65 74 63 .....(define-key.map."v".#'leetc
eec0 6f 64 65 2d 76 69 65 77 2d 63 75 72 72 65 6e 74 2d 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 ode-view-current-problem).......
eee0 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 56 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 76 (define-key.map."V".#'leetcode-v
ef00 69 65 77 2d 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d iew-problem).......(define-key.m
ef20 61 70 20 22 62 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 63 75 72 72 65 6e 74 2d 70 ap."b".#'leetcode-show-current-p
ef40 72 6f 62 6c 65 6d 2d 69 6e 2d 62 72 6f 77 73 65 72 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 roblem-in-browser).......(define
ef60 2d 6b 65 79 20 6d 61 70 20 22 42 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 73 68 6f 77 2d 70 72 6f -key.map."B".#'leetcode-show-pro
ef80 62 6c 65 6d 2d 69 6e 2d 62 72 6f 77 73 65 72 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b blem-in-browser).......(define-k
efa0 65 79 20 6d 61 70 20 22 63 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 73 6f 6c 76 65 2d 63 75 72 72 ey.map."c".#'leetcode-solve-curr
efc0 65 6e 74 2d 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d ent-problem).......(define-key.m
efe0 61 70 20 22 43 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 73 6f 6c 76 65 2d 70 72 6f 62 6c 65 6d 29 ap."C".#'leetcode-solve-problem)
f000 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 73 22 20 23 27 6c 65 65 .......(define-key.map."s".#'lee
f020 74 63 6f 64 65 2d 73 65 74 2d 66 69 6c 74 65 72 2d 72 65 67 65 78 29 0a 20 20 20 20 20 20 28 64 tcode-set-filter-regex).......(d
f040 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 4c 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 73 65 74 efine-key.map."L".#'leetcode-set
f060 2d 70 72 65 66 65 72 2d 6c 61 6e 67 75 61 67 65 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d -prefer-language).......(define-
f080 6b 65 79 20 6d 61 70 20 22 74 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 73 65 74 2d 66 69 6c 74 65 key.map."t".#'leetcode-set-filte
f0a0 72 2d 74 61 67 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 54 22 r-tag).......(define-key.map."T"
f0c0 20 23 27 6c 65 65 74 63 6f 64 65 2d 74 6f 67 67 6c 65 2d 74 61 67 2d 64 69 73 70 6c 61 79 29 0a .#'leetcode-toggle-tag-display).
f0e0 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 50 22 20 23 27 6c 65 65 74 ......(define-key.map."P".#'leet
f100 63 6f 64 65 2d 74 6f 67 67 6c 65 2d 70 61 69 64 2d 64 69 73 70 6c 61 79 29 0a 20 20 20 20 20 20 code-toggle-paid-display).......
f120 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 64 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 73 (define-key.map."d".#'leetcode-s
f140 65 74 2d 66 69 6c 74 65 72 2d 64 69 66 66 69 63 75 6c 74 79 29 0a 20 20 20 20 20 20 28 64 65 66 et-filter-difficulty).......(def
f160 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 67 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 72 65 66 72 65 ine-key.map."g".#'leetcode-refre
f180 73 68 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 47 22 20 23 27 sh).......(define-key.map."G".#'
f1a0 6c 65 65 74 63 6f 64 65 2d 72 65 66 72 65 73 68 2d 66 65 74 63 68 29 0a 20 20 20 20 20 20 28 64 leetcode-refresh-fetch).......(d
f1c0 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 72 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 72 65 73 efine-key.map."r".#'leetcode-res
f1e0 65 74 2d 66 69 6c 74 65 72 2d 61 6e 64 2d 72 65 66 72 65 73 68 29 0a 20 20 20 20 20 20 28 64 65 et-filter-and-refresh).......(de
f200 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 71 22 20 23 27 71 75 69 74 2d 77 69 6e 64 6f 77 29 29 fine-key.map."q".#'quit-window))
f220 29 0a 20 20 22 4b 65 79 6d 61 70 20 66 6f 72 20 60 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c )..."Keymap.for.`leetcode--probl
f240 65 6d 73 2d 6d 6f 64 65 27 2e 22 29 0a 0a 28 64 65 66 69 6e 65 2d 64 65 72 69 76 65 64 2d 6d 6f ems-mode'.")..(define-derived-mo
f260 64 65 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 2d 6d 6f 64 65 0a 20 20 74 61 62 de.leetcode--problems-mode...tab
f280 75 6c 61 74 65 64 2d 6c 69 73 74 2d 6d 6f 64 65 20 22 4c 43 20 50 72 6f 62 6c 65 6d 73 22 0a 20 ulated-list-mode."LC.Problems"..
f2a0 20 22 4d 61 6a 6f 72 20 6d 6f 64 65 20 66 6f 72 20 62 72 6f 77 73 69 6e 67 20 61 20 6c 69 73 74 ."Major.mode.for.browsing.a.list
f2c0 20 6f 66 20 70 72 6f 62 6c 65 6d 73 2e 22 0a 20 20 28 73 65 74 71 20 74 61 62 75 6c 61 74 65 64 .of.problems."...(setq.tabulated
f2e0 2d 6c 69 73 74 2d 70 61 64 64 69 6e 67 20 32 29 0a 20 20 28 61 64 64 2d 68 6f 6f 6b 20 27 74 61 -list-padding.2)...(add-hook.'ta
f300 62 75 6c 61 74 65 64 2d 6c 69 73 74 2d 72 65 76 65 72 74 2d 68 6f 6f 6b 20 23 27 6c 65 65 74 63 bulated-list-revert-hook.#'leetc
f320 6f 64 65 2d 72 65 66 72 65 73 68 20 6e 69 6c 20 74 29 0a 20 20 3a 67 72 6f 75 70 20 27 6c 65 65 ode-refresh.nil.t)...:group.'lee
f340 74 63 6f 64 65 0a 20 20 3a 6b 65 79 6d 61 70 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 tcode...:keymap.leetcode--proble
f360 6d 73 2d 6d 6f 64 65 2d 6d 61 70 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 73 ms-mode-map)..(defun.leetcode--s
f380 65 74 2d 65 76 69 6c 2d 6c 6f 63 61 6c 2d 6d 61 70 20 28 6d 61 70 29 0a 20 20 22 53 65 74 20 60 et-evil-local-map.(map)..."Set.`
f3a0 65 76 69 6c 2d 6e 6f 72 6d 61 6c 2d 73 74 61 74 65 2d 6c 6f 63 61 6c 2d 6d 61 70 27 20 74 6f 20 evil-normal-state-local-map'.to.
f3c0 4d 41 50 2e 22 0a 20 20 28 77 68 65 6e 20 28 66 65 61 74 75 72 65 70 20 27 65 76 69 6c 29 0a 20 MAP."...(when.(featurep.'evil)..
f3e0 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 68 22 20 6e 69 6c 29 0a 20 20 20 20 ...(define-key.map."h".nil).....
f400 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 76 22 20 6e 69 6c 29 0a 20 20 20 20 28 64 65 (define-key.map."v".nil).....(de
f420 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 56 22 20 6e 69 6c 29 0a 20 20 20 20 28 64 65 66 69 6e fine-key.map."V".nil).....(defin
f440 65 2d 6b 65 79 20 6d 61 70 20 22 62 22 20 6e 69 6c 29 0a 20 20 20 20 28 64 65 66 69 6e 65 2d 6b e-key.map."b".nil).....(define-k
f460 65 79 20 6d 61 70 20 22 42 22 20 6e 69 6c 29 0a 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 ey.map."B".nil).....(define-key.
f480 6d 61 70 20 22 67 22 20 6e 69 6c 29 0a 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 map."g".nil).....(define-key.map
f4a0 20 22 47 22 20 6e 69 6c 29 0a 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 7a ."G".nil).....(define-key.map."z
f4c0 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 72 65 66 72 65 73 68 29 0a 20 20 20 20 28 64 65 66 69 6e ".#'leetcode-refresh).....(defin
f4e0 65 2d 6b 65 79 20 6d 61 70 20 22 5a 22 20 23 27 6c 65 65 74 63 6f 64 65 2d 72 65 66 72 65 73 68 e-key.map."Z".#'leetcode-refresh
f500 2d 66 65 74 63 68 29 0a 20 20 20 20 28 73 65 74 71 20 65 76 69 6c 2d 6e 6f 72 6d 61 6c 2d 73 74 -fetch).....(setq.evil-normal-st
f520 61 74 65 2d 6c 6f 63 61 6c 2d 6d 61 70 20 6d 61 70 29 29 29 0a 0a 28 61 64 64 2d 68 6f 6f 6b 20 ate-local-map.map)))..(add-hook.
f540 27 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 2d 6d 6f 64 65 2d 68 6f 6f 6b 20 23 27 'leetcode--problems-mode-hook.#'
f560 68 6c 2d 6c 69 6e 65 2d 6d 6f 64 65 29 0a 28 61 64 64 2d 68 6f 6f 6b 20 27 6c 65 65 74 63 6f 64 hl-line-mode).(add-hook.'leetcod
f580 65 2d 2d 70 72 6f 62 6c 65 6d 73 2d 6d 6f 64 65 2d 68 6f 6f 6b 0a 20 20 20 20 20 20 20 20 20 20 e--problems-mode-hook...........
f5a0 28 6c 61 6d 62 64 61 20 28 29 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 65 74 2d 65 76 69 6c 2d 6c (lambda.().(leetcode--set-evil-l
f5c0 6f 63 61 6c 2d 6d 61 70 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 2d 6d 6f 64 65 ocal-map.leetcode--problems-mode
f5e0 2d 6d 61 70 29 29 29 0a 0a 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b -map)))..;;;;;;;;;;;;;;;;;;;;;;;
f600 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
f620 3b 3b 3b 3b 3b 20 44 65 74 61 69 6c 20 4d 6f 64 65 20 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;.Detail.Mode.;;;;;;;;;;;;;;
f640 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
f660 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 ;;;;;;;;;;;;;;..(defvar.leetcode
f680 2d 2d 70 72 6f 62 6c 65 6d 2d 64 65 74 61 69 6c 2d 6d 6f 64 65 2d 6d 61 70 0a 20 20 28 6c 65 74 --problem-detail-mode-map...(let
f6a0 20 28 28 6d 61 70 20 28 6d 61 6b 65 2d 73 70 61 72 73 65 2d 6b 65 79 6d 61 70 29 29 29 0a 20 20 .((map.(make-sparse-keymap)))...
f6c0 20 20 28 70 72 6f 67 31 20 6d 61 70 0a 20 20 20 20 20 20 28 73 75 70 70 72 65 73 73 2d 6b 65 79 ..(prog1.map.......(suppress-key
f6e0 6d 61 70 20 6d 61 70 29 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 22 map.map).......(define-key.map."
f700 71 22 20 23 27 71 75 69 74 2d 77 69 6e 64 6f 77 29 29 29 0a 20 20 22 4b 65 79 6d 61 70 20 66 6f q".#'quit-window)))..."Keymap.fo
f720 72 20 60 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 64 65 74 61 69 6c 2d 6d 6f 64 65 r.`leetcode--problem-detail-mode
f740 27 2e 22 29 0a 0a 28 64 65 66 69 6e 65 2d 64 65 72 69 76 65 64 2d 6d 6f 64 65 20 6c 65 65 74 63 '.")..(define-derived-mode.leetc
f760 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 64 65 74 61 69 6c 2d 6d 6f 64 65 0a 20 20 73 70 65 63 69 ode--problem-detail-mode...speci
f780 61 6c 2d 6d 6f 64 65 20 22 4c 43 20 44 65 74 61 69 6c 22 0a 20 20 22 4d 61 6a 6f 72 20 6d 6f 64 al-mode."LC.Detail"..."Major.mod
f7a0 65 20 66 6f 72 20 64 69 73 70 6c 61 79 20 70 72 6f 62 6c 65 6d 20 64 65 74 61 69 6c 2e 22 0a 20 e.for.display.problem.detail."..
f7c0 20 3a 67 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 0a 20 20 3a 6b 65 79 6d 61 70 20 6c 65 65 74 .:group.'leetcode...:keymap.leet
f7e0 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 64 65 74 61 69 6c 2d 6d 6f 64 65 2d 6d 61 70 29 0a 0a code--problem-detail-mode-map)..
f800 28 61 64 64 2d 68 6f 6f 6b 20 27 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 64 65 74 (add-hook.'leetcode--problem-det
f820 61 69 6c 2d 6d 6f 64 65 2d 68 6f 6f 6b 0a 20 20 20 20 20 20 20 20 20 20 28 6c 61 6d 62 64 61 20 ail-mode-hook...........(lambda.
f840 28 29 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 65 74 2d 65 76 69 6c 2d 6c 6f 63 61 6c 2d 6d 61 70 ().(leetcode--set-evil-local-map
f860 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 64 65 74 61 69 6c 2d 6d 6f 64 65 2d 6d .leetcode--problem-detail-mode-m
f880 61 70 29 29 29 0a 0a 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ap)))..;;;;;;;;;;;;;;;;;;;;;;;;;
f8a0 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
f8c0 3b 3b 3b 20 53 6f 6c 75 74 69 6f 6e 20 4d 6f 64 65 20 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;.Solution.Mode.;;;;;;;;;;;;;;
f8e0 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
f900 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 ;;;;;;;;;;;;;;..(defvar.leetcode
f920 2d 73 6f 6c 75 74 69 6f 6e 2d 6d 6f 64 65 2d 6d 61 70 0a 20 20 28 6c 65 74 20 28 28 6d 61 70 20 -solution-mode-map...(let.((map.
f940 28 6d 61 6b 65 2d 73 70 61 72 73 65 2d 6b 65 79 6d 61 70 29 29 29 0a 20 20 20 20 28 70 72 6f 67 (make-sparse-keymap))).....(prog
f960 31 20 6d 61 70 0a 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 28 6b 62 64 1.map.......(define-key.map.(kbd
f980 20 22 43 2d 63 20 43 2d 74 22 29 20 23 27 6c 65 65 74 63 6f 64 65 2d 74 72 79 29 0a 20 20 20 20 ."C-c.C-t").#'leetcode-try).....
f9a0 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 6d 61 70 20 28 6b 62 64 20 22 43 2d 63 20 43 2d 73 22 ..(define-key.map.(kbd."C-c.C-s"
f9c0 29 20 23 27 6c 65 65 74 63 6f 64 65 2d 73 75 62 6d 69 74 29 0a 20 20 20 20 20 20 28 64 65 66 69 ).#'leetcode-submit).......(defi
f9e0 6e 65 2d 6b 65 79 20 6d 61 70 20 28 6b 62 64 20 22 43 2d 63 20 43 2d 72 22 29 20 23 27 6c 65 65 ne-key.map.(kbd."C-c.C-r").#'lee
fa00 74 63 6f 64 65 2d 72 65 73 74 6f 72 65 2d 6c 61 79 6f 75 74 29 29 29 0a 20 20 22 4b 65 79 6d 61 tcode-restore-layout)))..."Keyma
fa20 70 20 66 6f 72 20 60 6c 65 65 74 63 6f 64 65 2d 73 6f 6c 75 74 69 6f 6e 2d 6d 6f 64 65 27 2e 22 p.for.`leetcode-solution-mode'."
fa40 29 0a 0a 28 64 65 66 69 6e 65 2d 6d 69 6e 6f 72 2d 6d 6f 64 65 20 6c 65 65 74 63 6f 64 65 2d 73 )..(define-minor-mode.leetcode-s
fa60 6f 6c 75 74 69 6f 6e 2d 6d 6f 64 65 0a 20 20 22 4d 69 6e 6f 72 20 6d 6f 64 65 20 74 6f 20 70 72 olution-mode..."Minor.mode.to.pr
fa80 6f 76 69 64 65 20 73 68 6f 72 74 63 75 74 20 61 6e 64 20 68 6f 6f 6b 73 2e 22 0a 20 20 3a 72 65 ovide.shortcut.and.hooks."...:re
faa0 71 75 69 72 65 20 27 6c 65 65 74 63 6f 64 65 0a 20 20 3a 6c 69 67 68 74 65 72 20 22 20 4c 43 2d quire.'leetcode...:lighter.".LC-
fac0 53 6f 6c 75 74 69 6f 6e 22 0a 20 20 3a 67 72 6f 75 70 20 27 6c 65 65 74 63 6f 64 65 0a 20 20 3a Solution"...:group.'leetcode...:
fae0 6b 65 79 6d 61 70 20 6c 65 65 74 63 6f 64 65 2d 73 6f 6c 75 74 69 6f 6e 2d 6d 6f 64 65 2d 6d 61 keymap.leetcode-solution-mode-ma
fb00 70 29 0a 0a 28 70 72 6f 76 69 64 65 20 27 6c 65 65 74 63 6f 64 65 29 0a 3b 3b 3b 20 6c 65 65 74 p)..(provide.'leetcode).;;;.leet
fb20 63 6f 64 65 2e 65 6c 20 65 6e 64 73 20 68 65 72 65 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 code.el.ends.here...............
fb40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fb60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fb80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fbc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fbe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fc00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fc20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fc40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fc60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fc80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fcc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fd00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fd20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fd40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fd60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fd80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fda0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fdc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fde0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fe00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fe20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fe40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fe60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fe80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
fee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ff00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ff20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ff40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ff60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ff80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ffa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ffc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ffe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
100a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
100c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
100e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
101a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
101c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
101e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
102a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
102c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
102e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
103a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
103c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
103e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
104a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
104c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
104e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
105a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
105c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
105e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
106a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
106c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
106e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
107a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
107c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
107e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
108a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
108c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
108e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
109a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
109c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
109e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10f00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10f20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
110a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
110c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
110e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
111a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
111c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
111e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
112a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
112c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
112e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
113a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
113c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
113e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
114a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
114c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
114e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
115a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
115c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
115e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
116a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
116c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
116e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
117a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
117c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
117e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................