| ofs | hex dump | ascii |
|---|
| 0000 | 6c 65 65 74 63 6f 64 65 2d 32 30 32 34 30 38 30 37 2e 31 37 33 31 2f 00 00 00 00 00 00 00 00 00 | leetcode-20240807.1731/......... |
| 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 37 00 20 35 00 00 00 | 0000000.00000000000.012577..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 34 30 38 30 37 2e 31 37 33 31 2f 6c 65 65 74 63 6f 64 65 2d | leetcode-20240807.1731/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 34 31 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 35 34 36 36 00 20 30 00 00 00 | 0000741.00000000000.015466..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 34 30 38 30 37 2e 31 37 33 31 22 0a 20 | age."leetcode"."20240807.1731".. |
| 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 36 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."26.1").....(s....."1.13.0").. |
| 04a0 | 20 20 20 28 64 61 73 68 20 20 22 32 2e 31 36 2e 30 22 29 0a 20 20 20 20 28 61 69 6f 20 20 20 22 | ...(dash.."2.16.0").....(aio..." |
| 04c0 | 31 2e 30 22 29 0a 20 20 20 20 28 6c 6f 67 34 65 20 22 30 2e 33 2e 33 22 29 29 0a 20 20 3a 75 72 | 1.0").....(log4e."0.3.3"))...:ur |
| 04e0 | 6c 20 22 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6b 61 69 77 6b 2f 6c 65 65 74 | l."https://github.com/kaiwk/leet |
| 0500 | 63 6f 64 65 2e 65 6c 22 0a 20 20 3a 63 6f 6d 6d 69 74 20 22 30 36 34 61 30 33 64 33 34 30 37 64 | code.el"...:commit."064a03d3407d |
| 0520 | 36 37 33 39 31 66 64 38 63 30 66 36 34 39 34 64 30 65 30 66 30 64 38 36 37 65 64 63 22 0a 20 20 | 67391fd8c0f6494d0e0f0d867edc"... |
| 0540 | 3a 72 65 76 64 65 73 63 20 22 30 36 34 61 30 33 64 33 34 30 37 64 22 0a 20 20 3a 6b 65 79 77 6f | :revdesc."064a03d3407d"...:keywo |
| 0560 | 72 64 73 20 27 28 22 65 78 74 65 6e 73 69 6f 6e 73 22 20 22 74 6f 6f 6c 73 22 29 0a 20 20 3a 61 | rds.'("extensions"."tools")...:a |
| 0580 | 75 74 68 6f 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 | uthors.'(("Wang.Kai"..."kaiwkx@g |
| 05a0 | 6d 61 69 6c 2e 63 6f 6d 22 29 29 0a 20 20 3a 6d 61 69 6e 74 61 69 6e 65 72 73 20 27 28 28 22 57 | mail.com"))...:maintainers.'(("W |
| 05c0 | 61 6e 67 20 4b 61 69 22 20 2e 20 22 6b 61 69 77 6b 78 40 67 6d 61 69 6c 2e 63 6f 6d 22 29 29 29 | ang.Kai"..."kaiwkx@gmail.com"))) |
| 05e0 | 0a 00 00 00 00 00 00 00 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 34 30 38 30 37 2e 31 37 33 31 2f 6c 65 65 74 63 6f 64 65 2e | leetcode-20240807.1731/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 36 33 30 36 37 00 30 30 30 30 30 30 30 30 30 30 30 00 30 31 34 37 32 32 00 20 30 00 00 00 | 0163067.00000000000.014722..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 36 2e 31 22 29 20 28 73 20 22 31 2e | Requires:.((emacs."26.1").(s."1. |
| 0920 | 31 33 2e 30 22 29 20 28 64 61 73 68 20 22 32 2e 31 36 2e 30 22 29 20 28 61 69 6f 20 22 31 2e 30 | 13.0").(dash."2.16.0").(aio."1.0 |
| 0940 | 22 29 20 28 6c 6f 67 34 65 20 22 30 2e 33 2e 33 22 29 29 0a 3b 3b 20 50 61 63 6b 61 67 65 2d 56 | ").(log4e."0.3.3")).;;.Package-V |
| 0960 | 65 72 73 69 6f 6e 3a 20 32 30 32 34 30 38 30 37 2e 31 37 33 31 0a 3b 3b 20 50 61 63 6b 61 67 65 | ersion:.20240807.1731.;;.Package |
| 0980 | 2d 52 65 76 69 73 69 6f 6e 3a 20 30 36 34 61 30 33 64 33 34 30 37 64 0a 0a 3b 3b 20 54 68 69 73 | -Revision:.064a03d3407d..;;.This |
| 09a0 | 20 70 72 6f 67 72 61 6d 20 69 73 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 3b 20 79 6f 75 20 63 | .program.is.free.software;.you.c |
| 09c0 | 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 69 74 20 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 79 | an.redistribute.it.and/or.modify |
| 09e0 | 0a 3b 3b 20 69 74 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 47 4e | .;;.it.under.the.terms.of.the.GN |
| 0a00 | 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 61 73 20 70 75 62 6c | U.General.Public.License.as.publ |
| 0a20 | 69 73 68 65 64 20 62 79 0a 3b 3b 20 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f | ished.by.;;.the.Free.Software.Fo |
| 0a40 | 75 6e 64 61 74 69 6f 6e 2c 20 65 69 74 68 65 72 20 76 65 72 73 69 6f 6e 20 33 20 6f 66 20 74 68 | undation,.either.version.3.of.th |
| 0a60 | 65 20 4c 69 63 65 6e 73 65 2c 20 6f 72 0a 3b 3b 20 28 61 74 20 79 6f 75 72 20 6f 70 74 69 6f 6e | e.License,.or.;;.(at.your.option |
| 0a80 | 29 20 61 6e 79 20 6c 61 74 65 72 20 76 65 72 73 69 6f 6e 2e 0a 0a 3b 3b 20 54 68 69 73 20 70 72 | ).any.later.version...;;.This.pr |
| 0aa0 | 6f 67 72 61 6d 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 69 6e 20 74 68 65 20 68 6f 70 65 | ogram.is.distributed.in.the.hope |
| 0ac0 | 20 74 68 61 74 20 69 74 20 77 69 6c 6c 20 62 65 20 75 73 65 66 75 6c 2c 0a 3b 3b 20 62 75 74 20 | .that.it.will.be.useful,.;;.but. |
| 0ae0 | 57 49 54 48 4f 55 54 20 41 4e 59 20 57 41 52 52 41 4e 54 59 3b 20 77 69 74 68 6f 75 74 20 65 76 | WITHOUT.ANY.WARRANTY;.without.ev |
| 0b00 | 65 6e 20 74 68 65 20 69 6d 70 6c 69 65 64 20 77 61 72 72 61 6e 74 79 20 6f 66 0a 3b 3b 20 4d 45 | en.the.implied.warranty.of.;;.ME |
| 0b20 | 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 6f 72 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 | RCHANTABILITY.or.FITNESS.FOR.A.P |
| 0b40 | 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 2e 20 20 53 65 65 20 74 68 65 0a 3b 3b 20 47 | ARTICULAR.PURPOSE...See.the.;;.G |
| 0b60 | 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 66 6f 72 20 6d 6f | NU.General.Public.License.for.mo |
| 0b80 | 72 65 20 64 65 74 61 69 6c 73 2e 0a 0a 3b 3b 20 59 6f 75 20 73 68 6f 75 6c 64 20 68 61 76 65 20 | re.details...;;.You.should.have. |
| 0ba0 | 72 65 63 65 69 76 65 64 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 | received.a.copy.of.the.GNU.Gener |
| 0bc0 | 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 0a 3b 3b 20 61 6c 6f 6e 67 20 77 69 74 68 20 | al.Public.License.;;.along.with. |
| 0be0 | 74 68 69 73 20 70 72 6f 67 72 61 6d 2e 20 20 49 66 20 6e 6f 74 2c 20 73 65 65 20 3c 68 74 74 70 | this.program...If.not,.see.<http |
| 0c00 | 73 3a 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 6c 69 63 65 6e 73 65 73 2f 3e 2e 0a 0a 3b 3b 3b | s://www.gnu.org/licenses/>...;;; |
| 0c20 | 20 43 6f 6d 6d 65 6e 74 61 72 79 3a 0a 0a 3b 3b 20 6c 65 65 74 63 6f 64 65 2e 65 6c 20 69 73 20 | .Commentary:..;;.leetcode.el.is. |
| 0c40 | 61 6e 20 75 6e 6f 66 66 69 63 69 61 6c 20 4c 65 65 74 43 6f 64 65 20 63 6c 69 65 6e 74 2e 0a 3b | an.unofficial.LeetCode.client..; |
| 0c60 | 3b 0a 3b 3b 20 4e 6f 77 20 69 74 20 69 6d 70 6c 65 6d 65 6e 74 73 20 73 65 76 65 72 61 6c 20 41 | ;.;;.Now.it.implements.several.A |
| 0c80 | 50 49 3a 0a 3b 3b 20 2d 20 43 68 65 63 6b 20 70 72 6f 62 6c 65 6d 73 20 6c 69 73 74 0a 3b 3b 20 | PI:.;;.-.Check.problems.list.;;. |
| 0ca0 | 2d 20 54 72 79 20 74 65 73 74 63 61 73 65 0a 3b 3b 20 2d 20 53 75 62 6d 69 74 20 63 6f 64 65 0a | -.Try.testcase.;;.-.Submit.code. |
| 0cc0 | 3b 3b 0a 3b 3b 20 53 69 6e 63 65 20 6d 6f 73 74 20 48 54 54 50 20 72 65 71 75 65 73 74 73 20 77 | ;;.;;.Since.most.HTTP.requests.w |
| 0ce0 | 6f 72 6b 73 20 61 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 2c 20 69 74 20 77 6f 6e 27 74 20 62 6c | orks.asynchronously,.it.won't.bl |
| 0d00 | 6f 63 6b 20 45 6d 61 63 73 2e 0a 3b 3b 0a 3b 3b 3b 20 43 6f 64 65 3a 0a 28 65 76 61 6c 2d 77 68 | ock.Emacs..;;.;;;.Code:.(eval-wh |
| 0d20 | 65 6e 2d 63 6f 6d 70 69 6c 65 0a 20 20 28 72 65 71 75 69 72 65 20 27 6c 65 74 2d 61 6c 69 73 74 | en-compile...(require.'let-alist |
| 0d40 | 29 29 0a 0a 28 72 65 71 75 69 72 65 20 27 6a 73 6f 6e 29 0a 28 72 65 71 75 69 72 65 20 27 73 68 | ))..(require.'json).(require.'sh |
| 0d60 | 72 29 0a 28 72 65 71 75 69 72 65 20 27 73 65 71 29 0a 28 72 65 71 75 69 72 65 20 27 73 75 62 72 | r).(require.'seq).(require.'subr |
| 0d80 | 2d 78 29 0a 28 72 65 71 75 69 72 65 20 27 6d 6d 2d 75 72 6c 29 0a 28 72 65 71 75 69 72 65 20 27 | -x).(require.'mm-url).(require.' |
| 0da0 | 63 6c 2d 6c 69 62 29 0a 0a 28 72 65 71 75 69 72 65 20 27 64 61 73 68 29 0a 28 72 65 71 75 69 72 | cl-lib)..(require.'dash).(requir |
| 0dc0 | 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 |
| 0de0 | 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 |
| 0e00 | 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 |
| 0e20 | 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").................. |
| 0e40 | 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 | ................................ |
| 0e60 | 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").......... |
| 0e80 | 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 | ................................ |
| 0ea0 | 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")... |
| 0ec0 | 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 | ................................ |
| 0ee0 | 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 |
| 0f00 | 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")............................ |
| 0f20 | 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 |
| 0f40 | 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").................... |
| 0f60 | 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 | ................................ |
| 0f80 | 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 |
| 0fa0 | 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 |
| 0fc0 | 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 |
| 0fe0 | 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 |
| 1000 | 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 |
| 1020 | 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)... |
| 1040 | 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 |
| 1060 | 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 |
| 1080 | 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).... |
| 10a0 | 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. |
| 10c0 | 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 |
| 10e0 | 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)...... |
| 1100 | 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 |
| 1120 | 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 |
| 1140 | 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 |
| 1160 | 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 |
| 1180 | 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.(( |
| 11a0 | 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 |
| 11c0 | 65 72 20 74 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 64 0a | er.t)).....(async-shell-command. |
| 11e0 | 20 20 20 20 20 22 70 69 70 33 20 69 6e 73 74 61 6c 6c 20 6d 79 5f 63 6f 6f 6b 69 65 73 22 0a 20 | ....."pip3.install.my_cookies".. |
| 1200 | 20 20 20 20 28 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 | ....(get-buffer-create."*leetcod |
| 1220 | 65 2d 69 6e 73 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 | e-install*"))))..(defun.leetcode |
| 1240 | 2d 2d 63 68 65 63 6b 2d 64 65 70 73 20 28 29 0a 20 20 22 43 68 65 63 6b 20 69 66 20 61 6c 6c 20 | --check-deps.()..."Check.if.all. |
| 1260 | 64 65 70 65 6e 64 65 6e 63 69 65 73 20 69 6e 73 74 61 6c 6c 65 64 2e 22 0a 20 20 28 69 66 20 28 | dependencies.installed."...(if.( |
| 1280 | 65 78 65 63 75 74 61 62 6c 65 2d 66 69 6e 64 20 22 6d 79 5f 63 6f 6f 6b 69 65 73 22 29 0a 20 20 | executable-find."my_cookies")... |
| 12a0 | 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 6c 2d 6d 79 2d | ....t.....(leetcode--install-my- |
| 12c0 | 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 70 20 6c 65 65 | cookie).....nil))..(defgroup.lee |
| 12e0 | 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 65 6e 74 2e 22 | tcode.nil..."A.Leetcode.client." |
| 1300 | 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 6f 75 70 20 27 | ...:prefix.'leetcode-...:group.' |
| 1320 | 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 2d 70 72 65 66 | tools)..(defcustom.leetcode-pref |
| 1340 | 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 20 74 6f 20 64 | er-tag-display.t..."Whether.to.d |
| 1360 | 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 68 65 20 2a 6c | isplay.tags.by.default.in.the.*l |
| 1380 | 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 27 6c 65 65 74 | eetcode*.buffer."...:group.'leet |
| 13a0 | 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 66 63 75 73 74 | code...:type.'boolean)..(defcust |
| 13c0 | 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 20 22 70 79 74 | om.leetcode-prefer-language."pyt |
| 13e0 | 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 6e 67 20 6c 61 | hon3"..."LeetCode.programming.la |
| 1400 | 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 61 6e 67 2c 20 | nguage..c,.cpp,.csharp,.golang,. |
| 1420 | 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 74 2c 20 6b 6f | java,.javascript,.typescript,.ko |
| 1440 | 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 20 72 75 62 79 | tlin,.php,.python,.python3,.ruby |
| 1460 | 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 72 6f 75 70 20 | ,.rust,.scala,.swift."...:group. |
| 1480 | 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 0a 28 64 65 66 | 'leetcode...:type.'string)..(def |
| 14a0 | 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 22 6d 79 73 71 | custom.leetcode-prefer-sql."mysq |
| 14c0 | 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 74 61 74 69 6f | l"..."LeetCode.sql.implementatio |
| 14e0 | 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 22 0a 20 20 3a | n..mysql,.mssql,.oraclesql."...: |
| 1500 | 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 72 69 6e 67 29 | group.'leetcode...:type.'string) |
| 1520 | 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 74 6f 72 79 20 | ..(defcustom.leetcode-directory. |
| 1540 | 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 6f 20 73 61 76 | "~/leetcode"..."Directory.to.sav |
| 1560 | 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 74 63 6f 64 65 | e.solutions."...:group.'leetcode |
| 1580 | 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 6f 6d 20 6c 65 | ...:type.'string)..(defcustom.le |
| 15a0 | 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 20 22 49 66 20 | etcode-save-solutions.nil..."If. |
| 15c0 | 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 69 6f 6e 73 20 | it's.t,.save.leetcode.solutions. |
| 15e0 | 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 20 3a 67 72 6f | to.`leetcode-directory'."...:gro |
| 1600 | 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 0a | up.'leetcode...:type.'boolean).. |
| 1620 | 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 0a 20 20 22 57 | (defcustom.leetcode-focus.t..."W |
| 1640 | 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 61 79 73 20 64 | hen.execute.`leetcode',.always.d |
| 1660 | 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 6f 75 70 20 27 | elete.other.windows."...:group.' |
| 1680 | 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 63 6c 2d | leetcode...:type.'boolean)..(cl- |
| 16a0 | 64 65 66 73 74 72 75 63 74 20 6c 65 65 74 63 6f 64 65 2d 75 73 65 72 0a 20 20 22 41 20 4c 65 65 | defstruct.leetcode-user..."A.Lee |
| 16c0 | 74 43 6f 64 65 20 55 73 65 72 2e 0a 54 68 65 20 6f 62 6a 65 63 74 20 77 69 74 68 20 66 6f 6c 6c | tCode.User..The.object.with.foll |
| 16e0 | 6f 77 69 6e 67 20 61 74 74 72 69 62 75 74 65 73 3a 0a 3a 75 73 65 72 6e 61 6d 65 20 20 20 53 74 | owing.attributes:.:username...St |
| 1700 | 72 69 6e 67 0a 3a 69 64 20 20 20 20 20 20 20 20 20 49 6e 74 0a 3a 69 73 2d 70 72 65 6d 69 75 6d | ring.:id.........Int.:is-premium |
| 1720 | 20 42 6f 6f 6c 65 61 6e 20 7b 74 7c 6e 69 6c 7d 22 0a 20 20 75 73 65 72 6e 61 6d 65 20 69 64 20 | .Boolean.{t|nil}"...username.id. |
| 1740 | 69 73 2d 70 72 65 6d 69 75 6d 29 0a 0a 28 63 6c 2d 64 65 66 73 74 72 75 63 74 20 6c 65 65 74 63 | is-premium)..(cl-defstruct.leetc |
| 1760 | 6f 64 65 2d 73 6e 69 70 70 65 74 0a 20 20 22 41 20 63 6f 64 65 20 73 6e 69 70 70 65 74 2e 0a 3a | ode-snippet..."A.code.snippet..: |
| 1780 | 6c 61 6e 67 20 53 74 72 69 6e 67 0a 3a 6c 61 6e 67 2d 73 6c 75 67 20 53 74 72 69 6e 67 0a 3a 63 | lang.String.:lang-slug.String.:c |
| 17a0 | 6f 64 65 20 53 74 72 69 6e 67 0a 0a 57 65 20 6e 65 65 64 20 62 6f 74 68 20 3a 6c 61 6e 67 20 61 | ode.String..We.need.both.:lang.a |
| 17c0 | 6e 64 20 3a 6c 61 6e 67 2d 73 6c 75 67 2c 20 62 65 63 61 75 73 65 20 73 6f 6d 65 20 70 72 6f 67 | nd.:lang-slug,.because.some.prog |
| 17e0 | 72 61 6d 6d 69 6e 67 0a 6c 61 6e 67 75 61 67 65 73 20 6e 61 6d 65 20 63 6f 6e 76 65 72 73 69 6f | ramming.languages.name.conversio |
| 1800 | 6e 20 69 73 20 6e 6f 74 20 27 61 2d 62 2d 63 27 20 3c 3d 3e 20 27 61 42 43 27 2e 0a 0a 46 6f 72 | n.is.not.'a-b-c'.<=>.'aBC'...For |
| 1820 | 20 65 78 61 6d 70 6c 65 3a 20 3a 6c 61 6e 67 20 27 43 2b 2b 27 20 61 6e 64 20 3a 6c 61 6e 67 2d | .example:.:lang.'C++'.and.:lang- |
| 1840 | 73 6c 75 67 20 27 63 70 70 27 2c 20 3a 6c 61 6e 67 20 27 43 23 27 20 61 6e 64 0a 3a 6c 61 6e 67 | slug.'cpp',.:lang.'C#'.and.:lang |
| 1860 | 2d 73 6c 75 67 20 27 63 73 68 61 72 70 27 2e 22 0a 20 20 6c 61 6e 67 20 6c 61 6e 67 2d 73 6c 75 | -slug.'csharp'."...lang.lang-slu |
| 1880 | 67 20 63 6f 64 65 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 | g.code)..(cl-defstruct.leetcode- |
| 18a0 | 70 72 6f 62 6c 65 6d 0a 20 20 22 41 20 73 69 6e 67 6c 65 20 4c 65 65 74 43 6f 64 65 20 70 72 6f | problem..."A.single.LeetCode.pro |
| 18c0 | 62 6c 65 6d 2e 0a 3a 73 74 61 74 75 73 20 20 20 20 20 53 74 72 69 6e 67 0a 3a 69 64 20 20 20 20 | blem..:status.....String.:id.... |
| 18e0 | 20 20 20 20 20 53 74 72 69 6e 67 0a 3a 62 61 63 6b 65 6e 64 2d 69 64 20 53 74 72 69 6e 67 0a 3a | .....String.:backend-id.String.: |
| 1900 | 74 69 74 6c 65 20 20 20 20 20 20 53 74 72 69 6e 67 0a 3a 74 69 74 6c 65 2d 73 6c 75 67 20 53 74 | title......String.:title-slug.St |
| 1920 | 72 69 6e 67 0a 3a 61 63 63 65 70 74 61 6e 63 65 20 53 74 72 69 6e 67 0a 3a 64 69 66 66 69 63 75 | ring.:acceptance.String.:difficu |
| 1940 | 6c 74 79 20 53 74 72 69 6e 67 20 7b 45 61 73 79 2c 4d 65 64 69 75 6d 2c 48 61 72 64 7d 0a 3a 70 | lty.String.{Easy,Medium,Hard}.:p |
| 1960 | 61 69 64 2d 6f 6e 6c 79 20 20 42 6f 6f 6c 65 61 6e 20 7b 74 7c 6e 69 6c 7d 0a 3a 6c 69 6b 65 73 | aid-only..Boolean.{t|nil}.:likes |
| 1980 | 20 20 20 20 20 20 4e 75 6d 62 65 72 0a 3a 64 69 73 6c 69 6b 65 73 20 20 20 4e 75 6d 62 65 72 0a | ......Number.:dislikes...Number. |
| 19a0 | 3a 74 61 67 73 20 20 20 20 20 20 20 4c 69 73 74 0a 3a 63 6f 6e 74 65 6e 74 20 20 20 20 53 74 72 | :tags.......List.:content....Str |
| 19c0 | 69 6e 67 0a 3a 73 6e 69 70 70 65 74 73 20 20 20 4c 69 73 74 20 7b 6c 65 65 74 63 6f 64 65 2d 73 | ing.:snippets...List.{leetcode-s |
| 19e0 | 6e 69 70 70 65 74 7d 0a 3a 74 65 73 74 63 61 73 65 73 20 20 4c 69 73 74 20 7b 53 74 72 69 6e 67 | nippet}.:testcases..List.{String |
| 1a00 | 7d 0a 0a 27 69 64 27 20 69 73 20 66 72 6f 6e 74 65 6e 64 20 69 64 20 69 6e 20 4c 65 65 74 43 6f | }..'id'.is.frontend.id.in.LeetCo |
| 1a20 | 64 65 2e 20 57 65 20 61 6c 6d 6f 73 74 20 61 6c 77 61 79 73 20 75 73 65 20 66 72 6f 6e 74 65 6e | de..We.almost.always.use.fronten |
| 1a40 | 64 20 69 64 0a 69 6e 20 27 6c 65 65 74 63 6f 64 65 2e 65 6c 27 2e 22 0a 20 20 73 74 61 74 75 73 | d.id.in.'leetcode.el'."...status |
| 1a60 | 20 69 64 20 62 61 63 6b 65 6e 64 2d 69 64 20 74 69 74 6c 65 20 74 69 74 6c 65 2d 73 6c 75 67 20 | .id.backend-id.title.title-slug. |
| 1a80 | 61 63 63 65 70 74 61 6e 63 65 0a 20 20 64 69 66 66 69 63 75 6c 74 79 20 70 61 69 64 2d 6f 6e 6c | acceptance...difficulty.paid-onl |
| 1aa0 | 79 20 6c 69 6b 65 73 20 64 69 73 6c 69 6b 65 73 20 74 61 67 73 20 63 6f 6e 74 65 6e 74 0a 20 20 | y.likes.dislikes.tags.content... |
| 1ac0 | 73 6e 69 70 70 65 74 73 20 74 65 73 74 63 61 73 65 73 29 0a 0a 28 63 6c 2d 64 65 66 73 74 72 75 | snippets.testcases)..(cl-defstru |
| 1ae0 | 63 74 20 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 73 0a 20 20 22 41 6c 6c 20 4c 65 65 74 | ct.leetcode-problems..."All.Leet |
| 1b00 | 43 6f 64 65 20 70 72 6f 62 6c 65 6d 73 2c 20 74 68 65 20 70 72 6f 62 6c 65 6d 73 20 63 61 6e 20 | Code.problems,.the.problems.can. |
| 1b20 | 66 69 6c 74 65 72 65 64 20 62 79 20 74 61 67 2e 0a 3a 6e 75 6d 20 20 20 20 20 20 4e 75 6d 62 65 | filtered.by.tag..:num......Numbe |
| 1b40 | 72 0a 3a 74 61 67 20 20 20 20 20 20 53 74 72 69 6e 67 0a 3a 70 72 6f 62 6c 65 6d 73 20 4c 69 73 | r.:tag......String.:problems.Lis |
| 1b60 | 74 5b 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 5d 22 0a 20 20 6e 75 6d 20 74 61 67 | t[leetcode--problems]"...num.tag |
| 1b80 | 20 70 72 6f 62 6c 65 6d 73 29 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 75 73 | .problems)..(defvar.leetcode--us |
| 1ba0 | 65 72 20 28 6d 61 6b 65 2d 6c 65 65 74 63 6f 64 65 2d 75 73 65 72 29 0a 20 20 22 41 20 55 73 65 | er.(make-leetcode-user)..."A.Use |
| 1bc0 | 72 20 6f 62 6a 65 63 74 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 70 | r.object.")..(defvar.leetcode--p |
| 1be0 | 72 6f 62 6c 65 6d 73 20 28 6d 61 6b 65 2d 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 73 29 | roblems.(make-leetcode-problems) |
| 1c00 | 0a 20 20 22 50 72 6f 62 6c 65 6d 73 20 6f 62 6a 65 63 74 20 77 69 74 68 20 61 20 6c 69 73 74 20 | ..."Problems.object.with.a.list. |
| 1c20 | 6f 66 20 60 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 27 2e 22 29 0a 0a 28 64 65 66 76 61 | of.`leetcode-problem'.")..(defva |
| 1c40 | 72 20 6c 65 65 74 63 6f 64 65 2d 2d 61 6c 6c 2d 74 61 67 73 20 6e 69 6c 0a 20 20 22 41 6c 6c 20 | r.leetcode--all-tags.nil..."All. |
| 1c60 | 70 72 6f 62 6c 65 6d 73 20 74 61 67 73 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f | problems.tags.")..(defvar.leetco |
| 1c80 | 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 73 20 6e 69 6c 0a 20 20 22 50 72 6f 62 6c 65 | de--problem-titles.nil..."Proble |
| 1ca0 | 6d 20 74 69 74 6c 65 73 20 74 68 61 74 20 68 61 76 65 20 62 65 65 6e 20 6f 70 65 6e 20 69 6e 20 | m.titles.that.have.been.open.in. |
| 1cc0 | 73 6f 6c 76 69 6e 67 20 6c 61 79 6f 75 74 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 | solving.layout.")..(defvar.leetc |
| 1ce0 | 6f 64 65 2d 2d 64 69 73 70 6c 61 79 2d 74 61 67 73 20 6c 65 65 74 63 6f 64 65 2d 70 72 65 66 65 | ode--display-tags.leetcode-prefe |
| 1d00 | 72 2d 74 61 67 2d 64 69 73 70 6c 61 79 0a 20 20 22 28 49 6e 74 65 72 6e 61 6c 29 20 57 68 65 74 | r-tag-display..."(Internal).Whet |
| 1d20 | 68 65 72 20 74 61 67 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 | her.tags.are.displayed.the.*leet |
| 1d40 | 63 6f 64 65 2a 20 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 | code*.buffer.")..(defvar.leetcod |
| 1d60 | 65 2d 2d 64 69 73 70 6c 61 79 2d 70 61 69 64 20 6e 69 6c 0a 20 20 22 28 49 6e 74 65 72 6e 61 6c | e--display-paid.nil..."(Internal |
| 1d80 | 29 20 57 68 65 74 68 65 72 20 70 61 69 64 20 70 72 6f 62 6c 65 6d 73 20 61 72 65 20 64 69 73 70 | ).Whether.paid.problems.are.disp |
| 1da0 | 6c 61 79 65 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 | layed.the.*leetcode*.buffer.").. |
| 1dc0 | 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 20 6c 65 65 74 63 6f 64 65 2d | (defvar.leetcode--lang.leetcode- |
| 1de0 | 70 72 65 66 65 72 2d 6c 61 6e 67 75 61 67 65 0a 20 20 22 4c 65 65 74 43 6f 64 65 20 70 72 6f 67 | prefer-language..."LeetCode.prog |
| 1e00 | 72 61 6d 6d 69 6e 67 20 6c 61 6e 67 75 61 67 65 20 6f 72 20 73 71 6c 20 66 6f 72 20 63 75 72 72 | ramming.language.or.sql.for.curr |
| 1e20 | 65 6e 74 20 70 72 6f 62 6c 65 6d 20 69 6e 74 65 72 6e 61 6c 6c 79 2e 0a 44 65 66 61 75 6c 74 20 | ent.problem.internally..Default. |
| 1e40 | 69 73 20 70 72 6f 67 72 61 6d 6d 69 6e 67 20 6c 61 6e 67 75 61 67 65 2e 22 29 0a 0a 28 64 65 66 | is.programming.language.")..(def |
| 1e60 | 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 64 65 73 63 72 69 70 74 69 6f 6e 2d 77 69 6e 64 6f 77 | var.leetcode--description-window |
| 1e80 | 20 6e 69 6c 0a 20 20 22 28 49 6e 74 65 72 6e 61 6c 29 20 48 6f 6c 64 73 20 74 68 65 20 72 65 66 | .nil..."(Internal).Holds.the.ref |
| 1ea0 | 65 72 65 6e 63 65 20 74 6f 20 64 65 73 63 72 69 70 74 69 6f 6e 20 77 69 6e 64 6f 77 2e 22 29 0a | erence.to.description.window."). |
| 1ec0 | 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 74 65 73 74 63 61 73 65 2d 77 69 6e 64 | .(defvar.leetcode--testcase-wind |
| 1ee0 | 6f 77 20 6e 69 6c 0a 20 20 22 28 49 6e 74 65 72 6e 61 6c 29 20 48 6f 6c 64 73 20 74 68 65 20 72 | ow.nil..."(Internal).Holds.the.r |
| 1f00 | 65 66 65 72 65 6e 63 65 20 74 6f 20 74 65 73 74 63 61 73 65 20 77 69 6e 64 6f 77 2e 22 29 0a 0a | eference.to.testcase.window.").. |
| 1f20 | 28 64 65 66 76 61 72 20 6c 65 65 74 63 6f 64 65 2d 2d 72 65 73 75 6c 74 2d 77 69 6e 64 6f 77 20 | (defvar.leetcode--result-window. |
| 1f40 | 6e 69 6c 0a 20 20 22 28 49 6e 74 65 72 6e 61 6c 29 20 48 6f 6c 64 73 20 74 68 65 20 72 65 66 65 | nil..."(Internal).Holds.the.refe |
| 1f60 | 72 65 6e 63 65 20 74 6f 20 72 65 73 75 6c 74 20 77 69 6e 64 6f 77 2e 22 29 0a 0a 28 64 65 66 63 | rence.to.result.window.")..(defc |
| 1f80 | 6f 6e 73 74 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 2d 73 75 66 66 69 78 65 73 0a 20 20 27 | onst.leetcode--lang-suffixes...' |
| 1fa0 | 28 28 22 63 22 20 2e 20 22 2e 63 22 29 20 28 22 63 70 70 22 20 2e 20 22 2e 63 70 70 22 29 20 28 | (("c"...".c").("cpp"...".cpp").( |
| 1fc0 | 22 63 73 68 61 72 70 22 20 2e 20 22 2e 63 73 22 29 0a 20 20 20 20 28 22 64 61 72 74 22 20 2e 20 | "csharp"...".cs").....("dart"... |
| 1fe0 | 22 2e 64 61 72 74 22 29 20 28 22 65 6c 69 78 69 72 22 20 2e 20 22 2e 65 78 22 29 20 28 22 65 72 | ".dart").("elixir"...".ex").("er |
| 2000 | 6c 61 6e 67 22 20 2e 20 22 2e 65 72 6c 22 29 0a 20 20 20 20 28 22 67 6f 6c 61 6e 67 22 20 2e 20 | lang"...".erl").....("golang"... |
| 2020 | 22 2e 67 6f 22 29 20 28 22 6a 61 76 61 22 20 2e 20 22 2e 6a 61 76 61 22 29 20 28 22 6a 61 76 61 | ".go").("java"...".java").("java |
| 2040 | 73 63 72 69 70 74 22 20 2e 20 22 2e 6a 73 22 29 0a 20 20 20 20 28 22 6b 6f 74 6c 69 6e 22 20 2e | script"...".js").....("kotlin".. |
| 2060 | 20 22 2e 6b 74 22 29 20 28 22 70 68 70 22 20 2e 20 22 2e 70 68 70 22 29 20 28 22 70 79 74 68 6f | .".kt").("php"...".php").("pytho |
| 2080 | 6e 22 20 2e 20 22 2e 70 79 22 29 20 28 22 70 79 74 68 6f 6e 33 22 20 2e 20 22 2e 70 79 22 29 0a | n"...".py").("python3"...".py"). |
| 20a0 | 20 20 20 20 28 22 72 61 63 6b 65 74 22 20 2e 20 22 2e 72 6b 74 22 29 20 28 22 72 75 62 79 22 20 | ....("racket"...".rkt").("ruby". |
| 20c0 | 2e 20 22 2e 72 62 22 29 20 28 22 72 75 73 74 22 20 2e 20 22 2e 72 73 22 29 0a 20 20 20 20 28 22 | ..".rb").("rust"...".rs").....(" |
| 20e0 | 73 63 61 6c 61 22 20 2e 20 22 2e 73 63 61 6c 61 22 29 20 28 22 73 77 69 66 74 22 20 2e 20 22 2e | scala"...".scala").("swift"...". |
| 2100 | 73 77 69 66 74 22 29 20 28 22 74 79 70 65 73 63 72 69 70 74 22 20 2e 20 22 2e 74 73 22 29 0a 20 | swift").("typescript"...".ts").. |
| 2120 | 20 20 20 28 22 6d 79 73 71 6c 22 20 2e 20 22 2e 73 71 6c 22 29 20 28 22 6d 73 73 71 6c 22 20 2e | ...("mysql"...".sql").("mssql".. |
| 2140 | 20 22 2e 73 71 6c 22 29 20 28 22 6f 72 61 63 6c 65 73 71 6c 22 20 2e 20 22 2e 73 71 6c 22 29 29 | .".sql").("oraclesql"...".sql")) |
| 2160 | 0a 20 20 22 41 20 6d 61 70 20 6f 66 20 6c 61 6e 67 75 61 67 65 20 73 6c 75 67 20 6e 61 6d 65 20 | ..."A.map.of.language.slug.name. |
| 2180 | 74 6f 20 4c 65 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 | to.LeetCode.programming.language |
| 21a0 | 20 73 75 66 66 69 78 2e 0a 63 2c 20 63 70 70 2c 20 63 73 68 61 72 70 2c 20 67 6f 6c 61 6e 67 2c | .suffix..c,.cpp,.csharp,.golang, |
| 21c0 | 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 74 2c 20 6b | .java,.javascript,.typescript,.k |
| 21e0 | 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 20 72 75 62 | otlin,.php,.python,.python3,.rub |
| 2200 | 79 2c 20 72 75 73 74 2c 20 73 63 61 6c 61 2c 20 73 77 69 66 74 2c 20 6d 79 73 71 6c 2c 20 6d 73 | y,.rust,.scala,.swift,.mysql,.ms |
| 2220 | 73 71 6c 2c 20 6f 72 61 63 6c 65 73 71 6c 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6c 65 65 74 63 | sql,.oraclesql.")..(defvar.leetc |
| 2240 | 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 |
| 2260 | 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- |
| 2280 | 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. |
| 22a0 | 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- |
| 22c0 | 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 |
| 22e0 | 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\", |
| 2300 | 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 |
| 2320 | 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 |
| 2340 | 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 |
| 2360 | 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 |
| 2380 | 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 |
| 23a0 | 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 |
| 23c0 | 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 |
| 23e0 | 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 |
| 2400 | 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 |
| 2420 | 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 |
| 2440 | 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 |
| 2460 | 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 |
| 2480 | 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...'(( |
| 24a0 | 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 |
| 24c0 | 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'.". |
| 24e0 | 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 |
| 2500 | 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 |
| 2520 | 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 |
| 2540 | 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 |
| 2560 | 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 |
| 2580 | 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")) |
| 25a0 | 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.". |
| 25c0 | 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 |
| 25e0 | 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 |
| 2600 | 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 |
| 2620 | 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 |
| 2640 | 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 |
| 2660 | 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" |
| 2680 | 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 |
| 26a0 | 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 |
| 26c0 | 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.( |
| 26e0 | 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 |
| 2700 | 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 |
| 2720 | 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. |
| 2740 | 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 |
| 2760 | 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 |
| 2780 | 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 |
| 27a0 | 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") |
| 27c0 | 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.( |
| 27e0 | 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 |
| 2800 | 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 |
| 2820 | 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 |
| 2840 | 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 |
| 2860 | 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 |
| 2880 | 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. |
| 28a0 | 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 |
| 28c0 | 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"....................... |
| 28e0 | 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. |
| 2900 | 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 |
| 2920 | 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 |
| 2940 | 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- |
| 2960 | 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 |
| 2980 | 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 |
| 29a0 | 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 |
| 29c0 | 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- |
| 29e0 | 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 |
| 2a00 | 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 |
| 2a20 | 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 |
| 2a40 | 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 |
| 2a60 | 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. |
| 2a80 | 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........... |
| 2aa0 | 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 |
| 2ac0 | 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 |
| 2ae0 | 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 |
| 2b00 | 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/" |
| 2b20 | 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 |
| 2b40 | 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- |
| 2b60 | 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")) |
| 2b80 | 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 |
| 2ba0 | 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 |
| 2bc0 | 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 |
| 2be0 | 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 |
| 2c00 | 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 |
| 2c20 | 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.}.}.}") |
| 2c40 | 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-- |
| 2c60 | 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. |
| 2c80 | 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 |
| 2ca0 | 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-- |
| 2cc0 | 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. |
| 2ce0 | 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 |
| 2d00 | 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 |
| 2d20 | 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 |
| 2d40 | 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 |
| 2d60 | 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 |
| 2d80 | 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 |
| 2da0 | 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 |
| 2dc0 | 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 |
| 2de0 | 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. |
| 2e00 | 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.......... |
| 2e20 | 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 |
| 2e40 | 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 |
| 2e60 | 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. |
| 2e80 | 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 |
| 2ea0 | 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 |
| 2ec0 | 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 |
| 2ee0 | 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 |
| 2f00 | 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 |
| 2f20 | 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 |
| 2f40 | 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." |
| 2f60 | 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 |
| 2f80 | 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 |
| 2fa0 | 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 |
| 2fc0 | 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 |
| 2fe0 | 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 |
| 3000 | 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 |
| 3020 | 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.... |
| 3040 | 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 |
| 3060 | 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 |
| 3080 | 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 |
| 30a0 | 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 |
| 30c0 | 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..... |
| 30e0 | 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 |
| 3100 | 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... |
| 3120 | 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.{. |
| 3140 | 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 |
| 3160 | 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.....}... |
| 3180 | 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 |
| 31a0 | 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 |
| 31c0 | 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!).{.. |
| 31e0 | 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) |
| 3200 | 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 |
| 3220 | 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................ |
| 3240 | 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. |
| 3260 | 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 |
| 3280 | 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 |
| 32a0 | 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 |
| 32c0 | 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:. |
| 32e0 | 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: |
| 3300 | 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 |
| 3320 | 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 |
| 3340 | 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 |
| 3360 | 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 |
| 3380 | 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 |
| 33a0 | 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).{... |
| 33c0 | 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 |
| 33e0 | 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 |
| 3400 | 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 |
| 3420 | 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 |
| 3440 | 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...}.}")..( |
| 3460 | 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 |
| 3480 | 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( |
| 34a0 | 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 |
| 34c0 | 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 |
| 34e0 | 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 |
| 3500 | 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 |
| 3520 | 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:. |
| 3540 | 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: |
| 3560 | 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... |
| 3580 | 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 |
| 35a0 | 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 |
| 35c0 | 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.... |
| 35e0 | 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 |
| 3600 | 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...}.}")...; |
| 3620 | 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 3640 | 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 |
| 3660 | 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.;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 3680 | 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.. |
| 36a0 | 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 72 65 66 65 72 65 72 20 28 76 61 6c 75 65 29 | (defun.leetcode--referer.(value) |
| 36c0 | 0a 20 20 22 49 74 20 77 69 6c 6c 20 72 65 74 75 72 6e 20 61 6e 20 61 6c 69 73 74 20 61 73 20 74 | ..."It.will.return.an.alist.as.t |
| 36e0 | 68 65 20 48 54 54 50 20 52 65 66 65 72 65 72 20 48 65 61 64 65 72 2e 0a 56 41 4c 55 45 20 73 68 | he.HTTP.Referer.Header..VALUE.sh |
| 3700 | 6f 75 6c 64 20 62 65 20 74 68 65 20 72 65 66 65 72 65 72 2e 22 0a 20 20 28 63 6f 6e 73 20 22 52 | ould.be.the.referer."...(cons."R |
| 3720 | 65 66 65 72 65 72 22 20 76 61 6c 75 65 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 | eferer".value))..(defun.leetcode |
| 3740 | 2d 2d 63 6f 6f 6b 69 65 2d 67 65 74 2d 61 6c 6c 20 28 29 0a 20 20 22 47 65 74 20 6c 65 65 74 63 | --cookie-get-all.()..."Get.leetc |
| 3760 | 6f 64 65 20 73 65 73 73 69 6f 6e 20 77 69 74 68 20 60 6d 79 5f 63 6f 6f 6b 69 65 73 27 2e 20 59 | ode.session.with.`my_cookies'..Y |
| 3780 | 6f 75 20 63 61 6e 20 69 6e 73 74 61 6c 6c 20 69 74 20 77 69 74 68 20 70 69 70 2e 22 0a 20 20 28 | ou.can.install.it.with.pip."...( |
| 37a0 | 6c 65 74 2a 20 28 28 6d 79 2d 63 6f 6f 6b 69 65 73 20 28 65 78 65 63 75 74 61 62 6c 65 2d 66 69 | let*.((my-cookies.(executable-fi |
| 37c0 | 6e 64 20 22 6d 79 5f 63 6f 6f 6b 69 65 73 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 6d 79 2d 63 | nd."my_cookies"))..........(my-c |
| 37e0 | 6f 6f 6b 69 65 73 2d 6f 75 74 70 75 74 20 28 73 68 65 6c 6c 2d 63 6f 6d 6d 61 6e 64 2d 74 6f 2d | ookies-output.(shell-command-to- |
| 3800 | 73 74 72 69 6e 67 20 22 6d 79 5f 63 6f 6f 6b 69 65 73 22 29 29 0a 20 20 20 20 20 20 20 20 20 28 | string."my_cookies"))..........( |
| 3820 | 63 6f 6f 6b 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 | cookies-list.(seq-filter.(lambda |
| 3840 | 20 28 73 29 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 | .(s).(not.(string-empty-p.s))).. |
| 3860 | 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 | ................................ |
| 3880 | 20 20 28 73 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 | ..(s-split."\n".my-cookies-outpu |
| 38a0 | 74 20 27 4f 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 | t.'OMIT-NULLS)))..........(cooki |
| 38c0 | 65 73 2d 70 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 | es-pairs.(seq-map.(lambda.(s).(s |
| 38e0 | 2d 73 70 6c 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 | -split-up-to.".".s.1.'OMIT-NULLS |
| 3900 | 29 29 20 63 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 | )).cookies-list))).....cookies-p |
| 3920 | 61 69 72 73 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 | airs))..(defun.leetcode--cookie- |
| 3940 | 67 65 74 20 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 | get.(cookie-key)..."Get.LeetCode |
| 3960 | 20 63 6f 6f 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 | .cookie.value.by.COOKIE-KEY."... |
| 3980 | 28 69 66 2d 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 | (if-let.((cookie.(seq-find...... |
| 39a0 | 20 20 20 20 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 | ...............(lambda.(item)... |
| 39c0 | 20 20 20 20 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 | ....................(string=.(ar |
| 39e0 | 65 66 20 69 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 | ef.item.1).cookie-key))......... |
| 3a00 | 20 20 20 20 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 | ............(url-cookie-retrieve |
| 3a20 | 20 6c 65 65 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 | .leetcode--domain."/".t))))..... |
| 3a40 | 20 20 28 61 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 | ..(aref.cookie.2)))..(defun.leet |
| 3a60 | 63 6f 64 65 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 | code--maybe-csrf-token.()..."Ret |
| 3a80 | 75 72 6e 20 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 | urn.LeetCode.CSRF.token.if.it.ex |
| 3aa0 | 69 73 74 73 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 | ists,.otherwise.return.nil."...( |
| 3ac0 | 6c 65 65 74 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 | leetcode--cookie-get.leetcode--c |
| 3ae0 | 6f 6f 6b 69 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 | ookie-csrftoken))..(defun.leetco |
| 3b00 | 64 65 2d 2d 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 | de--maybe-session.()..."Return.L |
| 3b20 | 65 65 74 43 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 | eetCode.session.if.it.exists,.ot |
| 3b40 | 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 63 6f 64 65 | herwise.return.nil."...(leetcode |
| 3b60 | 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 65 2d 73 65 | --cookie-get.leetcode--cookie-se |
| 3b80 | 73 73 69 6f 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 | ssion))..(aio-defun.leetcode--cs |
| 3ba0 | 72 66 2d 74 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 | rf-token.()..."Return.csrf.token |
| 3bc0 | 2e 22 0a 20 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 | ."...(unless.(leetcode--maybe-cs |
| 3be0 | 72 66 2d 74 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 | rf-token).....(aio-await.(leetco |
| 3c00 | 64 65 2d 2d 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 | de--login)).....(aio-await.(leet |
| 3c20 | 63 6f 64 65 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 | code--login)))...(leetcode--mayb |
| 3c40 | 65 2d 63 73 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 | e-csrf-token))..(defun.leetcode- |
| 3c60 | 2d 6c 6f 67 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 | -login-p.()..."Whether.user.is.l |
| 3c80 | 6f 67 69 6e 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 | ogin."...(let.((username.(leetco |
| 3ca0 | 64 65 2d 75 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 | de-user-username.leetcode--user) |
| 3cc0 | 29 29 0a 20 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 | )).....(and.username..........(n |
| 3ce0 | 6f 74 20 28 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 | ot.(string-empty-p.username))... |
| 3d00 | 20 20 20 20 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 | .......(leetcode--maybe-session) |
| 3d20 | 29 29 29 0a 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 | )))..(defun.leetcode--slugify-ti |
| 3d40 | 74 6c 65 20 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 | tle.(title)..."Make.TITLE.a.slug |
| 3d60 | 20 74 69 74 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 | .title..Such.as.'Two.Sum'.will.b |
| 3d80 | 65 20 63 6f 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 | e.converted.to.'two-sum'..'Pow(x |
| 3da0 | 2c 20 6e 29 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 | ,.n)'.will.be.'powx-n'"...(let*. |
| 3dc0 | 28 28 73 74 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 | ((str1.(replace-regexp-in-string |
| 3de0 | 20 22 5b 5c 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 | ."[\s-]+"."-".(downcase.title))) |
| 3e00 | 0a 20 20 20 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 | ..........(res.(replace-regexp-i |
| 3e20 | 6e 2d 73 74 72 69 6e 67 20 22 5b 28 29 2c 5d 22 20 22 22 20 73 74 72 31 29 29 29 0a 20 20 20 20 | n-string."[(),]"."".str1)))..... |
| 3e40 | 72 65 73 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 | res))..(defun.leetcode--replace- |
| 3e60 | 69 6e 2d 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 | in-buffer.(regex.to)..."Replace. |
| 3e80 | 73 74 72 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 | string.matched.REGEX.in.`current |
| 3ea0 | 2d 62 75 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 | -buffer'.to.TO."...(with-current |
| 3ec0 | 2d 62 75 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 | -buffer.(current-buffer).....(sa |
| 3ee0 | 76 65 2d 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 | ve-excursion.......(goto-char.(p |
| 3f00 | 6f 69 6e 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 | oint-min)).......(save-match-dat |
| 3f20 | 61 0a 20 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 | a.........(while.(re-search-forw |
| 3f40 | 61 72 64 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 | ard.regex.(point-max).t)........ |
| 3f60 | 20 20 20 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 | ...(replace-match.to))))))..(def |
| 3f80 | 75 6e 20 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 | un.leetcode--problem-link.(title |
| 3fa0 | 29 0a 20 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 | )..."Generate.problem.link.from. |
| 3fc0 | 54 49 54 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 | TITLE."...(concat.leetcode--url- |
| 3fe0 | 62 61 73 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 | base."/problems/".(leetcode--slu |
| 4000 | 67 69 66 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 | gify-title.title)))..(defun.leet |
| 4020 | 63 6f 64 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 | code--stringify-difficulty.(diff |
| 4040 | 69 63 75 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 | iculty)..."Add.font-lock.to.DIFF |
| 4060 | 49 43 55 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 | ICULTY."...(pcase.difficulty.... |
| 4080 | 20 28 22 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 | .("Easy".(leetcode--add-font-loc |
| 40a0 | 6b 20 22 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 | k."Easy".'leetcode-easy-face)).. |
| 40c0 | 20 20 20 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 | ...("Medium".(leetcode--add-font |
| 40e0 | 2d 6c 6f 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 | -lock."Medium".'leetcode-medium- |
| 4100 | 66 61 63 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 | face)).....("Hard".(leetcode--ad |
| 4120 | 64 2d 66 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 | d-font-lock."Hard".'leetcode-har |
| 4140 | 64 2d 66 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 | d-face))))..(defun.leetcode--add |
| 4160 | 2d 66 6f 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 | -font-lock.(str.face)..."Add.fon |
| 4180 | 74 2d 6c 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 | t-lock.FACE.to.STR."...(prog1.st |
| 41a0 | 72 0a 20 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 | r.....(put-text-property.0.(leng |
| 41c0 | 74 68 20 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 | th.str).'font-lock-face.face.str |
| 41e0 | 29 29 29 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 | )))..(defun.leetcode--detail-buf |
| 4200 | 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 44 65 74 61 69 6c 20 | fer-name.(problem-id)..."Detail. |
| 4220 | 62 75 66 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 | buffer.name.with.PROBLEM-ID."... |
| 4240 | 28 66 6f 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 | (format."*leetcode-detail-%s*".p |
| 4260 | 72 6f 62 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 | roblem-id))..(defun.leetcode--te |
| 4280 | 73 74 63 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 | stcase-buffer-name.(problem-id). |
| 42a0 | 20 20 22 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 | .."Testcase.buffer.name.with.PRO |
| 42c0 | 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 74 63 6f 64 65 2d 74 | BLEM-ID."...(format."*leetcode-t |
| 42e0 | 65 73 74 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 | estcase-%s*".problem-id))..(defu |
| 4300 | 6e 20 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 28 | n.leetcode--result-buffer-name.( |
| 4320 | 70 72 6f 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 | problem-id)..."Result.buffer.nam |
| 4340 | 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 72 6d 61 74 20 22 2a | e.with.PROBLEM-ID."...(format."* |
| 4360 | 6c 65 65 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 | leetcode-result-%s*".problem-id) |
| 4380 | 29 0a 0a 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 | )..(defun.leetcode--maybe-focus. |
| 43a0 | 28 29 0a 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 | ()..."Delete.other.windows,.keep |
| 43c0 | 20 6f 6e 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 | .only.*leetcode*.buffer."...(if. |
| 43e0 | 6c 65 65 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 | leetcode-focus.(delete-other-win |
| 4400 | 64 6f 77 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 | dows)))..(defun.leetcode--parse- |
| 4420 | 62 75 66 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 | buffer.(buffer)..."Parse.BUFFER. |
| 4440 | 63 6f 6e 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 | content.from.json.to.alist."...( |
| 4460 | 77 69 74 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 | with-current-buffer.buffer.....( |
| 4480 | 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 65 61 64 65 72 | goto-char.url-http-end-of-header |
| 44a0 | 73 29 0a 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 | s).....(json-read)))..(aio-defun |
| 44c0 | 20 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 20 | .leetcode--common-extra-headers. |
| 44e0 | 28 29 0a 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 | ()..."Common.extra.headers.for.` |
| 4500 | 75 72 6c 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 | url-request-extra-headers'."...` |
| 4520 | 28 2c 6c 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 | (,leetcode--User-Agent.,leetcode |
| 4540 | 2d 2d 43 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 | --Content-Type.....,(cons.leetco |
| 4560 | 64 65 2d 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 | de--X-CSRFToken.(aio-await.(leet |
| 4580 | 63 6f 64 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 | code--csrf-token)))))..(defun.le |
| 45a0 | 65 74 63 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 | etcode--buffer-content.(buf)..." |
| 45c0 | 47 65 74 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 | Get.content.without.text.propert |
| 45e0 | 69 65 73 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 | ies.of.BUF."...(with-current-buf |
| 4600 | 66 65 72 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 | fer.buf.....(buffer-substring-no |
| 4620 | 2d 70 72 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 | -properties......(point-min).(po |
| 4640 | 69 6e 74 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 | int-max))))..(defun.leetcode--te |
| 4660 | 73 74 63 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 | stcase-buffer-data.(problem-id). |
| 4680 | 20 20 22 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 | .."Get.testcases.buffer.content. |
| 46a0 | 6f 66 20 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 | of.PROBLEM-ID."...(leetcode--buf |
| 46c0 | 66 65 72 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 | fer-content.(get-buffer.(leetcod |
| 46e0 | 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 6c 65 6d 2d | e--testcase-buffer-name.problem- |
| 4700 | 69 64 29 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 | id))))..(defun.leetcode--code-bu |
| 4720 | 66 66 65 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 | ffer-data.()..."Get.code.buffer. |
| 4740 | 63 6f 6e 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 | content,.that.is,.the.`current-b |
| 4760 | 75 66 66 65 72 27 2e 22 0a 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 62 75 66 66 65 72 2d 63 6f 6e | uffer'."...(leetcode--buffer-con |
| 4780 | 74 65 6e 74 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 29 0a 0a 28 64 65 66 75 6e 20 | tent.(current-buffer)))..(defun. |
| 47a0 | 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 6f 64 65 2d 62 | leetcode--get-slug-title.(code-b |
| 47c0 | 75 66 29 0a 20 20 22 47 65 74 20 73 6c 75 67 20 74 69 74 6c 65 20 62 65 66 6f 72 65 20 74 72 79 | uf)..."Get.slug.title.before.try |
| 47e0 | 20 6f 72 20 73 75 62 6d 69 74 20 77 69 74 68 20 43 4f 44 45 2d 42 55 46 2e 0a 4c 65 65 74 43 6f | .or.submit.with.CODE-BUF..LeetCo |
| 4800 | 64 65 20 72 65 71 75 69 72 65 20 73 6c 75 67 2d 74 69 74 6c 65 20 61 73 20 74 68 65 20 72 65 71 | de.require.slug-title.as.the.req |
| 4820 | 75 65 73 74 20 70 61 72 61 6d 65 74 65 72 73 2e 22 0a 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e | uest.parameters."...(with-curren |
| 4840 | 74 2d 62 75 66 66 65 72 20 63 6f 64 65 2d 62 75 66 0a 20 20 20 20 28 69 66 20 6c 65 65 74 63 6f | t-buffer.code-buf.....(if.leetco |
| 4860 | 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 28 66 69 6c 65 2d | de-save-solutions.........(file- |
| 4880 | 6e 61 6d 65 2d 62 61 73 65 20 28 63 61 64 72 20 28 73 2d 73 70 6c 69 74 20 22 5f 22 20 28 62 75 | name-base.(cadr.(s-split."_".(bu |
| 48a0 | 66 66 65 72 2d 6e 61 6d 65 29 29 29 29 0a 20 20 20 20 20 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 62 | ffer-name)))).......(file-name-b |
| 48c0 | 61 73 65 20 28 62 75 66 66 65 72 2d 6e 61 6d 65 29 29 29 29 29 0a 0a 3b 3b 3b 3b 3b 3b 3b 3b 3b | ase.(buffer-name)))))..;;;;;;;;; |
| 48e0 | 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 4900 | 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 20 4c 65 65 74 43 6f 64 65 20 41 50 49 | ;;;;;;;;;;;;;;;;;;;.LeetCode.API |
| 4920 | 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 3b | .;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 4940 | 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 28 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;..( |
| 4960 | 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 67 72 61 70 68 71 6c 2d 70 61 79 6c 6f 61 64 20 | defun.leetcode--graphql-payload. |
| 4980 | 28 6f 70 65 72 61 74 69 6f 6e 20 71 75 65 72 79 20 26 6f 70 74 69 6f 6e 61 6c 20 76 61 72 73 29 | (operation.query.&optional.vars) |
| 49a0 | 0a 20 20 22 43 6f 6e 73 74 72 75 63 74 20 47 72 61 70 68 51 4c 20 72 65 71 75 65 73 74 20 70 61 | ..."Construct.GraphQL.request.pa |
| 49c0 | 79 6c 6f 61 64 20 77 69 74 68 20 4f 50 45 52 41 54 49 4f 4e 2c 20 51 55 45 52 59 20 6f 72 20 6d | yload.with.OPERATION,.QUERY.or.m |
| 49e0 | 61 79 62 65 20 56 41 52 53 2e 22 0a 20 20 28 6a 73 6f 6e 2d 65 6e 63 6f 64 65 0a 20 20 20 28 6c | aybe.VARS."...(json-encode....(l |
| 4a00 | 65 74 20 28 28 72 65 74 20 60 28 28 22 6f 70 65 72 61 74 69 6f 6e 4e 61 6d 65 22 20 2e 20 2c 6f | et.((ret.`(("operationName"...,o |
| 4a20 | 70 65 72 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 22 71 75 65 72 | peration).................("quer |
| 4a40 | 79 22 20 2e 20 2c 71 75 65 72 79 29 29 29 29 0a 20 20 20 20 20 28 69 66 20 76 61 72 73 20 60 28 | y"...,query))))......(if.vars.`( |
| 4a60 | 2c 40 72 65 74 20 28 22 76 61 72 69 61 62 6c 65 73 22 20 2e 20 2c 76 61 72 73 29 29 20 72 65 74 | ,@ret.("variables"...,vars)).ret |
| 4a80 | 29 29 29 29 0a 0a 0a 28 64 65 66 6d 61 63 72 6f 20 6c 65 65 74 63 6f 64 65 2d 2d 64 65 66 69 6e | ))))...(defmacro.leetcode--defin |
| 4aa0 | 65 2d 67 72 61 70 68 71 6c 20 28 71 75 65 72 79 2d 6e 61 6d 65 20 61 72 67 73 20 26 72 65 73 74 | e-graphql.(query-name.args.&rest |
| 4ac0 | 20 62 6f 64 79 29 0a 20 20 22 44 65 66 69 6e 65 20 4c 65 65 74 43 6f 64 65 20 47 72 61 70 68 51 | .body)..."Define.LeetCode.GraphQ |
| 4ae0 | 4c 20 71 75 65 72 69 65 73 2e 0a 44 65 66 69 6e 65 20 61 20 66 75 6e 63 74 69 6f 6e 20 77 69 74 | L.queries..Define.a.function.wit |
| 4b00 | 68 20 6e 61 6d 65 20 6f 66 20 27 6c 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 2d 3c 51 55 45 52 | h.name.of.'leetcode--fetch-<QUER |
| 4b20 | 59 2d 4e 41 4d 45 3e 27 2c 0a 61 6e 64 20 74 68 65 20 41 52 47 53 20 77 69 6c 6c 20 62 65 20 74 | Y-NAME>',.and.the.ARGS.will.be.t |
| 4b40 | 68 65 20 61 72 67 75 6d 65 6e 74 73 20 6f 66 20 74 68 65 20 64 65 66 69 6e 65 64 20 66 75 6e 63 | he.arguments.of.the.defined.func |
| 4b60 | 74 69 6f 6e 2e 20 42 4f 44 59 0a 77 69 6c 6c 20 62 65 20 65 78 65 63 75 74 65 64 20 77 68 65 6e | tion..BODY.will.be.executed.when |
| 4b80 | 20 71 75 65 72 79 20 73 75 63 63 65 73 73 66 75 6c 6c 79 2e 0a 0a 47 72 61 70 68 51 4c 20 72 65 | .query.successfully...GraphQL.re |
| 4ba0 | 71 75 65 73 74 20 69 73 20 64 65 66 69 6e 65 64 20 77 69 74 68 20 27 6c 65 65 74 63 6f 64 65 2d | quest.is.defined.with.'leetcode- |
| 4bc0 | 2d 67 72 61 70 68 71 6c 2d 3c 51 55 45 52 59 2d 4e 41 4d 45 3e 27 2e 0a 49 6e 20 74 68 65 20 47 | -graphql-<QUERY-NAME>'..In.the.G |
| 4be0 | 72 61 71 68 51 4c 20 72 65 71 75 65 73 74 20 62 6f 64 79 2c 20 6f 70 65 72 61 74 69 6f 6e 20 6e | raqhQL.request.body,.operation.n |
| 4c00 | 61 6d 65 20 69 73 20 6c 6f 77 65 72 20 63 61 6d 65 6c 20 63 61 73 65 0a 6f 66 20 51 55 45 52 59 | ame.is.lower.camel.case.of.QUERY |
| 4c20 | 2d 4e 41 4d 45 2e 22 0a 20 20 28 64 65 63 6c 61 72 65 20 28 69 6e 64 65 6e 74 20 64 65 66 75 6e | -NAME."...(declare.(indent.defun |
| 4c40 | 29 20 28 64 6f 63 2d 73 74 72 69 6e 67 20 33 29 29 0a 20 20 28 6c 65 74 20 28 28 76 61 72 69 61 | ).(doc-string.3))...(let.((varia |
| 4c60 | 62 6c 65 73 20 28 6d 61 70 63 61 72 20 28 6c 61 6d 62 64 61 20 28 61 72 67 29 20 60 28 63 6f 6e | bles.(mapcar.(lambda.(arg).`(con |
| 4c80 | 73 20 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 6f 6c 2d 6e 61 | s.(s-lower-camel-case.(symbol-na |
| 4ca0 | 6d 65 20 27 2c 61 72 67 29 29 20 2c 61 72 67 29 29 20 61 72 67 73 29 29 29 0a 20 20 20 20 60 28 | me.',arg)).,arg)).args))).....`( |
| 4cc0 | 61 69 6f 2d 64 65 66 75 6e 20 2c 28 69 6e 74 65 72 6e 20 28 63 6f 6e 63 61 74 20 22 6c 65 65 74 | aio-defun.,(intern.(concat."leet |
| 4ce0 | 63 6f 64 65 2d 2d 66 65 74 63 68 2d 22 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 71 75 65 72 79 | code--fetch-".(symbol-name.query |
| 4d00 | 2d 6e 61 6d 65 29 29 29 20 2c 61 72 67 73 0a 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 67 72 | -name))).,args........(let*.((gr |
| 4d20 | 61 70 68 71 6c 2d 6f 70 65 72 61 74 69 6f 6e 2d 6e 61 6d 65 20 2c 28 73 2d 6c 6f 77 65 72 2d 63 | aphql-operation-name.,(s-lower-c |
| 4d40 | 61 6d 65 6c 2d 63 61 73 65 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 71 75 65 72 79 2d 6e 61 6d | amel-case.(symbol-name.query-nam |
| 4d60 | 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 67 72 61 70 68 71 6c 2d 62 6f 64 79 | e)))...............(graphql-body |
| 4d80 | 20 2c 28 69 6e 74 65 72 6e 20 28 63 6f 6e 63 61 74 20 22 6c 65 65 74 63 6f 64 65 2d 2d 67 72 61 | .,(intern.(concat."leetcode--gra |
| 4da0 | 70 68 71 6c 2d 22 20 28 73 79 6d 62 6f 6c 2d 6e 61 6d 65 20 71 75 65 72 79 2d 6e 61 6d 65 29 29 | phql-".(symbol-name.query-name)) |
| 4dc0 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 61 79 6c 6f 61 64 20 28 6c 65 65 74 63 | ))...............(payload.(leetc |
| 4de0 | 6f 64 65 2d 2d 67 72 61 70 68 71 6c 2d 70 61 79 6c 6f 61 64 20 67 72 61 70 68 71 6c 2d 6f 70 65 | ode--graphql-payload.graphql-ope |
| 4e00 | 72 61 74 69 6f 6e 2d 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ration-name..................... |
| 4e20 | 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 67 72 | ..............................gr |
| 4e40 | 61 70 68 71 6c 2d 62 6f 64 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aphql-body...................... |
| 4e60 | 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 6c 69 | .............................(li |
| 4e80 | 73 74 20 2c 40 76 61 72 69 61 62 6c 65 73 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | st.,@variables)))............... |
| 4ea0 | 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 20 20 | (url-request-method."POST")..... |
| 4ec0 | 20 20 20 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 | ..........(url-request-extra-hea |
| 4ee0 | 64 65 72 73 20 60 28 2c 6c 65 65 74 63 6f 64 65 2d 2d 55 73 65 72 2d 41 67 65 6e 74 20 2c 6c 65 | ders.`(,leetcode--User-Agent.,le |
| 4f00 | 65 74 63 6f 64 65 2d 2d 43 6f 6e 74 65 6e 74 2d 54 79 70 65 29 29 0a 20 20 20 20 20 20 20 20 20 | etcode--Content-Type)).......... |
| 4f20 | 20 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 | .....(url-request-data.payload). |
| 4f40 | 20 20 20 20 20 20 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 | ..............(response.(aio-awa |
| 4f60 | 69 74 20 28 61 69 6f 2d 75 72 6c 2d 72 65 74 72 69 65 76 65 20 6c 65 65 74 63 6f 64 65 2d 2d 75 | it.(aio-url-retrieve.leetcode--u |
| 4f80 | 72 6c 2d 67 72 61 70 68 71 6c 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 72 65 73 | rl-graphql)))...............(res |
| 4fa0 | 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 29 0a 20 20 20 | ponse-status.(car.response)).... |
| 4fc0 | 20 20 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 |
| 4fe0 | 20 72 65 73 70 6f 6e 73 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 66 2d 6c 65 74 20 28 28 | .response)))..........(if-let.(( |
| 5000 | 65 72 72 6f 72 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 | error.(plist-get.response-status |
| 5020 | 20 3a 65 72 72 6f 72 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 77 69 74 68 2d 74 | .:error)))..............(swith-t |
| 5040 | 6f 2d 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 | o-buffer.response-buffer)....... |
| 5060 | 20 20 20 20 20 28 6c 65 74 2d 61 6c 69 73 74 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 | .....(let-alist.(with-current-bu |
| 5080 | 66 66 65 72 20 72 65 73 70 6f 6e 73 65 2d 62 75 66 66 65 72 20 28 67 6f 74 6f 2d 63 68 61 72 20 | ffer.response-buffer.(goto-char. |
| 50a0 | 75 72 6c 2d 68 74 74 70 2d 65 6e 64 2d 6f 66 2d 68 65 61 64 65 72 73 29 20 28 6a 73 6f 6e 2d 72 | url-http-end-of-headers).(json-r |
| 50c0 | 65 61 64 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2c 40 62 6f 64 79 29 29 29 29 29 29 0a | ead))..............,@body)))))). |
| 50e0 | 0a 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 67 6c 6f 62 61 | .(leetcode--define-graphql.globa |
| 5100 | 6c 2d 64 61 74 61 20 28 29 0a 20 20 28 73 65 74 66 20 28 6c 65 65 74 63 6f 64 65 2d 75 73 65 72 | l-data.()...(setf.(leetcode-user |
| 5120 | 2d 69 64 20 6c 65 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 | -id.leetcode--user)..data.userSt |
| 5140 | 61 74 75 73 2e 75 73 65 72 49 64 29 0a 20 20 28 73 65 74 66 20 28 6c 65 65 74 63 6f 64 65 2d 75 | atus.userId)...(setf.(leetcode-u |
| 5160 | 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 20 2e 64 61 | ser-username.leetcode--user)..da |
| 5180 | 74 61 2e 75 73 65 72 53 74 61 74 75 73 2e 75 73 65 72 6e 61 6d 65 29 0a 20 20 28 73 65 74 66 20 | ta.userStatus.username)...(setf. |
| 51a0 | 28 6c 65 65 74 63 6f 64 65 2d 75 73 65 72 2d 69 73 2d 70 72 65 6d 69 75 6d 20 6c 65 65 74 63 6f | (leetcode-user-is-premium.leetco |
| 51c0 | 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 69 73 50 72 65 | de--user)..data.userStatus.isPre |
| 51e0 | 6d 69 75 6d 29 29 0a 0a 28 6c 65 65 74 63 6f 64 65 2d 2d 64 65 66 69 6e 65 2d 67 72 61 70 68 71 | mium))..(leetcode--define-graphq |
| 5200 | 6c 20 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 28 63 61 74 65 | l.problemset-question-list.(cate |
| 5220 | 67 6f 72 79 2d 73 6c 75 67 20 73 6b 69 70 20 6c 69 6d 69 74 20 66 69 6c 74 65 72 73 29 0a 20 20 | gory-slug.skip.limit.filters)... |
| 5240 | 3b 3b 20 70 72 6f 62 6c 65 6d 20 6c 69 73 74 0a 20 20 28 73 65 74 66 20 28 6c 65 65 74 63 6f 64 | ;;.problem.list...(setf.(leetcod |
| 5260 | 65 2d 70 72 6f 62 6c 65 6d 73 2d 6e 75 6d 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d | e-problems-num.leetcode--problem |
| 5280 | 73 29 20 2e 64 61 74 61 2e 70 72 6f 62 6c 65 6d 73 65 74 51 75 65 73 74 69 6f 6e 4c 69 73 74 2e | s)..data.problemsetQuestionList. |
| 52a0 | 74 6f 74 61 6c 0a 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 | total.........(leetcode-problems |
| 52c0 | 2d 74 61 67 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 29 20 22 61 6c 6c 22 29 0a | -tag.leetcode--problems)."all"). |
| 52e0 | 20 20 28 6c 65 74 20 28 70 72 6f 62 6c 65 6d 73 29 0a 20 20 20 20 28 64 6f 74 69 6d 65 73 20 28 | ..(let.(problems).....(dotimes.( |
| 5300 | 69 20 2e 64 61 74 61 2e 70 72 6f 62 6c 65 6d 73 65 74 51 75 65 73 74 69 6f 6e 4c 69 73 74 2e 74 | i..data.problemsetQuestionList.t |
| 5320 | 6f 74 61 6c 29 0a 20 20 20 20 20 20 28 6c 65 74 2d 61 6c 69 73 74 20 28 61 72 65 66 20 2e 64 61 | otal).......(let-alist.(aref..da |
| 5340 | 74 61 2e 70 72 6f 62 6c 65 6d 73 65 74 51 75 65 73 74 69 6f 6e 4c 69 73 74 2e 71 75 65 73 74 69 | ta.problemsetQuestionList.questi |
| 5360 | 6f 6e 73 20 69 29 0a 20 20 20 20 20 20 20 20 28 70 75 73 68 20 28 6d 61 6b 65 2d 6c 65 65 74 63 | ons.i).........(push.(make-leetc |
| 5380 | 6f 64 65 2d 70 72 6f 62 6c 65 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 73 74 61 74 | ode-problem................:stat |
| 53a0 | 75 73 20 20 20 20 20 2e 73 74 61 74 75 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 69 | us......status................:i |
| 53c0 | 64 20 20 20 20 20 20 20 20 20 2e 66 72 6f 6e 74 65 6e 64 51 75 65 73 74 69 6f 6e 49 64 0a 20 20 | d..........frontendQuestionId... |
| 53e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 74 69 74 6c 65 20 20 20 20 20 20 2e 74 69 74 6c 65 0a | .............:title.......title. |
| 5400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 74 69 74 6c 65 2d 73 6c 75 67 20 2e 74 69 74 6c | ...............:title-slug..titl |
| 5420 | 65 53 6c 75 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 61 63 63 65 70 74 61 6e 63 65 | eSlug................:acceptance |
| 5440 | 20 28 66 6f 72 6d 61 74 20 22 25 2e 31 66 25 25 22 20 2e 61 63 52 61 74 65 29 0a 20 20 20 20 20 | .(format."%.1f%%"..acRate)...... |
| 5460 | 20 20 20 20 20 20 20 20 20 20 3a 64 69 66 66 69 63 75 6c 74 79 20 2e 64 69 66 66 69 63 75 6c 74 | ..........:difficulty..difficult |
| 5480 | 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 70 61 69 64 2d 6f 6e 6c 79 20 20 28 65 71 | y................:paid-only..(eq |
| 54a0 | 20 2e 70 61 69 64 4f 6e 6c 79 20 3a 6a 73 6f 6e 2d 74 72 75 65 29 0a 20 20 20 20 20 20 20 20 20 | ..paidOnly.:json-true).......... |
| 54c0 | 20 20 20 20 20 20 3a 74 61 67 73 20 20 20 20 20 20 20 28 73 65 71 2d 72 65 64 75 63 65 20 28 6c | ......:tags.......(seq-reduce.(l |
| 54e0 | 61 6d 62 64 61 20 28 74 61 67 73 20 74 61 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ambda.(tags.tag)................ |
| 5500 | 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 74 2d 61 | ..........................(let-a |
| 5520 | 6c 69 73 74 20 74 61 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | list.tag........................ |
| 5540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 75 73 68 20 2e 73 6c 75 67 20 | ....................(push..slug. |
| 5560 | 74 61 67 73 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 | tags)))......................... |
| 5580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 74 6f 70 69 63 54 61 67 73 20 27 28 29 29 29 0a | ................topicTags.'())). |
| 55a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 62 6c 65 6d 73 29 0a 20 20 20 20 20 20 20 20 | ..............problems)......... |
| 55c0 | 28 73 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 61 6c 6c 2d 74 61 67 73 20 28 61 70 70 65 6e 64 | (setq.leetcode--all-tags.(append |
| 55e0 | 20 6c 65 65 74 63 6f 64 65 2d 2d 61 6c 6c 2d 74 61 67 73 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 | .leetcode--all-tags.(leetcode-pr |
| 5600 | 6f 62 6c 65 6d 2d 74 61 67 73 20 28 63 61 72 20 70 72 6f 62 6c 65 6d 73 29 29 29 29 29 29 0a 20 | oblem-tags.(car.problems)))))).. |
| 5620 | 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 73 2d 70 72 6f 62 | ...(setf.(leetcode-problems-prob |
| 5640 | 6c 65 6d 73 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 29 20 28 6e 72 65 76 65 72 | lems.leetcode--problems).(nrever |
| 5660 | 73 65 20 70 72 6f 62 6c 65 6d 73 29 29 0a 20 20 20 20 3b 3b 20 70 72 6f 62 6c 65 6d 20 74 61 67 | se.problems)).....;;.problem.tag |
| 5680 | 73 0a 20 20 20 20 28 64 65 6c 65 74 65 2d 64 75 70 73 20 6c 65 65 74 63 6f 64 65 2d 2d 61 6c 6c | s.....(delete-dups.leetcode--all |
| 56a0 | 2d 74 61 67 73 29 29 29 0a 0a 28 6c 65 65 74 63 6f 64 65 2d 2d 64 65 66 69 6e 65 2d 67 72 61 70 | -tags)))..(leetcode--define-grap |
| 56c0 | 68 71 6c 20 71 75 65 73 74 69 6f 6e 2d 63 6f 6e 74 65 6e 74 20 28 74 69 74 6c 65 2d 73 6c 75 67 | hql.question-content.(title-slug |
| 56e0 | 29 0a 20 20 28 6c 65 74 20 28 28 70 72 6f 62 6c 65 6d 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 | )...(let.((problem.(leetcode--ge |
| 5700 | 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 66 20 | t-problem.title-slug))).....(if. |
| 5720 | 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 20 20 | problem.........(progn.......... |
| 5740 | 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 63 6f 6e 74 65 6e 74 | .(setf.(leetcode-problem-content |
| 5760 | 20 70 72 6f 62 6c 65 6d 29 20 2e 64 61 74 61 2e 71 75 65 73 74 69 6f 6e 2e 63 6f 6e 74 65 6e 74 | .problem)..data.question.content |
| 5780 | 29 0a 20 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 | )...........problem).......(user |
| 57a0 | 2d 65 72 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 | -error."LeetCode.problem.not.fou |
| 57c0 | 6e 64 3a 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 | nd:.%s".title-slug))))..(leetcod |
| 57e0 | 65 2d 2d 64 65 66 69 6e 65 2d 67 72 61 70 68 71 6c 20 71 75 65 73 74 69 6f 6e 2d 74 69 74 6c 65 | e--define-graphql.question-title |
| 5800 | 20 28 74 69 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 | .(title-slug)...(let.((problem.( |
| 5820 | 6c 65 65 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 | leetcode--get-problem.title-slug |
| 5840 | 29 29 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 | ))).....(if.problem.........(pro |
| 5860 | 67 6e 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 | gn...........(setf.(leetcode-pro |
| 5880 | 62 6c 65 6d 2d 6c 69 6b 65 73 20 70 72 6f 62 6c 65 6d 29 20 2e 64 61 74 61 2e 71 75 65 73 74 69 | blem-likes.problem)..data.questi |
| 58a0 | 6f 6e 2e 6c 69 6b 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 74 66 20 28 6c 65 65 74 63 | on.likes)...........(setf.(leetc |
| 58c0 | 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 64 69 73 6c 69 6b 65 73 20 70 72 6f 62 6c 65 6d 29 20 2e 64 | ode-problem-dislikes.problem)..d |
| 58e0 | 61 74 61 2e 71 75 65 73 74 69 6f 6e 2e 64 69 73 6c 69 6b 65 73 29 0a 20 20 20 20 20 20 20 20 20 | ata.question.dislikes).......... |
| 5900 | 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 65 65 | .problem).......(user-error."Lee |
| 5920 | 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 69 74 | tCode.problem.not.found:.%s".tit |
| 5940 | 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 2d 67 | le-slug))))..(leetcode--define-g |
| 5960 | 72 61 70 68 71 6c 20 63 6f 6e 73 6f 6c 65 2d 70 61 6e 65 6c 2d 63 6f 6e 66 69 67 20 28 74 69 74 | raphql.console-panel-config.(tit |
| 5980 | 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 73 74 | le-slug)...(let.((id..data.quest |
| 59a0 | 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 20 20 | ion.questionFrontendId)......... |
| 59c0 | 28 74 65 73 74 63 61 73 65 73 20 28 61 70 70 65 6e 64 20 2e 64 61 74 61 2e 71 75 65 73 74 69 6f | (testcases.(append..data.questio |
| 59e0 | 6e 2e 65 78 61 6d 70 6c 65 54 65 73 74 63 61 73 65 4c 69 73 74 20 6e 69 6c 29 29 0a 20 20 20 20 | n.exampleTestcaseList.nil))..... |
| 5a00 | 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 65 74 2d 70 72 6f 62 | ....(problem.(leetcode--get-prob |
| 5a20 | 6c 65 6d 20 74 69 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 | lem.title-slug))).....(if.proble |
| 5a40 | 6d 0a 20 20 20 20 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 | m.........(progn...........(setf |
| 5a60 | 20 28 6c 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 | .(leetcode-problem-testcases.pro |
| 5a80 | 62 6c 65 6d 29 20 74 65 73 74 63 61 73 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 70 72 6f 62 6c | blem).testcases)...........probl |
| 5aa0 | 65 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 | em).......(user-error."LeetCode. |
| 5ac0 | 70 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 | problem.not.found:.%s".title-slu |
| 5ae0 | 67 29 29 29 29 0a 0a 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 | g))))..(leetcode--define-graphql |
| 5b00 | 20 71 75 65 73 74 69 6f 6e 2d 65 64 69 74 6f 72 2d 64 61 74 61 20 28 74 69 74 6c 65 2d 73 6c 75 | .question-editor-data.(title-slu |
| 5b20 | 67 29 0a 20 20 28 6c 65 74 20 28 28 69 64 20 2e 64 61 74 61 2e 71 75 65 73 74 69 6f 6e 2e 71 75 | g)...(let.((id..data.question.qu |
| 5b40 | 65 73 74 69 6f 6e 46 72 6f 6e 74 65 6e 64 49 64 29 0a 20 20 20 20 20 20 20 20 28 70 72 6f 62 6c | estionFrontendId).........(probl |
| 5b60 | 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 74 6c 65 2d | em.(leetcode--get-problem.title- |
| 5b80 | 73 6c 75 67 29 29 0a 20 20 20 20 20 20 20 20 28 73 6e 69 70 70 65 74 73 20 28 73 65 71 2d 6d 61 | slug)).........(snippets.(seq-ma |
| 5ba0 | 70 20 28 6c 61 6d 62 64 61 20 28 73 6e 69 70 70 65 74 2d 61 6c 69 73 74 29 0a 20 20 20 20 20 20 | p.(lambda.(snippet-alist)....... |
| 5bc0 | 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 74 2d 61 6c 69 73 | .......................(let-alis |
| 5be0 | 74 20 73 6e 69 70 70 65 74 2d 61 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t.snippet-alist................. |
| 5c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 6b 65 2d 6c 65 65 74 63 6f 64 65 2d 73 6e | ...............(make-leetcode-sn |
| 5c20 | 69 70 70 65 74 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 | ippet........................... |
| 5c40 | 20 20 20 20 20 20 3a 6c 61 6e 67 20 20 20 20 20 20 2e 6c 61 6e 67 0a 20 20 20 20 20 20 20 20 20 | ......:lang.......lang.......... |
| 5c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 6c 61 6e 67 2d 73 6c 75 | .......................:lang-slu |
| 5c80 | 67 20 2e 6c 61 6e 67 53 6c 75 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | g..langSlug..................... |
| 5ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 3a 63 6f 64 65 20 20 20 20 20 20 2e 63 6f 64 65 29 29 29 0a | ............:code.......code))). |
| 5cc0 | 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 2e 64 61 74 61 | ............................data |
| 5ce0 | 2e 71 75 65 73 74 69 6f 6e 2e 63 6f 64 65 53 6e 69 70 70 65 74 73 29 29 29 0a 20 20 20 20 28 69 | .question.codeSnippets))).....(i |
| 5d00 | 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........ |
| 5d20 | 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 73 6e 69 70 70 | ...(setf.(leetcode-problem-snipp |
| 5d40 | 65 74 73 20 70 72 6f 62 6c 65 6d 29 20 73 6e 69 70 70 65 74 73 29 0a 20 20 20 20 20 20 20 20 20 | ets.problem).snippets).......... |
| 5d60 | 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 62 61 63 6b 65 6e 64 | .(setf.(leetcode-problem-backend |
| 5d80 | 2d 69 64 20 70 72 6f 62 6c 65 6d 29 20 2e 64 61 74 61 2e 71 75 65 73 74 69 6f 6e 2e 71 75 65 73 | -id.problem)..data.question.ques |
| 5da0 | 74 69 6f 6e 49 64 29 0a 20 20 20 20 20 20 20 20 20 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 | tionId)...........problem)...... |
| 5dc0 | 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 20 6e | .(user-error."LeetCode.problem.n |
| 5de0 | 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 28 64 | ot.found:.%s".title-slug))))..(d |
| 5e00 | 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 75 73 65 72 2d 73 74 | efalias.'leetcode--fetch-user-st |
| 5e20 | 61 74 75 73 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 2d | atus.(symbol-function.'leetcode- |
| 5e40 | 2d 66 65 74 63 68 2d 67 6c 6f 62 61 6c 2d 64 61 74 61 29 29 0a 28 64 65 66 61 6c 69 61 73 20 27 | -fetch-global-data)).(defalias.' |
| 5e60 | 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 6c 69 73 74 20 28 73 | leetcode--fetch-question-list.(s |
| 5e80 | 79 6d 62 6f 6c 2d 66 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 | ymbol-function.'leetcode--fetch- |
| 5ea0 | 70 72 6f 62 6c 65 6d 73 65 74 2d 71 75 65 73 74 69 6f 6e 2d 6c 69 73 74 29 29 0a 28 64 65 66 61 | problemset-question-list)).(defa |
| 5ec0 | 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 2d 74 | lias.'leetcode--fetch-question-t |
| 5ee0 | 65 73 74 63 61 73 65 73 20 28 73 79 6d 62 6f 6c 2d 66 75 6e 63 74 69 6f 6e 20 27 6c 65 65 74 63 | estcases.(symbol-function.'leetc |
| 5f00 | 6f 64 65 2d 2d 66 65 74 63 68 2d 63 6f 6e 73 6f 6c 65 2d 70 61 6e 65 6c 2d 63 6f 6e 66 69 67 29 | ode--fetch-console-panel-config) |
| 5f20 | 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 65 | ).(defalias.'leetcode--fetch-que |
| 5f40 | 73 74 69 6f 6e 2d 73 6e 69 70 70 65 74 73 20 28 73 79 6d 62 6f 6c 2d 66 75 6e 63 74 69 6f 6e 20 | stion-snippets.(symbol-function. |
| 5f60 | 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 2d 65 64 69 74 6f 72 | 'leetcode--fetch-question-editor |
| 5f80 | 2d 64 61 74 61 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 65 6e | -data))..(aio-defun.leetcode--en |
| 5fa0 | 73 75 72 65 2d 71 75 65 73 74 69 6f 6e 2d 74 69 74 6c 65 20 28 70 72 6f 62 6c 65 6d 29 0a 20 20 | sure-question-title.(problem)... |
| 5fc0 | 28 69 66 20 28 61 6e 64 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 64 69 73 6c 69 | (if.(and.(leetcode-problem-disli |
| 5fe0 | 6b 65 73 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 | kes.problem)............(leetcod |
| 6000 | 65 2d 70 72 6f 62 6c 65 6d 2d 6c 69 6b 65 73 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 | e-problem-likes.problem))....... |
| 6020 | 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 |
| 6040 | 2d 2d 66 65 74 63 68 2d 71 75 65 73 74 69 6f 6e 2d 74 69 74 6c 65 0a 20 20 20 20 20 20 20 20 20 | --fetch-question-title.......... |
| 6060 | 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 2d 73 | .......(leetcode-problem-title-s |
| 6080 | 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 65 65 | lug.problem)))))..(aio-defun.lee |
| 60a0 | 74 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 71 75 65 73 74 69 6f 6e 2d 63 6f 6e 74 65 6e 74 20 28 | tcode--ensure-question-content.( |
| 60c0 | 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 6d | problem)...(if.(leetcode-problem |
| 60e0 | 2d 63 6f 6e 74 65 6e 74 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 70 72 6f 62 6c 65 6d 0a | -content.problem).......problem. |
| 6100 | 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 63 68 2d | ....(aio-await.(leetcode--fetch- |
| 6120 | 71 75 65 73 74 69 6f 6e 2d 63 6f 6e 74 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | question-content................ |
| 6140 | 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 75 67 20 70 72 | .(leetcode-problem-title-slug.pr |
| 6160 | 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 63 6f 64 65 2d | oblem)))))..(aio-defun.leetcode- |
| 6180 | 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 28 70 72 6f 62 6c | -ensure-question-snippets.(probl |
| 61a0 | 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 6d 2d 73 6e 69 70 | em)...(if.(leetcode-problem-snip |
| 61c0 | 70 65 74 73 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 70 72 6f 62 6c 65 6d 0a 20 20 20 20 | pets.problem).......problem..... |
| 61e0 | 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 63 68 2d 71 75 65 73 | (aio-await.(leetcode--fetch-ques |
| 6200 | 74 69 6f 6e 2d 73 6e 69 70 70 65 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c | tion-snippets.................(l |
| 6220 | 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 6c | eetcode-problem-title-slug.probl |
| 6240 | 65 6d 29 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 2d 65 6e | em)))))..(aio-defun.leetcode--en |
| 6260 | 73 75 72 65 2d 71 75 65 73 74 69 6f 6e 2d 74 65 73 74 63 61 73 65 73 20 28 70 72 6f 62 6c 65 6d | sure-question-testcases.(problem |
| 6280 | 29 0a 20 20 28 69 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 61 | )...(if.(leetcode-problem-testca |
| 62a0 | 73 65 73 20 70 72 6f 62 6c 65 6d 29 0a 20 20 20 20 20 20 70 72 6f 62 6c 65 6d 0a 20 20 20 20 28 | ses.problem).......problem.....( |
| 62c0 | 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 66 65 74 63 68 2d 71 75 65 73 74 | aio-await.(leetcode--fetch-quest |
| 62e0 | 69 6f 6e 2d 74 65 73 74 63 61 73 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6c | ion-testcases.................(l |
| 6300 | 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 6c | eetcode-problem-title-slug.probl |
| 6320 | 65 6d 29 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 2d 61 70 | em)))))..(aio-defun.leetcode--ap |
| 6340 | 69 2d 69 6e 74 65 72 70 72 65 74 2d 73 6f 6c 75 74 69 6f 6e 20 20 28 70 72 6f 62 6c 65 6d 29 0a | i-interpret-solution..(problem). |
| 6360 | 20 20 22 46 65 74 63 68 20 50 52 4f 42 4c 45 4d 20 69 6e 74 65 72 70 72 65 74 5f 69 64 2e 22 0a | .."Fetch.PROBLEM.interpret_id.". |
| 6380 | 20 20 28 6c 65 74 2a 20 28 28 74 69 74 6c 65 2d 73 6c 75 67 20 28 6c 65 65 74 63 6f 64 65 2d 70 | ..(let*.((title-slug.(leetcode-p |
| 63a0 | 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 20 20 | roblem-title-slug.problem))..... |
| 63c0 | 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 62 6c | .....(problem-id.(leetcode-probl |
| 63e0 | 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 62 61 63 6b 65 6e | em-id.problem))..........(backen |
| 6400 | 64 2d 69 64 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 | d-id.(leetcode-problem-backend-i |
| 6420 | 64 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 70 61 79 6c 6f 61 64 20 28 6a | d.problem))..........(payload.(j |
| 6440 | 73 6f 6e 2d 65 6e 63 6f 64 65 20 60 28 28 64 61 74 61 5f 69 6e 70 75 74 20 2e 20 2c 28 6c 65 65 | son-encode.`((data_input...,(lee |
| 6460 | 74 63 6f 64 65 2d 2d 74 65 73 74 63 61 73 65 2d 62 75 66 66 65 72 2d 64 61 74 61 20 70 72 6f 62 | tcode--testcase-buffer-data.prob |
| 6480 | 6c 65 6d 2d 69 64 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 | lem-id))........................ |
| 64a0 | 20 20 20 20 20 20 20 20 20 20 28 6c 61 6e 67 20 2e 20 2c 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e | ..........(lang...,leetcode--lan |
| 64c0 | 67 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 | g).............................. |
| 64e0 | 20 20 20 20 28 71 75 65 73 74 69 6f 6e 5f 69 64 20 2e 20 2c 62 61 63 6b 65 6e 64 2d 69 64 29 0a | ....(question_id...,backend-id). |
| 6500 | 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 | ................................ |
| 6520 | 20 28 74 79 70 65 64 5f 63 6f 64 65 20 2e 20 2c 28 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 64 65 2d | .(typed_code...,(leetcode--code- |
| 6540 | 62 75 66 66 65 72 2d 64 61 74 61 29 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 75 72 6c 2d 72 | buffer-data)))))..........(url-r |
| 6560 | 65 71 75 65 73 74 2d 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 | equest-method."POST")..........( |
| 6580 | 75 72 6c 2d 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 40 28 61 | url-request-extra-headers.`(,@(a |
| 65a0 | 69 6f 2d 61 77 61 69 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 | io-await.(leetcode--common-extra |
| 65c0 | 2d 68 65 61 64 65 72 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 | -headers))...................... |
| 65e0 | 20 20 20 20 20 20 20 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 | .................,(leetcode--ref |
| 6600 | 65 72 65 72 20 28 66 6f 72 6d 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 70 72 6f 62 6c | erer.(format.leetcode--url-probl |
| 6620 | 65 6d 73 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 75 72 6c | ems.title-slug))))..........(url |
| 6640 | 2d 72 65 71 75 65 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 | -request-data.payload).......... |
| 6660 | 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 6c 2d 72 65 | (response.(aio-await.(aio-url-re |
| 6680 | 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 74 72 79 | trieve.(format.leetcode--url-try |
| 66a0 | 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 73 70 6f 6e | .title-slug))))..........(respon |
| 66c0 | 73 65 2d 73 74 61 74 75 73 20 28 63 61 72 20 72 65 73 70 6f 6e 73 65 29 29 0a 20 20 20 20 20 20 | se-status.(car.response))....... |
| 66e0 | 20 20 20 28 72 65 73 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 | ...(response-buffer.(cdr.respons |
| 6700 | 65 29 29 29 0a 20 20 20 20 28 69 66 2d 6c 65 74 20 28 28 65 72 72 6f 72 2d 69 6e 66 6f 20 28 70 | e))).....(if-let.((error-info.(p |
| 6720 | 6c 69 73 74 2d 67 65 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 | list-get.response-status.:error) |
| 6740 | 29 29 0a 20 20 20 20 20 20 20 20 28 70 72 6f 67 6e 0a 20 20 20 20 20 20 20 20 20 20 28 73 77 69 | )).........(progn...........(swi |
| 6760 | 74 63 68 2d 74 6f 2d 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 | tch-to-buffer.response-buffer).. |
| 6780 | 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 77 61 72 6e 20 22 4c 65 65 74 43 6f | .........(leetcode--warn."LeetCo |
| 67a0 | 64 65 20 69 6e 74 65 72 70 72 65 74 20 70 72 6f 62 6c 65 6d 20 45 52 52 4f 52 3a 20 25 53 22 20 | de.interpret.problem.ERROR:.%S". |
| 67c0 | 65 72 72 6f 72 2d 69 6e 66 6f 29 29 0a 20 20 20 20 20 20 28 6c 65 74 2d 61 6c 69 73 74 20 28 77 | error-info)).......(let-alist.(w |
| 67e0 | 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 75 66 66 | ith-current-buffer.response-buff |
| 6800 | 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 2d 68 65 | er.(goto-char.url-http-end-of-he |
| 6820 | 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 2e 69 6e 74 | aders).(json-read))..........int |
| 6840 | 65 72 70 72 65 74 5f 69 64 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f | erpret_id))))..(aio-defun.leetco |
| 6860 | 64 65 2d 2d 61 70 69 2d 73 75 62 6d 69 74 20 28 62 61 63 6b 65 6e 64 2d 69 64 20 73 6c 75 67 2d | de--api-submit.(backend-id.slug- |
| 6880 | 74 69 74 6c 65 20 63 6f 64 65 29 0a 20 20 22 53 75 62 6d 69 74 20 43 4f 44 45 20 66 6f 72 20 70 | title.code)..."Submit.CODE.for.p |
| 68a0 | 72 6f 62 6c 65 6d 20 77 68 69 63 68 20 68 61 73 20 42 41 43 4b 45 4e 44 2d 49 44 20 61 6e 64 20 | roblem.which.has.BACKEND-ID.and. |
| 68c0 | 53 4c 55 47 2d 54 49 54 4c 45 2e 22 0a 20 20 28 6d 65 73 73 61 67 65 20 22 4c 65 65 74 43 6f 64 | SLUG-TITLE."...(message."LeetCod |
| 68e0 | 65 20 73 75 62 6d 69 74 20 73 6c 75 67 2d 74 69 74 6c 65 3a 20 25 73 2c 20 62 61 63 6b 65 6e 64 | e.submit.slug-title:.%s,.backend |
| 6900 | 2d 69 64 3a 20 25 73 22 20 73 6c 75 67 2d 74 69 74 6c 65 20 62 61 63 6b 65 6e 64 2d 69 64 29 0a | -id:.%s".slug-title.backend-id). |
| 6920 | 20 20 28 6c 65 74 2a 20 28 28 75 72 6c 2d 72 65 71 75 65 73 74 2d 6d 65 74 68 6f 64 20 22 50 4f | ..(let*.((url-request-method."PO |
| 6940 | 53 54 22 29 0a 20 20 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 | ST")..........(url-request-extra |
| 6960 | 2d 68 65 61 64 65 72 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 | -headers.`(,@(aio-await.(leetcod |
| 6980 | 65 2d 2d 63 6f 6d 6d 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 | e--common-extra-headers))....... |
| 69a0 | 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 | ................................ |
| 69c0 | 2c 28 6c 65 65 74 63 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 | ,(leetcode--referer.(format.leet |
| 69e0 | 63 6f 64 65 2d 2d 75 72 6c 2d 70 72 6f 62 6c 65 6d 73 2d 73 75 62 6d 69 73 73 69 6f 6e 20 73 6c | code--url-problems-submission.sl |
| 6a00 | 75 67 2d 74 69 74 6c 65 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 75 72 6c 2d 72 65 71 75 65 | ug-title))))..........(url-reque |
| 6a20 | 73 74 2d 64 61 74 61 0a 20 20 20 20 20 20 20 20 20 20 28 6a 73 6f 6e 2d 65 6e 63 6f 64 65 20 60 | st-data...........(json-encode.` |
| 6a40 | 28 28 6c 61 6e 67 20 2e 20 2c 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 29 0a 20 20 20 20 20 20 | ((lang...,leetcode--lang)....... |
| 6a60 | 20 20 20 20 20 20 20 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 | ...................(question_id. |
| 6a80 | 2e 20 2c 62 61 63 6b 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 | ..,backend-id).................. |
| 6aa0 | 20 20 20 20 20 20 20 20 28 74 79 70 65 64 5f 63 6f 64 65 20 2e 20 2c 63 6f 64 65 29 29 29 29 29 | ........(typed_code...,code))))) |
| 6ac0 | 0a 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 61 69 6f 2d 75 72 6c 2d 72 65 74 72 69 65 76 | .....(aio-await.(aio-url-retriev |
| 6ae0 | 65 20 28 66 6f 72 6d 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 73 75 62 6d 69 74 20 73 | e.(format.leetcode--url-submit.s |
| 6b00 | 6c 75 67 2d 74 69 74 6c 65 29 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 | lug-title)))))..(aio-defun.leetc |
| 6b20 | 6f 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 28 69 6e 74 65 72 | ode--api-check-submission.(inter |
| 6b40 | 70 72 65 74 2d 69 64 20 70 72 6f 62 6c 65 6d 20 6f 6e 2d 73 75 63 63 65 73 73 29 0a 20 20 22 50 | pret-id.problem.on-success)..."P |
| 6b60 | 6f 6c 6c 69 6e 67 20 70 72 6f 62 6c 65 6d 20 77 69 74 68 20 50 52 4f 42 4c 45 4d 2d 49 44 20 73 | olling.problem.with.PROBLEM-ID.s |
| 6b80 | 75 62 6d 69 73 73 69 6f 6e 20 62 79 20 49 4e 54 45 52 50 52 45 54 2d 49 44 2e 0a 57 68 65 6e 20 | ubmission.by.INTERPRET-ID..When. |
| 6ba0 | 63 68 65 63 6b 20 73 75 62 6d 69 73 73 69 6f 6e 20 73 75 63 63 65 73 73 2c 20 65 78 65 63 75 74 | check.submission.success,.execut |
| 6bc0 | 65 20 4f 4e 2d 53 55 43 43 45 53 53 2e 20 42 6f 74 68 0a 60 6c 65 65 74 63 6f 64 65 2d 74 72 79 | e.ON-SUCCESS..Both.`leetcode-try |
| 6be0 | 27 20 61 6e 64 20 60 6c 65 65 74 63 6f 64 65 2d 73 75 62 6d 69 74 27 20 72 65 6c 79 20 6f 6e 20 | '.and.`leetcode-submit'.rely.on. |
| 6c00 | 74 68 69 73 20 74 6f 20 70 6f 6c 6c 0a 73 75 62 6d 69 73 73 69 6f 6e 20 73 74 61 74 75 73 2e 22 | this.to.poll.submission.status." |
| 6c20 | 0a 20 20 28 6d 65 73 73 61 67 65 20 22 4c 65 65 74 43 6f 64 65 20 63 68 65 63 6b 20 73 75 62 6d | ...(message."LeetCode.check.subm |
| 6c40 | 69 73 73 69 6f 6e 3a 20 25 73 22 20 28 66 6f 72 6d 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 | ission:.%s".(format.leetcode--ur |
| 6c60 | 6c 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 | l-check-submission.interpret-id) |
| 6c80 | 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 65 74 63 6f 64 65 | )...(let*.((title-slug.(leetcode |
| 6ca0 | 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))... |
| 6cc0 | 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 |
| 6ce0 | 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 75 72 6c 2d | blem-id.problem))..........(url- |
| 6d00 | 72 65 71 75 65 73 74 2d 6d 65 74 68 6f 64 20 22 47 45 54 22 29 0a 20 20 20 20 20 20 20 20 20 28 | request-method."GET")..........( |
| 6d20 | 75 72 6c 2d 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 40 28 61 | url-request-extra-headers.`(,@(a |
| 6d40 | 69 6f 2d 61 77 61 69 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 | io-await.(leetcode--common-extra |
| 6d60 | 2d 68 65 61 64 65 72 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 | -headers))...................... |
| 6d80 | 20 20 20 20 20 20 20 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 | .................,(leetcode--ref |
| 6da0 | 65 72 65 72 20 28 66 6f 72 6d 61 74 20 6c 65 65 74 63 6f 64 65 2d 2d 75 72 6c 2d 70 72 6f 62 6c | erer.(format.leetcode--url-probl |
| 6dc0 | 65 6d 73 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 29 29 0a 20 20 20 20 20 20 20 20 20 28 72 65 73 | ems.title-slug))))..........(res |
| 6de0 | 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 72 69 65 | ponse.(aio-await.(aio-url-retrie |
| 6e00 | 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 63 68 65 63 6b 2d 73 | ve.(format.leetcode--url-check-s |
| 6e20 | 75 62 6d 69 73 73 69 6f 6e 20 69 6e 74 65 72 70 72 65 74 2d 69 64 29 29 29 29 0a 20 20 20 20 20 | ubmission.interpret-id))))...... |
| 6e40 | 20 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 | ....(response-status.(car.respon |
| 6e60 | 73 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 | se))..........(response-buffer.( |
| 6e80 | 63 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 | cdr.response))).....(if-let.((er |
| 6ea0 | 72 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 | ror-info.(plist-get.response-sta |
| 6ec0 | 74 75 73 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 | tus.:error))).........(progn.... |
| 6ee0 | 20 20 20 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 | .......(switch-to-buffer.respons |
| 6f00 | 65 2d 62 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 | e-buffer)...........(leetcode--w |
| 6f20 | 61 72 6e 20 22 4c 65 65 74 43 6f 64 65 20 63 68 65 63 6b 20 73 75 62 6d 69 73 73 69 6f 6e 20 45 | arn."LeetCode.check.submission.E |
| 6f40 | 52 52 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 | RROR:.%S".error-info)).......(le |
| 6f60 | 74 20 28 28 72 65 73 75 6c 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 70 61 72 73 65 2d 62 75 66 66 | t.((result.(leetcode--parse-buff |
| 6f80 | 65 72 20 72 65 73 70 6f 6e 73 65 2d 62 75 66 66 65 72 29 29 29 0a 20 20 20 20 20 20 20 20 28 6c | er.response-buffer))).........(l |
| 6fa0 | 65 74 2d 61 6c 69 73 74 20 72 65 73 75 6c 74 0a 20 20 20 20 20 20 20 20 20 20 28 70 63 61 73 65 | et-alist.result...........(pcase |
| 6fc0 | 20 2e 73 74 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 28 6f 72 20 22 50 45 4e 44 49 4e | ..state.............((or."PENDIN |
| 6fe0 | 47 22 20 22 53 54 41 52 54 45 44 22 29 20 28 28 61 69 6f 2d 61 77 61 69 74 20 28 61 69 6f 2d 73 | G"."STARTED").((aio-await.(aio-s |
| 7000 | 6c 65 65 70 20 30 2e 32 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | leep.0.2))...................... |
| 7020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 | ..................(aio-await.(le |
| 7040 | 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 6e 20 69 6e 74 | etcode--api-check-submission.int |
| 7060 | 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 73 73 29 29 29 29 | erpret-id.problem.on-success)))) |
| 7080 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 22 53 55 43 43 45 53 53 22 20 28 66 75 6e 63 61 6c 6c | .............("SUCCESS".(funcall |
| 70a0 | 20 6f 6e 2d 73 75 63 63 65 73 73 20 70 72 6f 62 6c 65 6d 2d 69 64 20 72 65 73 75 6c 74 29 29 29 | .on-success.problem-id.result))) |
| 70c0 | 29 29 29 29 29 0a 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 6f 67 | )))))...(aio-defun.leetcode--log |
| 70e0 | 69 6e 20 28 29 0a 20 20 22 57 65 20 61 72 65 20 6e 6f 74 20 6c 6f 67 69 6e 20 61 63 74 75 61 6c | in.()..."We.are.not.login.actual |
| 7100 | 6c 79 2c 20 77 65 20 61 72 65 20 72 65 74 72 69 65 76 69 6e 67 20 4c 65 65 74 43 6f 64 65 20 6c | ly,.we.are.retrieving.LeetCode.l |
| 7120 | 6f 67 69 6e 20 73 65 73 73 69 6f 6e 0a 66 72 6f 6d 20 6c 6f 63 61 6c 20 62 72 6f 77 73 65 72 2e | ogin.session.from.local.browser. |
| 7140 | 20 49 74 20 61 6c 73 6f 20 63 6c 65 61 6e 73 20 4c 65 65 74 43 6f 64 65 20 63 6f 6f 6b 69 65 73 | .It.also.cleans.LeetCode.cookies |
| 7160 | 20 69 6e 20 60 75 72 6c 2d 63 6f 6f 6b 69 65 2d 66 69 6c 65 27 2e 22 0a 20 20 28 69 67 6e 6f 72 | .in.`url-cookie-file'."...(ignor |
| 7180 | 65 2d 65 72 72 6f 72 73 20 28 75 72 6c 2d 63 6f 6f 6b 69 65 2d 64 65 6c 65 74 65 2d 63 6f 6f 6b | e-errors.(url-cookie-delete-cook |
| 71a0 | 69 65 73 20 6c 65 65 74 63 6f 64 65 2d 2d 64 6f 6d 61 69 6e 29 29 0a 20 20 28 6c 65 74 2a 20 28 | ies.leetcode--domain))...(let*.( |
| 71c0 | 28 6c 65 65 74 63 6f 64 65 2d 63 6f 6f 6b 69 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 63 6f 6f 6b | (leetcode-cookie.(leetcode--cook |
| 71e0 | 69 65 2d 67 65 74 2d 61 6c 6c 29 29 29 0a 20 20 20 20 28 63 6c 2d 6c 6f 6f 70 20 66 6f 72 20 28 | ie-get-all))).....(cl-loop.for.( |
| 7200 | 6b 65 79 20 76 61 6c 75 65 29 20 69 6e 20 6c 65 65 74 63 6f 64 65 2d 63 6f 6f 6b 69 65 0a 20 20 | key.value).in.leetcode-cookie... |
| 7220 | 20 20 20 20 20 20 20 20 20 20 20 64 6f 20 28 75 72 6c 2d 63 6f 6f 6b 69 65 2d 73 74 6f 72 65 20 | ...........do.(url-cookie-store. |
| 7240 | 6b 65 79 20 76 61 6c 75 65 20 6e 69 6c 20 6c 65 65 74 63 6f 64 65 2d 2d 64 6f 6d 61 69 6e 20 22 | key.value.nil.leetcode--domain." |
| 7260 | 2f 22 20 74 29 29 29 0a 20 20 3b 3b 20 41 66 74 65 72 20 6c 6f 67 69 6e 2c 20 77 65 20 73 68 6f | /".t)))...;;.After.login,.we.sho |
| 7280 | 75 6c 64 20 68 61 76 65 20 6f 75 72 20 75 73 65 72 20 64 61 74 61 20 61 6c 72 65 61 64 79 2e 0a | uld.have.our.user.data.already.. |
| 72a0 | 20 20 28 6d 65 73 73 61 67 65 20 22 4c 65 65 74 43 6f 64 65 20 66 65 74 63 68 69 6e 67 20 75 73 | ..(message."LeetCode.fetching.us |
| 72c0 | 65 72 20 64 61 74 61 2e 2e 2e 22 29 0a 20 20 28 61 69 6f 2d 61 77 61 69 74 20 28 6c 65 65 74 63 | er.data...")...(aio-await.(leetc |
| 72e0 | 6f 64 65 2d 2d 66 65 74 63 68 2d 75 73 65 72 2d 73 74 61 74 75 73 29 29 29 0a 0a 28 64 65 66 75 | ode--fetch-user-status)))..(defu |
| 7300 | 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 2d 72 6f 77 73 20 28 29 0a 20 20 22 | n.leetcode--problems-rows.()..." |
| 7320 | 47 65 6e 65 72 61 74 65 20 74 61 62 75 6c 61 74 65 64 20 6c 69 73 74 20 72 6f 77 73 20 66 72 6f | Generate.tabulated.list.rows.fro |
| 7340 | 6d 20 60 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 27 2e 0a 52 65 74 75 72 6e 20 61 | m.`leetcode--problems'..Return.a |
| 7360 | 20 6c 69 73 74 20 6f 66 20 72 6f 77 73 2c 20 65 61 63 68 20 72 6f 77 20 69 73 20 61 20 76 65 63 | .list.of.rows,.each.row.is.a.vec |
| 7380 | 74 6f 72 3a 0a 5c 28 5b 3c 63 68 65 63 6b 6d 61 72 6b 3e 20 3c 70 6f 73 69 74 69 6f 6e 3e 20 3c | tor:.\([<checkmark>.<position>.< |
| 73a0 | 74 69 74 6c 65 3e 20 3c 61 63 63 65 70 74 61 6e 63 65 3e 20 3c 64 69 66 66 69 63 75 6c 74 79 3e | title>.<acceptance>.<difficulty> |
| 73c0 | 5d 20 2e 2e 2e 29 22 0a 20 20 28 6c 65 74 20 28 28 70 72 6f 62 6c 65 6d 73 20 28 6c 65 65 74 63 | ]....)"...(let.((problems.(leetc |
| 73e0 | 6f 64 65 2d 70 72 6f 62 6c 65 6d 73 2d 70 72 6f 62 6c 65 6d 73 20 6c 65 65 74 63 6f 64 65 2d 2d | ode-problems-problems.leetcode-- |
| 7400 | 70 72 6f 62 6c 65 6d 73 29 29 0a 20 20 20 20 20 20 20 20 72 6f 77 73 29 0a 20 20 20 20 28 64 6f | problems)).........rows).....(do |
| 7420 | 6c 69 73 74 20 28 70 20 70 72 6f 62 6c 65 6d 73 20 28 72 65 76 65 72 73 65 20 72 6f 77 73 29 29 | list.(p.problems.(reverse.rows)) |
| 7440 | 0a 20 20 20 20 20 20 28 69 66 20 28 6f 72 20 6c 65 65 74 63 6f 64 65 2d 2d 64 69 73 70 6c 61 79 | .......(if.(or.leetcode--display |
| 7460 | 2d 70 61 69 64 20 28 6e 6f 74 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 70 61 69 | -paid.(not.(leetcode-problem-pai |
| 7480 | 64 2d 6f 6e 6c 79 20 70 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 70 2d | d-only.p)))...........(let*.((p- |
| 74a0 | 73 74 61 74 75 73 20 28 69 66 20 28 65 71 75 61 6c 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 | status.(if.(equal.(leetcode-prob |
| 74c0 | 6c 65 6d 2d 73 74 61 74 75 73 20 70 29 20 22 61 63 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | lem-status.p)."ac")............. |
| 74e0 | 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 2d 61 64 | ...................(leetcode--ad |
| 7500 | 64 2d 66 6f 6e 74 2d 6c 6f 63 6b 20 6c 65 65 74 63 6f 64 65 2d 2d 63 68 65 63 6b 6d 61 72 6b 20 | d-font-lock.leetcode--checkmark. |
| 7520 | 27 6c 65 65 74 63 6f 64 65 2d 63 68 65 63 6b 6d 61 72 6b 2d 66 61 63 65 29 0a 20 20 20 20 20 20 | 'leetcode-checkmark-face)....... |
| 7540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 20 22 29 29 0a 20 20 20 | .......................".")).... |
| 7560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 2d 69 64 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 | ..............(p-id.(leetcode-pr |
| 7580 | 6f 62 6c 65 6d 2d 69 64 20 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 | oblem-id.p))..................(p |
| 75a0 | 2d 74 69 74 6c 65 20 28 63 6f 6e 63 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -title.(concat.................. |
| 75c0 | 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 2d 74 69 74 6c | ..........(leetcode-problem-titl |
| 75e0 | 65 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 20 20 20 20 20 | e.p)............................ |
| 7600 | 22 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 20 28 | "."............................( |
| 7620 | 69 66 20 28 65 71 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 70 61 69 64 2d 6f 6e | if.(eq.(leetcode-problem-paid-on |
| 7640 | 6c 79 20 70 29 20 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 | ly.p).t)........................ |
| 7660 | 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 6b | ........(leetcode--add-font-lock |
| 7680 | 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 66 | .leetcode--paid.'leetcode-paid-f |
| 76a0 | 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 20 | ace)............................ |
| 76c0 | 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 63 | ..".")))..................(p-acc |
| 76e0 | 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 74 | eptance.(leetcode-problem-accept |
| 7700 | 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 66 | ance.p))..................(p-dif |
| 7720 | 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 66 | ficulty.(leetcode--stringify-dif |
| 7740 | 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 63 | ficulty.(leetcode-problem-diffic |
| 7760 | 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 61 | ulty.p)))..................(p-ta |
| 7780 | 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 73 | gs.(if.leetcode--display-tags.(s |
| 77a0 | 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 67 | tring-join.(leetcode-problem-tag |
| 77c0 | 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 20 | s.p).",.").""))................. |
| 77e0 | 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 2d | .(single-row.(vector.p-status.p- |
| 7800 | 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 63 | id.p-title.p-acceptance.p-diffic |
| 7820 | 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 71 | ulty.p-tags))).............(setq |
| 7840 | 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 29 | .rows.(cons.single-row.rows))))) |
| 7860 | 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 72 | ))..(defun.leetcode--row-tags.(r |
| 7880 | 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 72 | ow)..."Get.tags.from.ROW."...(ar |
| 78a0 | 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 77 | ef.row.5))..(defun.leetcode--row |
| 78c0 | 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 75 | -difficulty.(row)..."Get.difficu |
| 78e0 | 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 0a | lty.from.ROW."...(aref.row.4)).. |
| 7900 | 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 20 | (defun.leetcode--filter.(rows).. |
| 7920 | 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 74 | ."Filter.ROWS.by.`leetcode--filt |
| 7940 | 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 67 | er-regex',.`leetcode--filter-tag |
| 7960 | 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 6c | '.and.`leetcode--filter-difficul |
| 7980 | 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 28 | ty'."...(seq-filter....(lambda.( |
| 79a0 | 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 64 | row)......(and.......(if.leetcod |
| 79c0 | 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 28 | e--filter-regex...........(let.( |
| 79e0 | 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 20 | (title.(aref.row.2)))........... |
| 7a00 | 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 74 | ..(string-match-p.leetcode--filt |
| 7a20 | 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 20 | er-regex.title)).........t)..... |
| 7a40 | 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 20 | ..(if.leetcode--filter-tag...... |
| 7a60 | 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 28 | .....(let.((tags.(s-split.",.".( |
| 7a80 | 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 20 | leetcode--row-tags.row))))...... |
| 7aa0 | 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 2d | .......(member.leetcode--filter- |
| 7ac0 | 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 20 | tag.tags)).........t).......(if. |
| 7ae0 | 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 20 | leetcode--filter-difficulty..... |
| 7b00 | 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 64 | ......(let.((difficulty.(leetcod |
| 7b20 | 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 20 | e--row-difficulty.row)))........ |
| 7b40 | 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 64 | .....(string=.difficulty.leetcod |
| 7b60 | 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 74 | e--filter-difficulty)).........t |
| 7b80 | 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 3b | )))....rows))...;;;;;;;;;;;;;;;; |
| 7ba0 | 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 7bc0 | 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 3b | ;;;;;;;;;;;;.User.Command.;;;;;; |
| 7be0 | 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 7c00 | 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 6c | ;;;;;;;;;;;;;;;;;;;;;;..(defun.l |
| 7c20 | 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 68 | eetcode-reset-filter-and-refresh |
| 7c40 | 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 63 | .()..."Reset.filter."...(interac |
| 7c60 | 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 72 | tive)...(setq.leetcode--filter-r |
| 7c80 | 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 74 | egex.nil)...(setq.leetcode--filt |
| 7ca0 | 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 69 | er-tag.nil)...(setq.leetcode--fi |
| 7cc0 | 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 65 | lter-difficulty.nil)...(leetcode |
| 7ce0 | 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 2d | -refresh))..(defun.leetcode-set- |
| 7d00 | 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 65 | filter-regex.(regex)..."Set.`lee |
| 7d20 | 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 6e | tcode--filter-regex'.as.REGEX.an |
| 7d40 | 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 61 | d.refresh."...(interactive."sSea |
| 7d60 | 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 72 | rch:.")...(setq.leetcode--filter |
| 7d80 | 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 73 | -regex.regex)...(leetcode-refres |
| 7da0 | 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 2d | h))..(defun.leetcode-set-filter- |
| 7dc0 | 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 2d | tag.()..."Set.`leetcode--filter- |
| 7de0 | 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 61 | tag'.from.`leetcode--all-tags'.a |
| 7e00 | 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 28 | nd.refresh."...(interactive)...( |
| 7e20 | 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 20 | setq.leetcode--filter-tag....... |
| 7e40 | 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 74 | ..(completing-read."Tags:.".leet |
| 7e60 | 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 66 | code--all-tags))...(leetcode-ref |
| 7e80 | 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 66 | resh))..(defun.leetcode-set-pref |
| 7ea0 | 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 2d | er-language.()..."Set.`leetcode- |
| 7ec0 | 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 2d | prefer-language'.from.`leetcode- |
| 7ee0 | 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 20 | -lang-suffixes'.and.refresh."... |
| 7f00 | 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 70 | (interactive)...(setq.leetcode-p |
| 7f20 | 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 69 | refer-language.........(completi |
| 7f40 | 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 6c | ng-read."Language:.".leetcode--l |
| 7f60 | 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 65 | ang-suffixes))...(leetcode-refre |
| 7f80 | 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 |
| 7fa0 | 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 2d | -difficulty.()..."Set.`leetcode- |
| 7fc0 | 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 6f | -filter-difficulty'.from.`leetco |
| 7fe0 | 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 73 | de--all-difficulties'.and.refres |
| 8000 | 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 74 | h."...(interactive)...(setq.leet |
| 8020 | 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 20 | code--filter-difficulty......... |
| 8040 | 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 20 | (completing-read."Difficulty:.". |
| 8060 | 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 28 | leetcode--all-difficulties))...( |
| 8080 | 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 63 | leetcode-refresh))..(defun.leetc |
| 80a0 | 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 67 | ode-toggle-tag-display.()..."Tog |
| 80c0 | 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 64 | gle.`leetcode--display-tags`.and |
| 80e0 | 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 65 | .refresh."...(interactive)...(se |
| 8100 | 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 6c | tq.leetcode--display-tags.(not.l |
| 8120 | 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 63 | eetcode--display-tags))...(leetc |
| 8140 | 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 74 | ode-refresh))..(defun.leetcode-t |
| 8160 | 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 20 | oggle-paid-display.()..."Toggle. |
| 8180 | 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 66 | `leetcode--display-paid`.and.ref |
| 81a0 | 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 6c | resh."...(interactive)...(setq.l |
| 81c0 | 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 63 | eetcode--display-paid.(not.leetc |
| 81e0 | 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 2d | ode--display-paid))...(leetcode- |
| 8200 | 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 65 | refresh))..(defun.leetcode--make |
| 8220 | 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 73 | -tabulated-headers.(header-names |
| 8240 | 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 74 | .rows)..."Calculate.headers.widt |
| 8260 | 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 69 | h..Column.width.calculated.by.pi |
| 8280 | 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 6c | cking.the.max.width.of.every.cel |
| 82a0 | 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 44 | l.under.that.column.and.the.HEAD |
| 82c0 | 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 73 | ER-NAMES..HEADER-NAMES.are.a.lis |
| 82e0 | 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 73 | t.of.header.name,.ROWS.are.a.lis |
| 8300 | 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 0a | t.of.vector,.each.vector.is.one. |
| 8320 | 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 28 | row."...(let.((widths..........( |
| 8340 | 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 63 | seq-reduce...........(lambda.(ac |
| 8360 | 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 20 | c.row).............(cl-mapcar... |
| 8380 | 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 20 | ...........(lambda.(a.col).(max. |
| 83a0 | 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 63 | a.(length.col)))..............ac |
| 83c0 | 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 29 | c..............(append.row.'())) |
| 83e0 | 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 2d | )...........rows...........(seq- |
| 8400 | 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 20 | map.#'length.header-names))))... |
| 8420 | 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 20 | ..(vconcat......(cl-mapcar...... |
| 8440 | 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 69 | .(lambda.(col.size).(list.col.si |
| 8460 | 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 74 | ze.nil)).......header-names.widt |
| 8480 | 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 20 | hs))))..(defun.leetcode-refresh. |
| 84a0 | 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 69 | ()..."Make.`tabulated-list-entri |
| 84c0 | 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 28 | es'."...(interactive)...(let*.(( |
| 84e0 | 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 22 | header-names.(append.'("."."#"." |
| 8500 | 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 74 | Problem"."Acceptance"."Difficult |
| 8520 | 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 20 | y")............................. |
| 8540 | 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 28 | ...(if.leetcode--display-tags.'( |
| 8560 | 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 63 | "Tags"))))..........(rows.(leetc |
| 8580 | 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 2d | ode--filter.(leetcode--problems- |
| 85a0 | 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 63 | rows)))..........(headers.(leetc |
| 85c0 | 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 64 | ode--make-tabulated-headers.head |
| 85e0 | 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 65 | er-names.rows))).....(with-curre |
| 8600 | 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 65 | nt-buffer.(get-buffer-create.lee |
| 8620 | 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 63 | tcode--buffer-name).......(leetc |
| 8640 | 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 20 | ode--problems-mode).......(setq. |
| 8660 | 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 20 | tabulated-list-format.headers).. |
| 8680 | 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 65 | .....(setq.tabulated-list-entrie |
| 86a0 | 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 20 | s.............(cl-mapcar........ |
| 86c0 | 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 0a | ......(lambda.(i.x).(list.i.x)). |
| 86e0 | 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 20 | .............(number-sequence.0. |
| 8700 | 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 20 | (1-.(length.rows)))............. |
| 8720 | 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 6e | .rows)).......(tabulated-list-in |
| 8740 | 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 74 | it-header).......(tabulated-list |
| 8760 | 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 64 | -print.t))))..(aio-defun.leetcod |
| 8780 | 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 72 | e-refresh-fetch.()..."Refresh.pr |
| 87a0 | 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 73 | oblems.and.update.`tabulated-lis |
| 87c0 | 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 28 | t-entries'."...(interactive)...( |
| 87e0 | 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 65 | message."LeetCode.refreshing.que |
| 8800 | 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 65 | stion.list...")...(aio-await.(le |
| 8820 | 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 6c | etcode--fetch-question-list."all |
| 8840 | 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 68 | -code-essentials".0.4000.#s(hash |
| 8860 | 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 28 | -table))).;.TODO.pagination?...( |
| 8880 | 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 74 | setq.leetcode--display-tags.leet |
| 88a0 | 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 74 | code-prefer-tag-display)...(leet |
| 88c0 | 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 0a | code-reset-filter-and-refresh)). |
| 88e0 | 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 67 | .(aio-defun.leetcode--ensure-log |
| 8900 | 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 72 | in.(&optional.force)...(when.(or |
| 8920 | 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 29 | .force.(not.(leetcode--login-p)) |
| 8940 | 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 69 | ).....(aio-await.(leetcode--logi |
| 8960 | 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 65 | n)).;.It's.weird.that.somehow.we |
| 8980 | 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 20 | .have.to.login.twice.to.be.real. |
| 89a0 | 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 64 | login........(aio-await.(leetcod |
| 89c0 | 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 74 | e--login))))..;;;###autoload(aut |
| 89e0 | 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 74 | oload.'leetcode."leetcode".nil.t |
| 8a00 | 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 72 | ).(aio-defun.leetcode.()..."Star |
| 8a20 | 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 28 | t.Leetcode."...(interactive)...( |
| 8a40 | 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 20 | when.(leetcode--check-deps)..... |
| 8a60 | 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 72 | (if.(get-buffer.leetcode--buffer |
| 8a80 | 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 72 | -name).........(switch-to-buffer |
| 8aa0 | 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 61 | .leetcode--buffer-name).......(a |
| 8ac0 | 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 6e | io-await.(leetcode--ensure-login |
| 8ae0 | 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 65 | )).......(aio-await.(leetcode-re |
| 8b00 | 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 62 | fresh-fetch)).......(switch-to-b |
| 8b20 | 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 20 | uffer.leetcode--buffer-name))... |
| 8b40 | 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 3b | ..(leetcode--maybe-focus)))..;;; |
| 8b60 | 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 64 | ###autoload(autoload.'leetcode-d |
| 8b80 | 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 75 | aily."leetcode".nil.t).(aio-defu |
| 8ba0 | 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 20 | n.leetcode-daily.()..."Open.the. |
| 8bc0 | 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 65 | daily.challenge."...(interactive |
| 8be0 | 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 65 | )...(aio-await.(leetcode--ensure |
| 8c00 | 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 6d | -login))...(let*.((url-request-m |
| 8c20 | 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 75 | ethod."POST")..........(url-requ |
| 8c40 | 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 74 | est-extra-headers.`(,@(aio-await |
| 8c60 | 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 73 | .(leetcode--common-extra-headers |
| 8c80 | 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 20 | )).............................. |
| 8ca0 | 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 65 | .........,(leetcode--referer.lee |
| 8cc0 | 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 72 | tcode--url-login)))..........(ur |
| 8ce0 | 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 65 | l-request-data...........(json-e |
| 8d00 | 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 6d | ncode............`((operationNam |
| 8d20 | 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 20 | e..."questionOfToday").......... |
| 8d40 | 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 6c | ....(query...,leetcode--url-dail |
| 8d60 | 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 65 | y-challenge))))).....(with-curre |
| 8d80 | 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 6e | nt-buffer.(url-retrieve-synchron |
| 8da0 | 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 20 | ously.leetcode--url-graphql).... |
| 8dc0 | 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 65 | ...(goto-char.url-http-end-of-he |
| 8de0 | 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 65 | aders).......(let-alist.(json-re |
| 8e00 | 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 74 | ad).........(let.((qid..data.act |
| 8e20 | 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 2e | iveDailyCodingChallengeQuestion. |
| 8e40 | 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 6f | question.qid))...........(leetco |
| 8e60 | 64 65 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 20 28 73 74 72 69 6e 67 2d 74 6f 2d 6e 75 6d 62 65 | de-show-problem.(string-to-numbe |
| 8e80 | 72 20 71 69 64 29 29 29 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 | r.qid)))))))..(aio-defun.leetcod |
| 8ea0 | 65 2d 74 72 79 20 28 29 0a 20 20 22 41 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 20 74 65 73 74 20 | e-try.()..."Asynchronously.test. |
| 8ec0 | 74 68 65 20 63 6f 64 65 20 75 73 69 6e 67 20 63 75 73 74 6f 6d 69 7a 65 64 20 74 65 73 74 63 61 | the.code.using.customized.testca |
| 8ee0 | 73 65 2e 22 0a 20 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 0a 20 20 28 61 69 6f 2d 61 77 61 69 | se."...(interactive)...(aio-awai |
| 8f00 | 74 20 28 6c 65 65 74 63 6f 64 65 2d 2d 65 6e 73 75 72 65 2d 6c 6f 67 69 6e 20 74 29 29 0a 20 20 | t.(leetcode--ensure-login.t))... |
| 8f20 | 28 6c 65 74 2a 20 28 28 74 69 74 6c 65 2d 73 6c 75 67 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 | (let*.((title-slug.(leetcode--ge |
| 8f40 | 74 2d 73 6c 75 67 2d 74 69 74 6c 65 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 29 0a | t-slug-title.(current-buffer))). |
| 8f60 | 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 65 74 | .........(problem.(leetcode--get |
| 8f80 | 2d 70 72 6f 62 6c 65 6d 20 74 69 74 6c 65 2d 73 6c 75 67 29 29 0a 20 20 20 20 20 20 20 20 20 28 | -problem.title-slug))..........( |
| 8fa0 | 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 64 20 | problem-id.(leetcode-problem-id. |
| 8fc0 | 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 69 6e 74 65 72 70 72 65 74 2d 69 64 | problem))..........(interpret-id |
| 8fe0 | 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 69 2d 69 6e 74 65 72 | .(aio-await.(leetcode--api-inter |
| 9000 | 70 72 65 74 2d 73 6f 6c 75 74 69 6f 6e 20 70 72 6f 62 6c 65 6d 29 29 29 29 0a 20 20 20 20 28 61 | pret-solution.problem)))).....(a |
| 9020 | 69 6f 2d 61 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 | io-await.(leetcode--api-check-su |
| 9040 | 62 6d 69 73 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 23 27 | bmission.interpret-id.problem.#' |
| 9060 | 6c 65 65 74 63 6f 64 65 2d 2d 73 68 6f 77 2d 74 65 73 74 63 61 73 65 73 2d 72 65 73 75 6c 74 29 | leetcode--show-testcases-result) |
| 9080 | 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 75 62 6d 69 74 20 | )))..(aio-defun.leetcode-submit. |
| 90a0 | 28 29 0a 20 20 22 41 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 20 73 75 62 6d 69 74 20 74 68 65 20 | ()..."Asynchronously.submit.the. |
| 90c0 | 63 6f 64 65 20 61 6e 64 20 73 68 6f 77 20 72 65 73 75 6c 74 2e 22 0a 20 20 28 69 6e 74 65 72 61 | code.and.show.result."...(intera |
| 90e0 | 63 74 69 76 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 | ctive)...(aio-await.(leetcode--e |
| 9100 | 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 63 6f 64 65 2d 62 | nsure-login.t))...(let*.((code-b |
| 9120 | 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 20 20 20 20 28 63 | uf.(current-buffer))..........(c |
| 9140 | 6f 64 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 62 75 66 66 65 72 2d 63 6f 6e 74 65 6e 74 20 63 6f | ode.(leetcode--buffer-content.co |
| 9160 | 64 65 2d 62 75 66 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 | de-buf))..........(slug-title.(l |
| 9180 | 65 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 | eetcode--get-slug-title.code-buf |
| 91a0 | 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 74 63 6f 64 65 2d 2d | ))..........(problem.(leetcode-- |
| 91c0 | 67 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 | get-problem.slug-title))........ |
| 91e0 | 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 62 6c 65 6d 2d | ..(problem-id.(leetcode-problem- |
| 9200 | 69 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 | id.problem))..........(backend-i |
| 9220 | 64 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 | d.(leetcode-problem-backend-id.p |
| 9240 | 72 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 | roblem))..........(response.(aio |
| 9260 | 2d 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 | -await.(leetcode--api-submit.bac |
| 9280 | 6b 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 | kend-id.slug-title.code)))...... |
| 92a0 | 20 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 | ....(response-status.(car.respon |
| 92c0 | 73 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 | se))..........(response-buffer.( |
| 92e0 | 63 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 | cdr.response))).....(if-let.((er |
| 9300 | 72 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 | ror-info.(plist-get.response-sta |
| 9320 | 74 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 | tus.:error))).........(switch-to |
| 9340 | 2d 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 | -buffer.response-buffer).......( |
| 9360 | 6c 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 | let*.((resp.(leetcode--parse-buf |
| 9380 | 66 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 | fer.response-buffer))........... |
| 93a0 | 20 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 | ...(submission-id.(number-to-str |
| 93c0 | 69 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 | ing.(alist-get.'submission_id.re |
| 93e0 | 73 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 | sp)))).........(aio-await.(leetc |
| 9400 | 6f 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 | ode--api-check-submission.submis |
| 9420 | 73 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 | sion-id.problem.#'leetcode--show |
| 9440 | 2d 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 | -submission-result))))))..(defun |
| 9460 | 20 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 | .leetcode--solving-window-layout |
| 9480 | 20 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 | .()..."Specify.layout.for.solvin |
| 94a0 | 67 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 | g.problem..+---------------+---- |
| 94c0 | 2d 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 | ------------+.|...............|. |
| 94e0 | 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 20 20 20 20 20 | ...............|.|.............. |
| 9500 | 20 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 | .|.....Detail.....|.|........... |
| 9520 | 20 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 | ....|................|.|........ |
| 9540 | 20 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 | .......+----------------+.|..... |
| 9560 | 43 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 | Code......|...Customize....|.|.. |
| 9580 | 20 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 | .............|...Testcases....|. |
| 95a0 | 7c 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 | |...............+--------------- |
| 95c0 | 2d 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 | -+.|...............|Submit/Testc |
| 95e0 | 61 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 | ases|.|...............|....Resul |
| 9600 | 74 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 | t......|.+---------------+------ |
| 9620 | 2d 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 | ----------+"...(delete-other-win |
| 9640 | 64 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 | dows)...(setq.leetcode--descript |
| 9660 | 69 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 | ion-window.(split-window-horizon |
| 9680 | 74 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 | tally))...(other-window.1)...(se |
| 96a0 | 74 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 | tq.leetcode--testcase-window.(sp |
| 96c0 | 6c 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 | lit-window-below))...(other-wind |
| 96e0 | 6f 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 | ow.1)...(setq.leetcode--result-w |
| 9700 | 69 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 | indow.(split-window-below))...(o |
| 9720 | 74 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 | ther-window.-1)...(other-window. |
| 9740 | 2d 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 | -1))..(defun.leetcode--display-r |
| 9760 | 65 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 | esult.(buffer.&optional.alist).. |
| 9780 | 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 65 74 43 6f 64 65 20 | ."Display.function.for.LeetCode. |
| 97a0 | 72 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 | result..BUFFER.is.used.to.show.L |
| 97c0 | 65 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 | eetCode.result..ALIST.is.a.combi |
| 97e0 | 6e 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 | ned.alist.specified.in.`display- |
| 9800 | 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 69 6e 64 6f 77 20 | buffer-alist'."...(let.((window. |
| 9820 | 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 20 20 20 20 20 | (window-next-sibling............ |
| 9840 | 20 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 | ......(window-next-sibling...... |
| 9860 | 20 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 | .............(window-top-child.. |
| 9880 | 20 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 | ..................(window-next-s |
| 98a0 | 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 20 20 28 77 69 6e 64 | ibling.....................(wind |
| 98c0 | 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 20 | ow-left-child................... |
| 98e0 | 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 29 29 29 29 0a 20 20 | ...(frame-root-window))))))))... |
| 9900 | 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 77 20 62 75 66 66 | ..(set-window-buffer.window.buff |
| 9920 | 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 65 65 74 63 6f 64 | er).....window))..(defun.leetcod |
| 9940 | 65 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 | e--display-testcase.(buffer.&opt |
| 9960 | 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 74 69 6f 6e | ional.alist)..."Display.function |
| 9980 | 20 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 | .for.LeetCode.testcase..BUFFER.i |
| 99a0 | 73 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 | s.used.to.show.LeetCode.testcase |
| 99c0 | 2e 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 | ..ALIST.is.a.combined.alist.spec |
| 99e0 | 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'. |
| 9a00 | 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 6e 65 78 74 2d 73 | "...(let.((window.(window-next-s |
| 9a20 | 69 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 | ibling..................(window- |
| 9a40 | 74 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 | top-child...................(win |
| 9a60 | 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 20 20 20 | dow-next-sibling................ |
| 9a80 | 20 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 | ....(window-left-child.......... |
| 9aa0 | 20 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 | ...........(frame-root-window))) |
| 9ac0 | 29 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 | )))).....(set-window-buffer.wind |
| 9ae0 | 6f 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 | ow.buffer).....window))..(defun. |
| 9b00 | 6c 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 | leetcode--display-detail.(buffer |
| 9b20 | 20 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 | .&optional.alist)..."Display.fun |
| 9b40 | 63 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 | ction.for.LeetCode.detail..BUFFE |
| 9b60 | 52 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 | R.is.used.to.show.LeetCode.detai |
| 9b80 | 6c 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 | l..ALIST.is.a.combined.alist.spe |
| 9ba0 | 63 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 | cified.in.`display-buffer-alist' |
| 9bc0 | 2e 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 | ."...(let.((window.(window-top-c |
| 9be0 | 68 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 | hild..................(window-ne |
| 9c00 | 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 20 20 28 77 69 | xt-sibling...................(wi |
| 9c20 | 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 20 20 20 20 20 20 | ndow-left-child................. |
| 9c40 | 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 29 29 0a 20 20 20 20 | ...(frame-root-window))))))..... |
| 9c60 | 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 72 | (set-window-buffer.window.buffer |
| 9c80 | 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 2d | ).....window))..(defun.leetcode- |
| 9ca0 | 2d 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 | -display-code.(buffer.&optional. |
| 9cc0 | 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 66 6f 72 20 4c | alist)..."Display.function.for.L |
| 9ce0 | 65 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 | eetCode.code..BUFFER.is.the.one. |
| 9d00 | 74 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 | to.show.LeetCode.code..ALIST.is. |
| 9d20 | 61 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 | a.combined.alist.specified.in.`d |
| 9d40 | 69 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 | isplay-buffer-alist'."...(let.(( |
| 9d60 | 77 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 | window.(window-left-child.(frame |
| 9d80 | 2d 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 | -root-window)))).....(set-window |
| 9da0 | 2d 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 | -buffer.window.buffer).....windo |
| 9dc0 | 77 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 | w))..(defun.leetcode--show-testc |
| 9de0 | 61 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 | ases-result.(problem-id.result). |
| 9e00 | 20 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 | .."Show.testcases.RESULT.by.PROB |
| 9e20 | 4c 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 | LEM-ID."...(let-alist.result.... |
| 9e40 | 20 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 | .(with-current-buffer.(get-buffe |
| 9e60 | 72 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 | r.(leetcode--result-buffer-name. |
| 9e80 | 70 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 | problem-id)).......(erase-buffer |
| 9ea0 | 29 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 | ).......(goto-char.(point-max)). |
| 9ec0 | 20 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 | ......(cond........((eq..status_ |
| 9ee0 | 63 6f 64 65 20 31 30 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 43 6f 64 65 20 41 6e 73 77 65 72 0a | code.10).........;;.Code.Answer. |
| 9f00 | 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 22 43 6f 64 65 20 41 6e 73 77 65 72 3a 5c 6e 22 | ........(insert."Code.Answer:\n" |
| 9f20 | 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 68 20 2e 63 | ).........(dotimes.(i.(length..c |
| 9f40 | 6f 64 65 5f 61 6e 73 77 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 | ode_answer))...........(insert.( |
| 9f60 | 66 6f 72 6d 61 74 20 22 25 73 5c 6e 22 20 28 61 72 65 66 20 2e 63 6f 64 65 5f 61 6e 73 77 65 72 | format."%s\n".(aref..code_answer |
| 9f80 | 20 69 29 29 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 22 5c 6e 22 29 0a 20 20 20 | .i)))).........(insert."\n").... |
| 9fa0 | 20 20 20 20 20 3b 3b 20 45 78 70 65 63 74 65 64 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 | .....;;.Expected.........(insert |
| 9fc0 | 20 22 45 78 70 65 63 74 65 64 20 43 6f 64 65 20 41 6e 73 77 65 72 3a 5c 6e 22 29 0a 20 20 20 20 | ."Expected.Code.Answer:\n")..... |
| 9fe0 | 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 65 78 70 65 63 74 65 | ....(dotimes.(i.(length..expecte |
| a000 | 64 5f 63 6f 64 65 5f 61 6e 73 77 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 | d_code_answer))...........(inser |
| a020 | 74 20 28 66 6f 72 6d 61 74 20 22 25 73 5c 6e 22 20 28 61 72 65 66 20 2e 65 78 70 65 63 74 65 64 | t.(format."%s\n".(aref..expected |
| a040 | 5f 63 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 | _code_answer.i)))).........(inse |
| a060 | 72 74 20 22 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 3b 3b 20 53 74 64 20 6f 75 74 70 75 74 0a 20 | rt."\n").........;;.Std.output.. |
| a080 | 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 73 65 71 2d 66 69 6e 64 20 28 6c 61 6d 62 64 61 20 28 | .......(when.(seq-find.(lambda.( |
| a0a0 | 73 29 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 20 2e 73 74 | s).(not.(string-empty-p.s)))..st |
| a0c0 | 64 5f 6f 75 74 70 75 74 5f 6c 69 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 | d_output_list)...........(insert |
| a0e0 | 20 22 53 74 64 20 4f 75 74 70 75 74 3a 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 20 20 28 64 6f 74 | ."Std.Output:\n")...........(dot |
| a100 | 69 6d 65 73 20 28 69 20 28 6c 65 6e 67 74 68 20 2e 73 74 64 5f 6f 75 74 70 75 74 5f 6c 69 73 74 | imes.(i.(length..std_output_list |
| a120 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 61 72 65 66 20 2e 73 74 64 5f | )).............(when.(aref..std_ |
| a140 | 6f 75 74 70 75 74 5f 6c 69 73 74 20 69 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 6e | output_list.i)...............(in |
| a160 | 73 65 72 74 20 28 61 72 65 66 20 2e 73 74 64 5f 6f 75 74 70 75 74 5f 6c 69 73 74 20 69 29 29 29 | sert.(aref..std_output_list.i))) |
| a180 | 29 29 29 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 34 29 | )))........((eq..status_code.14) |
| a1a0 | 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 2e 73 74 61 74 75 73 5f 6d 73 67 29 29 0a 20 | .........(insert..status_msg)).. |
| a1c0 | 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 35 29 0a 20 20 20 20 | ......((eq..status_code.15)..... |
| a1e0 | 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 64 2d 66 6f 6e 74 2d | ....(insert.(leetcode--add-font- |
| a200 | 6c 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 | lock..status_msg.'leetcode-error |
| a220 | 2d 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 | -face)).........(insert."\n\n"). |
| a240 | 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 2e 66 75 6c 6c 5f 72 75 6e 74 69 6d 65 5f 65 72 | ........(insert..full_runtime_er |
| a260 | 72 6f 72 29 29 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 32 | ror))........((eq..status_code.2 |
| a280 | 30 29 0a 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 | 0).........(insert.(leetcode--ad |
| a2a0 | 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 64 | d-font-lock..status_msg.'leetcod |
| a2c0 | 65 2d 65 72 72 6f 72 2d 66 61 63 65 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 22 | e-error-face)).........(insert." |
| a2e0 | 5c 6e 5c 6e 22 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 2e 66 75 6c 6c 5f 63 6f 6d | \n\n").........(insert..full_com |
| a300 | 70 69 6c 65 5f 65 72 72 6f 72 29 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 | pile_error))))))..(defun.leetcod |
| a320 | 65 2d 2d 73 68 6f 77 2d 73 75 62 6d 69 73 73 69 6f 6e 2d 72 65 73 75 6c 74 20 28 70 72 6f 62 6c | e--show-submission-result.(probl |
| a340 | 65 6d 2d 69 64 20 72 65 73 75 6c 74 29 0a 20 20 22 53 68 6f 77 20 65 72 72 6f 72 20 69 6e 66 6f | em-id.result)..."Show.error.info |
| a360 | 20 69 6e 20 60 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 | .in.`leetcode--result-buffer-nam |
| a380 | 65 27 20 62 79 20 50 52 4f 42 4c 45 4d 2d 49 44 2e 0a 45 72 72 6f 72 20 69 6e 66 6f 20 63 6f 6d | e'.by.PROBLEM-ID..Error.info.com |
| a3a0 | 65 73 20 66 72 6f 6d 20 52 45 53 55 4c 54 2e 0a 0a 53 54 41 54 55 53 5f 43 4f 44 45 20 68 61 73 | es.from.RESULT...STATUS_CODE.has |
| a3c0 | 20 66 6f 6c 6c 6f 77 69 6e 67 20 70 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 3a 0a 0a 2d 20 31 30 | .following.possible.value:..-.10 |
| a3e0 | 3a 20 41 63 63 65 70 74 65 64 0a 2d 20 31 31 3a 20 57 72 6f 6e 67 20 41 6e 77 73 65 72 0a 2d 20 | :.Accepted.-.11:.Wrong.Anwser.-. |
| a400 | 31 34 3a 20 54 69 6d 65 20 4c 69 6d 69 74 20 45 78 63 65 65 64 65 64 0a 2d 20 31 35 3a 20 52 75 | 14:.Time.Limit.Exceeded.-.15:.Ru |
| a420 | 6e 74 69 6d 65 20 45 72 72 6f 72 2e 20 20 66 75 6c 6c 5f 72 75 6e 74 69 6d 65 5f 65 72 72 6f 72 | ntime.Error...full_runtime_error |
| a440 | 0a 2d 20 32 30 3a 20 43 6f 6d 70 69 6c 65 20 45 72 72 6f 72 2e 20 20 66 75 6c 6c 5f 63 6f 6d 70 | .-.20:.Compile.Error...full_comp |
| a460 | 69 6c 65 5f 65 72 72 6f 72 22 0a 20 20 28 6c 65 74 2d 61 6c 69 73 74 20 72 65 73 75 6c 74 0a 20 | ile_error"...(let-alist.result.. |
| a480 | 20 20 20 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 | ...(with-current-buffer.(get-buf |
| a4a0 | 66 65 72 2d 63 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 | fer-create.(leetcode--result-buf |
| a4c0 | 66 65 72 2d 6e 61 6d 65 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 0a 20 20 20 20 20 20 28 65 72 61 | fer-name.problem-id)).......(era |
| a4e0 | 73 65 2d 62 75 66 66 65 72 29 0a 20 20 20 20 20 20 28 66 6f 6e 74 2d 6c 6f 63 6b 2d 6d 6f 64 65 | se-buffer).......(font-lock-mode |
| a500 | 20 2b 31 29 0a 20 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 | .+1).......(cond........((eq..st |
| a520 | 61 74 75 73 5f 63 6f 64 65 20 31 30 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 | atus_code.10).........(insert.(f |
| a540 | 6f 72 6d 61 74 20 22 53 74 61 74 75 73 3a 20 25 73 5c 6e 5c 6e 22 0a 20 20 20 20 20 20 20 20 20 | ormat."Status:.%s\n\n".......... |
| a560 | 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 2d 61 64 64 2d 66 6f | ...............(leetcode--add-fo |
| a580 | 6e 74 2d 6c 6f 63 6b 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 | nt-lock......................... |
| a5a0 | 20 28 66 6f 72 6d 61 74 20 22 25 73 20 28 25 73 2f 25 73 29 22 20 2e 73 74 61 74 75 73 5f 6d 73 | .(format."%s.(%s/%s)"..status_ms |
| a5c0 | 67 20 2e 74 6f 74 61 6c 5f 63 6f 72 72 65 63 74 20 2e 74 6f 74 61 6c 5f 74 65 73 74 63 61 73 65 | g..total_correct..total_testcase |
| a5e0 | 73 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 27 6c 65 65 | s)..........................'lee |
| a600 | 74 63 6f 64 65 2d 61 63 63 65 70 74 65 64 2d 66 61 63 65 29 29 29 0a 20 20 20 20 20 20 20 20 28 | tcode-accepted-face))).........( |
| a620 | 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 52 75 6e 74 69 6d 65 3a 20 25 73 2c 20 66 61 73 | insert.(format."Runtime:.%s,.fas |
| a640 | 74 65 72 20 74 68 61 6e 20 25 2e 32 66 25 25 20 6f 66 20 25 73 20 73 75 62 6d 69 73 73 69 6f 6e | ter.than.%.2f%%.of.%s.submission |
| a660 | 73 2e 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 | s.\n\n"......................... |
| a680 | 2e 73 74 61 74 75 73 5f 72 75 6e 74 69 6d 65 20 2e 72 75 6e 74 69 6d 65 5f 70 65 72 63 65 6e 74 | .status_runtime..runtime_percent |
| a6a0 | 69 6c 65 20 2e 70 72 65 74 74 79 5f 6c 61 6e 67 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 | ile..pretty_lang)).........(inse |
| a6c0 | 72 74 20 28 66 6f 72 6d 61 74 20 22 4d 65 6d 6f 72 79 20 55 73 61 67 65 3a 20 25 73 2c 20 6c 65 | rt.(format."Memory.Usage:.%s,.le |
| a6e0 | 73 73 20 74 68 61 6e 20 25 2e 32 66 25 25 20 6f 66 20 25 73 20 73 75 62 6d 69 73 73 69 6f 6e 73 | ss.than.%.2f%%.of.%s.submissions |
| a700 | 2e 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 2e 73 74 61 74 | ."..........................stat |
| a720 | 75 73 5f 6d 65 6d 6f 72 79 20 2e 6d 65 6d 6f 72 79 5f 70 65 72 63 65 6e 74 69 6c 65 20 2e 70 72 | us_memory..memory_percentile..pr |
| a740 | 65 74 74 79 5f 6c 61 6e 67 29 29 29 0a 20 20 20 20 20 20 20 28 28 65 71 20 2e 73 74 61 74 75 73 | etty_lang)))........((eq..status |
| a760 | 5f 63 6f 64 65 20 31 31 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 | _code.11).........(insert.(forma |
| a780 | 74 20 22 53 74 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 | t."Status:.%s\n\n".............. |
| a7a0 | 20 20 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 | ...........(leetcode--add-font-l |
| a7c0 | 6f 63 6b 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 66 6f | ock..........................(fo |
| a7e0 | 72 6d 61 74 20 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 | rmat."%s.(%s/%s)"..status_msg..t |
| a800 | 6f 74 61 6c 5f 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 | otal_correct..total_testcases).. |
| a820 | 20 20 20 20 20 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 | ........................'leetcod |
| a840 | 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 20 | e-error-face))).........(insert. |
| a860 | 28 66 6f 72 6d 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 69 | (format."Test.Case:.\n%s\n\n"..i |
| a880 | 6e 70 75 74 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 | nput)).........(insert.(format." |
| a8a0 | 41 6e 73 77 65 72 3a 20 25 73 5c 6e 5c 6e 22 20 2e 63 6f 64 65 5f 6f 75 74 70 75 74 29 29 0a 20 | Answer:.%s\n\n"..code_output)).. |
| a8c0 | 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 22 45 78 70 65 63 74 65 64 | .......(insert.(format."Expected |
| a8e0 | 20 41 6e 73 77 65 72 3a 20 25 73 5c 6e 5c 6e 22 20 2e 65 78 70 65 63 74 65 64 5f 6f 75 74 70 75 | .Answer:.%s\n\n"..expected_outpu |
| a900 | 74 29 29 0a 20 20 20 20 20 20 20 20 28 75 6e 6c 65 73 73 20 28 73 74 72 69 6e 67 2d 65 6d 70 74 | t)).........(unless.(string-empt |
| a920 | 79 2d 70 20 2e 73 74 64 5f 6f 75 74 70 75 74 29 0a 20 20 20 20 20 20 20 20 20 20 28 69 6e 73 65 | y-p..std_output)...........(inse |
| a940 | 72 74 20 28 66 6f 72 6d 61 74 20 22 53 74 64 6f 75 74 3a 20 5c 6e 25 73 5c 6e 22 20 2e 73 74 64 | rt.(format."Stdout:.\n%s\n"..std |
| a960 | 5f 6f 75 74 70 75 74 29 29 29 29 0a 20 20 20 20 20 20 20 28 28 65 71 20 2e 73 74 61 74 75 73 5f | _output))))........((eq..status_ |
| a980 | 63 6f 64 65 20 31 34 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 | code.14).........(insert.(format |
| a9a0 | 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 64 64 2d 66 6f 6e | ."Status:.%s".(leetcode--add-fon |
| a9c0 | 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 64 65 2d 65 72 72 | t-lock..status_msg.'leetcode-err |
| a9e0 | 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 22 5c 6e 22 29 | or-face))).........(insert."\n") |
| aa00 | 29 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 35 29 0a 20 | )........((eq..status_code.15).. |
| aa20 | 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 61 74 75 73 3a 20 | .......(insert.(format."Status:. |
| aa40 | 25 73 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 2e 73 74 | %s".(leetcode--add-font-lock..st |
| aa60 | 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 29 | atus_msg.'leetcode-error-face))) |
| aa80 | 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 20 20 20 20 20 20 | .........(insert."\n\n")........ |
| aaa0 | 20 28 69 6e 73 65 72 74 20 28 66 6f 72 6d 61 74 20 2e 66 75 6c 6c 5f 72 75 6e 74 69 6d 65 5f 65 | .(insert.(format..full_runtime_e |
| aac0 | 72 72 6f 72 29 29 29 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 | rror)))........((eq..status_code |
| aae0 | 20 32 30 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 | .20).........(insert.(format."St |
| ab00 | 61 74 75 73 3a 20 25 73 22 20 28 6c 65 65 74 63 6f 64 65 2d 2d 61 64 64 2d 66 6f 6e 74 2d 6c 6f | atus:.%s".(leetcode--add-font-lo |
| ab20 | 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 66 | ck..status_msg.'leetcode-error-f |
| ab40 | 61 63 65 29 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 | ace))).........(insert."\n\n").. |
| ab60 | 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 6c 5f 63 6f 6d | .......(insert.(format..full_com |
| ab80 | 70 69 6c 65 5f 65 72 72 6f 72 29 29 29 29 0a 20 20 20 20 20 20 28 64 69 73 70 6c 61 79 2d 62 75 | pile_error)))).......(display-bu |
| aba0 | 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 20 20 20 20 20 20 | ffer.(current-buffer)........... |
| abc0 | 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 2d 72 65 | ............'((display-buffer-re |
| abe0 | 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 20 20 20 | use-window...................... |
| ac00 | 20 20 20 20 6c 65 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 | ....leetcode--display-result)... |
| ac20 | 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 2d | ......................(reusable- |
| ac40 | 66 72 61 6d 65 73 20 2e 20 76 69 73 69 62 6c 65 29 29 29 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c | frames...visible))))))..(defun.l |
| ac60 | 65 65 74 63 6f 64 65 2d 2d 73 68 6f 77 2d 70 72 6f 62 6c 65 6d 20 28 70 72 6f 62 6c 65 6d 29 0a | eetcode--show-problem.(problem). |
| ac80 | 20 20 22 53 68 6f 77 20 74 68 65 20 64 65 74 61 69 6c 20 6f 66 20 50 52 4f 42 4c 45 4d 2e 0a 55 | .."Show.the.detail.of.PROBLEM..U |
| aca0 | 73 65 20 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 | se.`shr-render-buffer'.to.render |
| acc0 | 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 6f 6e 0a 77 69 6c | .problem.detail..This.action.wil |
| ace0 | 6c 20 73 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 | l.show.the.detail.in.other.windo |
| ad00 | 77 20 61 6e 64 20 6a 75 6d 70 20 74 6f 20 69 74 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 70 72 6f | w.and.jump.to.it."...(let*.((pro |
| ad20 | 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 64 20 70 72 6f | blem-id.(leetcode-problem-id.pro |
| ad40 | 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 69 74 6c 65 20 28 6c 65 65 74 63 6f 64 65 | blem))..........(title.(leetcode |
| ad60 | 2d 70 72 6f 62 6c 65 6d 2d 74 69 74 6c 65 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 | -problem-title.problem))........ |
| ad80 | 20 20 28 64 69 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 | ..(difficulty.(leetcode-problem- |
| ada0 | 64 69 66 66 69 63 75 6c 74 79 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 6c | difficulty.problem))..........(l |
| adc0 | 69 6b 65 73 20 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 | ikes.(leetcode-problem-likes.pro |
| ade0 | 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 64 69 73 6c 69 6b 65 73 20 28 6c 65 65 74 63 | blem))..........(dislikes.(leetc |
| ae00 | 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 64 69 73 6c 69 6b 65 73 20 70 72 6f 62 6c 65 6d 29 29 0a 20 | ode-problem-dislikes.problem)).. |
| ae20 | 20 20 20 20 20 20 20 20 28 63 6f 6e 74 65 6e 74 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c | ........(content.(leetcode-probl |
| ae40 | 65 6d 2d 63 6f 6e 74 65 6e 74 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 62 | em-content.problem))..........(b |
| ae60 | 75 66 2d 6e 61 6d 65 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 | uf-name.(leetcode--detail-buffer |
| ae80 | 2d 6e 61 6d 65 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 0a 20 20 20 20 20 20 20 20 20 28 68 74 6d | -name.problem-id))..........(htm |
| aea0 | 6c 2d 6d 61 72 67 69 6e 20 22 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 | l-margin." &nbs |
| aec0 | 70 3b 22 29 29 0a 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 64 65 62 75 67 20 22 73 65 6c 65 | p;")).....(leetcode--debug."sele |
| aee0 | 63 74 20 74 69 74 6c 65 3a 20 25 73 22 20 74 69 74 6c 65 29 0a 20 20 20 20 28 6c 65 65 74 63 6f | ct.title:.%s".title).....(leetco |
| af00 | 64 65 2d 2d 6d 61 79 62 65 2d 66 6f 63 75 73 29 0a 20 20 20 20 3b 3b 20 4b 69 6c 6c 20 64 65 66 | de--maybe-focus).....;;.Kill.def |
| af20 | 61 69 6c 20 62 75 66 66 65 72 20 69 66 20 65 78 69 73 74 73 2c 20 77 65 27 6c 6c 20 72 65 2d 63 | ail.buffer.if.exists,.we'll.re-c |
| af40 | 72 65 61 74 65 20 61 20 6e 65 77 20 6f 6e 65 2e 0a 20 20 20 20 28 77 68 65 6e 20 28 67 65 74 2d | reate.a.new.one......(when.(get- |
| af60 | 62 75 66 66 65 72 20 62 75 66 2d 6e 61 6d 65 29 20 28 6b 69 6c 6c 2d 62 75 66 66 65 72 20 62 75 | buffer.buf-name).(kill-buffer.bu |
| af80 | 66 2d 6e 61 6d 65 29 29 0a 20 20 20 20 3b 3b 20 52 65 6e 64 65 72 20 71 75 65 73 74 69 6f 6e 20 | f-name)).....;;.Render.question. |
| afa0 | 77 69 74 68 20 60 73 68 72 27 2e 0a 20 20 20 20 28 77 69 74 68 2d 74 65 6d 70 2d 62 75 66 66 65 | with.`shr'......(with-temp-buffe |
| afc0 | 72 0a 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 63 6f 6e 63 61 74 20 22 3c 68 31 3e 22 20 70 | r.......(insert.(concat."<h1>".p |
| afe0 | 72 6f 62 6c 65 6d 2d 69 64 20 22 2e 20 22 20 74 69 74 6c 65 20 22 3c 2f 68 31 3e 22 29 29 0a 20 | roblem-id."..".title."</h1>")).. |
| b000 | 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 63 6f 6e 63 61 74 20 28 63 61 70 69 74 61 6c 69 7a 65 | .....(insert.(concat.(capitalize |
| b020 | 20 64 69 66 66 69 63 75 6c 74 79 29 20 68 74 6d 6c 2d 6d 61 72 67 69 6e 0a 20 20 20 20 20 20 20 | .difficulty).html-margin........ |
| b040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6c 69 6b 65 73 3a 20 22 20 28 6e 75 6d 62 65 72 | ..............."likes:.".(number |
| b060 | 2d 74 6f 2d 73 74 72 69 6e 67 20 6c 69 6b 65 73 29 20 68 74 6d 6c 2d 6d 61 72 67 69 6e 0a 20 20 | -to-string.likes).html-margin... |
| b080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 64 69 73 6c 69 6b 65 73 3a 20 22 | ...................."dislikes:." |
| b0a0 | 20 28 6e 75 6d 62 65 72 2d 74 6f 2d 73 74 72 69 6e 67 20 64 69 73 6c 69 6b 65 73 29 29 29 0a 20 | .(number-to-string.dislikes))).. |
| b0c0 | 20 20 20 20 20 3b 3b 20 53 6f 6d 65 74 69 6d 65 73 20 4c 65 65 74 43 6f 64 65 20 64 6f 6e 27 74 | .....;;.Sometimes.LeetCode.don't |
| b0e0 | 20 68 61 76 65 20 61 20 27 3c 70 3e 27 20 61 74 20 74 68 65 20 6f 75 74 65 72 6d 6f 73 74 2e 2e | .have.a.'<p>'.at.the.outermost.. |
| b100 | 2e 0a 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 22 3c 70 3e 22 20 63 6f 6e 74 65 6e 74 20 22 3c | ........(insert."<p>".content."< |
| b120 | 2f 70 3e 22 29 0a 20 20 20 20 20 20 28 73 65 74 71 20 73 68 72 2d 63 75 72 72 65 6e 74 2d 66 6f | /p>").......(setq.shr-current-fo |
| b140 | 6e 74 20 74 29 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 | nt.t).......(leetcode--replace-i |
| b160 | 6e 2d 62 75 66 66 65 72 20 22 0d 22 20 22 22 29 0a 20 20 20 20 20 20 3b 3b 20 4e 4f 54 45 3a 20 | n-buffer."."."").......;;.NOTE:. |
| b180 | 73 68 72 2e 65 6c 20 63 61 6e 27 74 20 72 65 6e 64 65 72 20 22 68 74 74 70 73 3a 2f 2f 78 78 78 | shr.el.can't.render."https://xxx |
| b1a0 | 78 2e 70 6e 67 22 2c 20 73 6f 20 77 65 20 75 73 65 20 22 68 74 74 70 22 0a 20 20 20 20 20 20 28 | x.png",.so.we.use."http".......( |
| b1c0 | 6c 65 65 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 68 74 74 | leetcode--replace-in-buffer."htt |
| b1e0 | 70 73 22 20 22 68 74 74 70 22 29 0a 20 20 20 20 20 20 28 73 68 72 2d 72 65 6e 64 65 72 2d 62 75 | ps"."http").......(shr-render-bu |
| b200 | 66 66 65 72 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 29 0a 0a 20 20 20 20 3b 3b 20 | ffer.(current-buffer)))......;;. |
| b220 | 60 73 68 72 2d 72 65 6e 64 65 72 2d 62 75 66 66 65 72 27 20 77 69 6c 6c 20 70 75 74 20 74 68 65 | `shr-render-buffer'.will.put.the |
| b240 | 20 72 65 73 75 6c 74 20 69 6e 20 62 75 66 66 65 72 20 2a 68 74 6d 6c 2a 2e 0a 20 20 20 20 28 77 | .result.in.buffer.*html*......(w |
| b260 | 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 20 22 2a 68 74 6d 6c 2a 22 0a 20 20 20 20 | ith-current-buffer."*html*"..... |
| b280 | 20 20 28 73 61 76 65 2d 6d 61 74 63 68 2d 64 61 74 61 0a 20 20 20 20 20 20 20 20 28 72 65 2d 73 | ..(save-match-data.........(re-s |
| b2a0 | 65 61 72 63 68 2d 66 6f 72 77 61 72 64 20 22 64 69 73 6c 69 6b 65 73 3a 20 2e 2a 22 20 6e 69 6c | earch-forward."dislikes:..*".nil |
| b2c0 | 20 74 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 6d 61 6b 65 2d 73 74 72 69 6e 67 | .t).........(insert.(make-string |
| b2e0 | 20 34 20 3f 5c 73 29 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 2d 74 65 78 74 2d 62 75 | .4.?\s)).........(insert-text-bu |
| b300 | 74 74 6f 6e 20 22 53 6f 6c 76 65 20 69 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tton."Solve.it"................. |
| b320 | 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 28 62 74 6e | ............'action.(lambda.(btn |
| b340 | 29 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 74 61 72 74 2d 63 6f 64 69 6e 67 20 70 72 6f 62 6c 65 | ).(leetcode--start-coding.proble |
| b360 | 6d 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 | m))............................. |
| b380 | 27 68 65 6c 70 2d 65 63 68 6f 20 22 53 6f 6c 76 65 20 74 68 65 20 70 72 6f 62 6c 65 6d 2e 22 29 | 'help-echo."Solve.the.problem.") |
| b3a0 | 0a 20 20 20 20 20 20 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 | .........(insert.(make-string.4. |
| b3c0 | 3f 5c 73 29 29 0a 20 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 | ?\s)).........(insert-text-butto |
| b3e0 | 6e 20 22 4c 69 6e 6b 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 | n."Link"........................ |
| b400 | 20 20 20 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 | .....'action.(lambda.(btn).(brow |
| b420 | 73 65 2d 75 72 6c 20 28 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 6c 69 6e 6b 20 74 | se-url.(leetcode--problem-link.t |
| b440 | 69 74 6c 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 | itle)))......................... |
| b460 | 20 20 20 20 27 68 65 6c 70 2d 65 63 68 6f 20 22 4f 70 65 6e 20 74 68 65 20 70 72 6f 62 6c 65 6d | ....'help-echo."Open.the.problem |
| b480 | 20 69 6e 20 62 72 6f 77 73 65 72 2e 22 29 0a 20 20 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 | .in.browser.").........(insert.( |
| b4a0 | 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 |
| b4c0 | 65 72 74 2d 74 65 78 74 2d 62 75 74 74 6f 6e 20 22 53 6f 6c 75 74 69 6f 6e 22 0a 20 20 20 20 20 | ert-text-button."Solution"...... |
| b4e0 | 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.( |
| b500 | 6c 61 6d 62 64 61 20 28 62 74 6e 29 20 28 62 72 6f 77 73 65 2d 75 72 6c 20 28 63 6f 6e 63 61 74 | lambda.(btn).(browse-url.(concat |
| b520 | 20 28 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 6c 69 6e 6b 20 74 69 74 6c 65 29 20 | .(leetcode--problem-link.title). |
| b540 | 22 2f 73 6f 6c 75 74 69 6f 6e 22 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "/solution"))).................. |
| b560 | 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 74 68 65 20 | ...........'help-echo."Open.the. |
| b580 | 70 72 6f 62 6c 65 6d 20 73 6f 6c 75 74 69 6f 6e 20 70 61 67 65 20 69 6e 20 62 72 6f 77 73 65 72 | problem.solution.page.in.browser |
| b5a0 | 2e 22 29 29 0a 20 20 20 20 20 20 28 72 65 6e 61 6d 65 2d 62 75 66 66 65 72 20 62 75 66 2d 6e 61 | .")).......(rename-buffer.buf-na |
| b5c0 | 6d 65 29 0a 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 2d 64 65 74 | me).......(leetcode--problem-det |
| b5e0 | 61 69 6c 2d 6d 6f 64 65 29 0a 20 20 20 20 20 20 28 73 77 69 74 63 68 2d 74 6f 2d 62 75 66 66 65 | ail-mode).......(switch-to-buffe |
| b600 | 72 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 0a 20 20 20 20 20 20 28 73 65 61 72 63 | r.(current-buffer)).......(searc |
| b620 | 68 2d 62 61 63 6b 77 61 72 64 20 22 53 6f 6c 76 65 20 69 74 22 29 29 29 29 0a 0a 28 61 69 6f 2d | h-backward."Solve.it"))))..(aio- |
| b640 | 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 20 28 70 72 6f | defun.leetcode-show-problem.(pro |
| b660 | 62 6c 65 6d 2d 69 64 29 0a 20 20 22 53 68 6f 77 20 74 68 65 20 64 65 74 61 69 6c 20 6f 66 20 70 | blem-id)..."Show.the.detail.of.p |
| b680 | 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 0a 47 65 74 20 70 | roblem.with.id.PROBLEM-ID..Get.p |
| b6a0 | 72 6f 62 6c 65 6d 20 62 79 20 69 64 20 61 6e 64 20 75 73 65 20 60 73 68 72 2d 72 65 6e 64 65 72 | roblem.by.id.and.use.`shr-render |
| b6c0 | 2d 62 75 66 66 65 72 27 20 74 6f 20 72 65 6e 64 65 72 20 70 72 6f 62 6c 65 6d 0a 64 65 74 61 69 | -buffer'.to.render.problem.detai |
| b6e0 | 6c 2e 20 54 68 69 73 20 61 63 74 69 6f 6e 20 77 69 6c 6c 20 73 68 6f 77 20 74 68 65 20 64 65 74 | l..This.action.will.show.the.det |
| b700 | 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 0a 74 6f 20 | ail.in.other.window.and.jump.to. |
| b720 | 69 74 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 | it."...(interactive.(list.(read- |
| b740 | 73 74 72 69 6e 67 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 | string."Show.problem.by.problem. |
| b760 | 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:."........................... |
| b780 | 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 |
| b7a0 | 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. |
| b7c0 | 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 |
| b7e0 | 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.( |
| b800 | 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 |
| b820 | 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 |
| b840 | 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- |
| b860 | 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)))....... |
| b880 | 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 |
| b8a0 | 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 |
| b8c0 | 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 |
| b8e0 | 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 |
| b900 | 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 |
| b920 | 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- |
| b940 | 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 |
| b960 | 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 |
| b980 | 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 |
| b9a0 | 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)))..( |
| b9c0 | 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 |
| b9e0 | 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 |
| ba00 | 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.. |
| ba20 | 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 |
| ba40 | 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 |
| ba60 | 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 |
| ba80 | 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. |
| baa0 | 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 |
| bac0 | 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 |
| bae0 | 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. |
| bb00 | 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 |
| bb20 | 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\ |
| bb40 | 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- |
| bb60 | 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. |
| bb80 | 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:."........................... |
| bba0 | 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 |
| bbc0 | 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. |
| bbe0 | 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 |
| bc00 | 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 |
| bc20 | 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 |
| bc40 | 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)) |
| bc60 | 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- |
| bc80 | 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 |
| bca0 | 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 |
| bcc0 | 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 |
| bce0 | 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 |
| bd00 | 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 |
| bd20 | 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 |
| bd40 | 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 |
| bd60 | 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 |
| bd80 | 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- |
| bda0 | 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 |
| bdc0 | 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' |
| bde0 | 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- |
| be00 | 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 |
| be20 | 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 |
| be40 | 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 |
| be60 | 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.( |
| be80 | 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 |
| bea0 | 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:."...................... |
| bec0 | 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 |
| bee0 | 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. |
| bf00 | 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 |
| bf20 | 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- |
| bf40 | 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- |
| bf60 | 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 |
| bf80 | 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. |
| bfa0 | 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 |
| bfc0 | 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 |
| bfe0 | 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 |
| c000 | 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 |
| c020 | 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. |
| c040 | 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 |
| c060 | 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 |
| c080 | 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- |
| c0a0 | 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 |
| c0c0 | 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 |
| c0e0 | 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- |
| c100 | 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.( |
| c120 | 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 |
| c140 | 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:."............. |
| c160 | 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- |
| c180 | 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 |
| c1a0 | 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 |
| c1c0 | 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))......... |
| c1e0 | 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. |
| c200 | 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 |
| c220 | 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 |
| c240 | 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: |
| c260 | 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) |
| c280 | 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 |
| c2a0 | 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 |
| c2c0 | 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 |
| c2e0 | 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 |
| c300 | 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 |
| c320 | 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 |
| c340 | 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 |
| c360 | 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 |
| c380 | 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.( |
| c3a0 | 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. |
| c3c0 | 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."...( |
| c3e0 | 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." |
| c400 | 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:.".... |
| c420 | 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 | ...............................( |
| c440 | 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 |
| c460 | 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 |
| c480 | 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)) |
| c4a0 | 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 |
| c4c0 | 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 |
| c4e0 | 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 |
| c500 | 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 |
| c520 | 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 |
| c540 | 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 |
| c560 | 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 |
| c580 | 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 |
| c5a0 | 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- |
| c5c0 | 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- |
| c5e0 | 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 |
| c600 | 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- |
| c620 | 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 |
| c640 | 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 |
| c660 | 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 |
| c680 | 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 |
| c6a0 | 6c 65 74 65 20 69 74 73 20 77 69 6e 64 6f 77 2e 22 0a 20 20 28 64 65 6c 65 74 65 2d 77 69 6e 64 | lete.its.window."...(delete-wind |
| c6c0 | 6f 77 73 2d 6f 6e 20 62 75 66 20 74 29 0a 20 20 28 6b 69 6c 6c 2d 62 75 66 66 65 72 20 62 75 66 | ows-on.buf.t)...(kill-buffer.buf |
| c6e0 | 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 71 75 69 74 20 28 29 0a 20 20 22 43 | ))..(defun.leetcode-quit.()..."C |
| c700 | 6c 6f 73 65 20 61 6e 64 20 64 65 6c 65 74 65 20 6c 65 65 74 63 6f 64 65 20 72 65 6c 61 74 65 64 | lose.and.delete.leetcode.related |
| c720 | 20 62 75 66 66 65 72 73 20 61 6e 64 20 77 69 6e 64 6f 77 73 2e 22 0a 20 20 28 69 6e 74 65 72 61 | .buffers.and.windows."...(intera |
| c740 | 63 74 69 76 65 29 0a 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 | ctive)...(leetcode--kill-buff-an |
| c760 | 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 6c 65 65 74 | d-delete-window.(get-buffer.leet |
| c780 | 63 6f 64 65 2d 2d 62 75 66 66 65 72 2d 6e 61 6d 65 29 29 0a 20 20 28 6d 61 70 63 20 28 6c 61 6d | code--buffer-name))...(mapc.(lam |
| c7a0 | 62 64 61 20 28 74 69 74 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d | bda.(title)...........(leetcode- |
| c7c0 | 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 0a 20 20 20 | -kill-buff-and-delete-window.... |
| c7e0 | 20 20 20 20 20 20 20 20 28 67 65 74 2d 62 75 66 66 65 72 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 | ........(get-buffer.(leetcode--g |
| c800 | 65 74 2d 63 6f 64 65 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 74 69 74 6c 65 29 29 29 0a 20 20 20 | et-code-buffer-name.title))).... |
| c820 | 20 20 20 20 20 20 20 28 6c 65 74 2a 20 28 28 73 6c 75 67 2d 74 69 74 6c 65 20 28 6c 65 65 74 63 | .......(let*.((slug-title.(leetc |
| c840 | 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 20 20 20 20 | ode--slugify-title.title))...... |
| c860 | 20 20 20 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 | ............(problem.(leetcode-- |
| c880 | 67 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 | get-problem.slug-title))........ |
| c8a0 | 20 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 | ..........(problem-id.(leetcode- |
| c8c0 | 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 20 20 20 20 20 20 | problem-id.problem)))........... |
| c8e0 | 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 64 65 6c 65 74 | ..(leetcode--kill-buff-and-delet |
| c900 | 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 74 63 6f 64 65 2d 2d | e-window.(get-buffer.(leetcode-- |
| c920 | 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 69 64 29 29 29 | detail-buffer-name.problem-id))) |
| c940 | 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 6c 6c 2d 62 75 66 | .............(leetcode--kill-buf |
| c960 | 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 75 66 66 65 72 20 | f-and-delete-window.(get-buffer. |
| c980 | 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 72 | (leetcode--result-buffer-name.pr |
| c9a0 | 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 65 65 74 63 6f 64 | oblem-id))).............(leetcod |
| c9c0 | 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 20 28 | e--kill-buff-and-delete-window.( |
| c9e0 | 67 65 74 2d 62 75 66 66 65 72 20 28 6c 65 65 74 63 6f 64 65 2d 2d 74 65 73 74 63 61 73 65 2d 62 | get-buffer.(leetcode--testcase-b |
| ca00 | 75 66 66 65 72 2d 6e 61 6d 65 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 29 29 29 0a 20 20 20 20 20 | uffer-name.problem-id)))))...... |
| ca20 | 20 20 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 29 29 0a 0a 28 | ...leetcode--problem-titles))..( |
| ca40 | 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 73 65 74 2d 6c 61 6e 67 20 28 73 6e 69 70 70 65 | defun.leetcode--set-lang.(snippe |
| ca60 | 74 73 29 0a 20 20 22 53 65 74 20 60 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 27 20 62 61 73 65 | ts)..."Set.`leetcode--lang'.base |
| ca80 | 64 20 6f 6e 20 6c 61 6e 67 53 6c 75 67 20 69 6e 20 53 4e 49 50 50 45 54 53 2e 22 0a 20 20 28 73 | d.on.langSlug.in.SNIPPETS."...(s |
| caa0 | 65 74 71 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 0a 20 20 20 20 20 20 20 20 3b 3b 20 69 66 | etq.leetcode--lang.........;;.if |
| cac0 | 20 74 68 65 72 65 20 69 73 20 61 20 6d 79 73 71 6c 20 73 6e 69 70 70 65 74 2c 20 77 65 20 75 73 | .there.is.a.mysql.snippet,.we.us |
| cae0 | 65 20 60 6c 65 65 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 73 71 6c 27 2e 0a 20 20 20 20 20 20 20 | e.`leetcode-prefer-sql'......... |
| cb00 | 20 28 69 66 20 28 73 65 71 2d 66 69 6e 64 20 28 6c 61 6d 62 64 61 20 28 73 29 0a 20 20 20 20 20 | .(if.(seq-find.(lambda.(s)...... |
| cb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 28 6c 65 65 74 63 | ...................(equal.(leetc |
| cb40 | 6f 64 65 2d 73 6e 69 70 70 65 74 2d 6c 61 6e 67 2d 73 6c 75 67 20 73 29 0a 20 20 20 20 20 20 20 | ode-snippet-lang-slug.s)........ |
| cb60 | 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 65 65 74 63 6f 64 65 | ........................leetcode |
| cb80 | 2d 70 72 65 66 65 72 2d 73 71 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -prefer-sql))................... |
| cba0 | 20 20 20 20 73 6e 69 70 70 65 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f | ....snippets).............leetco |
| cbc0 | 64 65 2d 70 72 65 66 65 72 2d 73 71 6c 0a 20 20 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f 64 65 | de-prefer-sql...........leetcode |
| cbe0 | 2d 70 72 65 66 65 72 2d 6c 61 6e 67 75 61 67 65 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 | -prefer-language)))..(defun.leet |
| cc00 | 63 6f 64 65 2d 2d 67 65 74 2d 63 6f 64 65 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 28 74 69 74 6c | code--get-code-buffer-name.(titl |
| cc20 | 65 29 0a 20 20 22 47 65 74 20 63 6f 64 65 20 62 75 66 66 65 72 20 6e 61 6d 65 20 62 79 20 54 49 | e)..."Get.code.buffer.name.by.TI |
| cc40 | 54 4c 45 20 61 6e 64 20 60 6c 65 65 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 6c 61 6e 67 75 61 67 | TLE.and.`leetcode-prefer-languag |
| cc60 | 65 27 2e 22 0a 20 20 28 6c 65 74 2a 20 28 28 73 75 66 66 69 78 20 28 61 73 73 6f 63 2d 64 65 66 | e'."...(let*.((suffix.(assoc-def |
| cc80 | 61 75 6c 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f 64 65 2d | ault...................leetcode- |
| cca0 | 2d 6c 61 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 65 74 63 6f 64 65 | -lang...................leetcode |
| ccc0 | 2d 2d 6c 61 6e 67 2d 73 75 66 66 69 78 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 6c 75 67 | --lang-suffixes))..........(slug |
| cce0 | 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 74 6c 65 20 | -title.(leetcode--slugify-title. |
| cd00 | 74 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 69 74 6c 65 2d 77 69 74 68 2d 73 75 66 | title))..........(title-with-suf |
| cd20 | 66 69 78 20 28 63 6f 6e 63 61 74 20 73 6c 75 67 2d 74 69 74 6c 65 20 73 75 66 66 69 78 29 29 29 | fix.(concat.slug-title.suffix))) |
| cd40 | 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 6e 73 | .....(if.leetcode-save-solutions |
| cd60 | 0a 20 20 20 20 20 20 20 20 28 66 6f 72 6d 61 74 20 22 25 73 5f 25 73 22 20 28 6c 65 65 74 63 6f | .........(format."%s_%s".(leetco |
| cd80 | 64 65 2d 2d 67 65 74 2d 70 72 6f 62 6c 65 6d 2d 69 64 20 73 6c 75 67 2d 74 69 74 6c 65 29 20 74 | de--get-problem-id.slug-title).t |
| cda0 | 69 74 6c 65 2d 77 69 74 68 2d 73 75 66 66 69 78 29 0a 20 20 20 20 20 20 74 69 74 6c 65 2d 77 69 | itle-with-suffix).......title-wi |
| cdc0 | 74 68 2d 73 75 66 66 69 78 29 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 67 | th-suffix)))..(defun.leetcode--g |
| cde0 | 65 74 2d 63 6f 64 65 2d 62 75 66 66 65 72 20 28 62 75 66 2d 6e 61 6d 65 29 0a 20 20 22 47 65 74 | et-code-buffer.(buf-name)..."Get |
| ce00 | 20 63 6f 64 65 20 62 75 66 66 65 72 20 62 79 20 42 55 46 2d 4e 41 4d 45 2e 22 0a 20 20 28 69 66 | .code.buffer.by.BUF-NAME."...(if |
| ce20 | 20 28 6e 6f 74 20 6c 65 65 74 63 6f 64 65 2d 73 61 76 65 2d 73 6f 6c 75 74 69 6f 6e 73 29 0a 20 | .(not.leetcode-save-solutions).. |
| ce40 | 20 20 20 20 20 28 67 65 74 2d 62 75 66 66 65 72 2d 63 72 65 61 74 65 20 62 75 66 2d 6e 61 6d 65 | .....(get-buffer-create.buf-name |
| ce60 | 29 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 28 66 69 6c 65 2d 64 69 72 65 63 74 6f 72 79 2d 70 20 | ).....(unless.(file-directory-p. |
| ce80 | 6c 65 65 74 63 6f 64 65 2d 64 69 72 65 63 74 6f 72 79 29 0a 20 20 20 20 20 20 28 6d 61 6b 65 2d | leetcode-directory).......(make- |
| cea0 | 64 69 72 65 63 74 6f 72 79 20 6c 65 65 74 63 6f 64 65 2d 64 69 72 65 63 74 6f 72 79 29 29 0a 20 | directory.leetcode-directory)).. |
| cec0 | 20 20 20 28 66 69 6e 64 2d 66 69 6c 65 2d 6e 6f 73 65 6c 65 63 74 0a 20 20 20 20 20 28 63 6f 6e | ...(find-file-noselect......(con |
| cee0 | 63 61 74 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 20 6c 65 65 74 | cat.(file-name-as-directory.leet |
| cf00 | 63 6f 64 65 2d 64 69 72 65 63 74 6f 72 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 66 | code-directory)..............buf |
| cf20 | 2d 6e 61 6d 65 29 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 | -name))))..(defun.leetcode--get- |
| cf40 | 70 72 6f 62 6c 65 6d 20 28 73 6c 75 67 2d 74 69 74 6c 65 29 0a 20 20 22 47 65 74 20 70 72 6f 62 | problem.(slug-title)..."Get.prob |
| cf60 | 6c 65 6d 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 20 62 79 | lem.from.`leetcode--problems'.by |
| cf80 | 20 53 4c 55 47 2d 54 49 54 4c 45 2e 22 0a 20 20 28 73 65 71 2d 66 69 6e 64 20 28 6c 61 6d 62 64 | .SLUG-TITLE."...(seq-find.(lambd |
| cfa0 | 61 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 71 75 61 6c 20 73 6c 75 67 2d | a.(p)...............(equal.slug- |
| cfc0 | 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 2d 73 6c | title.(leetcode-problem-title-sl |
| cfe0 | 75 67 20 70 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 70 72 | ug.p))).............(leetcode-pr |
| d000 | 6f 62 6c 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 | oblems-problems.leetcode--proble |
| d020 | 6d 73 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 70 72 6f 62 | ms)))..(defun.leetcode--get-prob |
| d040 | 6c 65 6d 2d 62 79 2d 69 64 20 28 69 64 29 0a 20 20 22 47 65 74 20 70 72 6f 62 6c 65 6d 20 66 72 | lem-by-id.(id)..."Get.problem.fr |
| d060 | 6f 6d 20 60 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f 62 6c 65 6d 73 27 20 62 79 20 49 44 2e 22 0a | om.`leetcode--problems'.by.ID.". |
| d080 | 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 20 20 20 20 20 | ..(seq-find.(lambda.(p)......... |
| d0a0 | 20 20 20 20 20 20 28 65 71 75 61 6c 20 69 64 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 | ......(equal.id.(leetcode-proble |
| d0c0 | 6d 2d 69 64 20 70 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 | m-id.p))).............(leetcode- |
| d0e0 | 70 72 6f 62 6c 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 | problems-problems.leetcode--prob |
| d100 | 6c 65 6d 73 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 70 72 | lems)))..(defun.leetcode--get-pr |
| d120 | 6f 62 6c 65 6d 2d 69 64 20 28 73 6c 75 67 2d 74 69 74 6c 65 29 0a 20 20 22 47 65 74 20 70 72 6f | oblem-id.(slug-title)..."Get.pro |
| d140 | 62 6c 65 6d 20 69 64 20 62 79 20 53 4c 55 47 2d 54 49 54 4c 45 2e 22 0a 20 20 28 6c 65 74 20 28 | blem.id.by.SLUG-TITLE."...(let.( |
| d160 | 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 6d 20 | (problem.(leetcode--get-problem. |
| d180 | 73 6c 75 67 2d 74 69 74 6c 65 29 29 29 0a 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 | slug-title))).....(leetcode-prob |
| d1a0 | 6c 65 6d 2d 69 64 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 | lem-id.problem)))..(defun.leetco |
| d1c0 | 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 20 28 29 0a 20 20 | de--get-current-problem-id.()... |
| d1e0 | 22 47 65 74 20 69 64 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 70 72 6f 62 6c 65 6d 2e 22 | "Get.id.of.the.current.problem." |
| d200 | 0a 20 20 28 61 72 65 66 20 28 74 61 62 75 6c 61 74 65 64 2d 6c 69 73 74 2d 67 65 74 2d 65 6e 74 | ...(aref.(tabulated-list-get-ent |
| d220 | 72 79 29 20 31 29 29 0a 0a 28 64 65 66 75 6e 20 6c 65 65 74 63 6f 64 65 2d 2d 73 74 61 72 74 2d | ry).1))..(defun.leetcode--start- |
| d240 | 63 6f 64 69 6e 67 20 28 70 72 6f 62 6c 65 6d 29 0a 20 20 22 43 72 65 61 74 65 20 61 20 62 75 66 | coding.(problem)..."Create.a.buf |
| d260 | 66 65 72 20 66 6f 72 20 63 6f 64 69 6e 67 20 50 52 4f 42 4c 45 4d 2e 0a 54 68 65 20 62 75 66 66 | fer.for.coding.PROBLEM..The.buff |
| d280 | 65 72 20 77 69 6c 6c 20 62 65 20 6e 6f 74 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 61 | er.will.be.not.associated.with.a |
| d2a0 | 6e 79 20 66 69 6c 65 2e 20 20 49 74 20 77 69 6c 6c 20 63 68 6f 6f 73 65 0a 6d 61 6a 6f 72 20 6d | ny.file...It.will.choose.major.m |
| d2c0 | 6f 64 65 20 62 79 20 60 6c 65 65 74 63 6f 64 65 2d 70 72 65 66 65 72 2d 6c 61 6e 67 75 61 67 65 | ode.by.`leetcode-prefer-language |
| d2e0 | 27 61 6e 64 20 60 61 75 74 6f 2d 6d 6f 64 65 2d 61 6c 69 73 74 27 2e 22 0a 20 20 28 6c 65 74 2a | 'and.`auto-mode-alist'."...(let* |
| d300 | 20 28 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 | .((title.(leetcode-problem-title |
| d320 | 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 73 6c 75 67 2d 74 69 74 6c 65 20 | .problem))..........(slug-title. |
| d340 | 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 75 67 20 70 72 6f | (leetcode-problem-title-slug.pro |
| d360 | 62 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 | blem))..........(problem-id.(lee |
| d380 | 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))...... |
| d3a0 | 20 20 20 20 28 73 6e 69 70 70 65 74 73 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d | ....(snippets.(leetcode-problem- |
| d3c0 | 73 6e 69 70 70 65 74 73 20 70 72 6f 62 6c 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 28 74 65 73 | snippets.problem))..........(tes |
| d3e0 | 74 63 61 73 65 73 20 28 6c 65 65 74 63 6f 64 65 2d 70 72 6f 62 6c 65 6d 2d 74 65 73 74 63 61 73 | tcases.(leetcode-problem-testcas |
| d400 | 65 73 20 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 2d | es.problem))..........(testcase- |
| d420 | 62 75 66 2d 6e 61 6d 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 74 65 73 74 63 61 73 65 2d 62 75 66 | buf-name.(leetcode--testcase-buf |
| d440 | 66 65 72 2d 6e 61 6d 65 20 70 72 6f 62 6c 65 6d 2d 69 64 29 29 0a 20 20 20 20 20 20 20 20 20 28 | fer-name.problem-id))..........( |
| d460 | 72 65 73 75 6c 74 2d 62 75 66 2d 6e 61 6d 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d 72 65 73 75 6c | result-buf-name.(leetcode--resul |
| d480 | 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 0a 20 20 20 | t-buffer-name.problem-id)))..... |
| d4a0 | 20 3b 3b 20 52 65 63 6f 72 64 20 77 69 6e 64 6f 77 73 20 6f 70 65 6e 65 64 20 66 6f 72 20 6c 61 | .;;.Record.windows.opened.for.la |
| d4c0 | 74 65 72 20 63 6c 65 61 6e 75 70 2e 0a 20 20 20 20 28 75 6e 6c 65 73 73 20 28 6d 65 6d 62 65 72 | ter.cleanup......(unless.(member |
| d4e0 | 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 65 73 29 | .title.leetcode--problem-titles) |
| d500 | 0a 20 20 20 20 20 20 28 70 75 73 68 20 74 69 74 6c 65 20 6c 65 65 74 63 6f 64 65 2d 2d 70 72 6f | .......(push.title.leetcode--pro |
| d520 | 62 6c 65 6d 2d 74 69 74 6c 65 73 29 29 0a 0a 20 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 6f | blem-titles))......(leetcode--so |
| d540 | 6c 76 69 6e 67 2d 77 69 6e 64 6f 77 2d 6c 61 79 6f 75 74 29 0a 0a 20 20 20 20 3b 3b 20 53 65 74 | lving-window-layout)......;;.Set |
| d560 | 20 63 75 72 72 65 6e 74 20 70 72 6f 67 72 61 6d 6d 69 6e 67 20 6c 61 6e 67 75 61 67 65 2e 0a 20 | .current.programming.language... |
| d580 | 20 20 20 28 6c 65 65 74 63 6f 64 65 2d 2d 73 65 74 2d 6c 61 6e 67 20 73 6e 69 70 70 65 74 73 29 | ...(leetcode--set-lang.snippets) |
| d5a0 | 0a 0a 20 20 20 20 3b 3b 20 53 65 74 75 70 20 63 6f 64 65 20 62 75 66 66 65 72 0a 20 20 20 20 28 | ......;;.Setup.code.buffer.....( |
| d5c0 | 6c 65 74 2a 20 28 28 63 6f 64 65 2d 62 75 66 2d 6e 61 6d 65 20 28 6c 65 65 74 63 6f 64 65 2d 2d | let*.((code-buf-name.(leetcode-- |
| d5e0 | 67 65 74 2d 63 6f 64 65 2d 62 75 66 66 65 72 2d 6e 61 6d 65 20 74 69 74 6c 65 29 29 0a 20 20 20 | get-code-buffer-name.title)).... |
| d600 | 20 20 20 20 20 20 20 20 28 63 6f 64 65 2d 62 75 66 20 28 6c 65 65 74 63 6f 64 65 2d 2d 67 65 74 | ........(code-buf.(leetcode--get |
| d620 | 2d 63 6f 64 65 2d 62 75 66 66 65 72 20 63 6f 64 65 2d 62 75 66 2d 6e 61 6d 65 29 29 0a 20 20 20 | -code-buffer.code-buf-name)).... |
| d640 | 20 20 20 20 20 20 20 20 28 73 75 66 66 69 78 20 28 61 73 73 6f 63 2d 64 65 66 61 75 6c 74 20 6c | ........(suffix.(assoc-default.l |
| d660 | 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 6e 67 2d 73 75 66 | eetcode--lang.leetcode--lang-suf |
| d680 | 66 69 78 65 73 29 29 29 0a 20 20 20 20 20 20 28 77 69 74 68 2d 63 75 72 72 65 6e 74 2d 62 75 66 | fixes))).......(with-current-buf |
| d6a0 | 66 65 72 20 63 6f 64 65 2d 62 75 66 0a 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 28 3d 20 28 62 | fer.code-buf.........(when.(=.(b |
| d6c0 | 75 66 66 65 72 2d 73 69 7a 65 20 63 6f 64 65 2d 62 75 66 29 20 30 29 0a 20 20 20 20 20 20 20 20 | uffer-size.code-buf).0)......... |
| d6e0 | 20 20 28 6c 65 74 2a 20 28 28 73 6e 69 70 70 65 74 20 28 73 65 71 2d 66 69 6e 64 20 28 6c 61 6d | ..(let*.((snippet.(seq-find.(lam |
| d700 | 62 64 61 20 28 73 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 | bda.(s)......................... |
| d720 | 20 20 20 20 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 | ..............(equal.(leetcode-s |
| d740 | 6e 69 70 70 65 74 2d 6c 61 6e 67 2d 73 6c 75 67 20 73 29 20 6c 65 65 74 63 6f 64 65 2d 2d 6c 61 | nippet-lang-slug.s).leetcode--la |
| d760 | 6e 67 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 | ng))............................ |
| d780 | 20 20 20 20 20 20 20 20 20 73 6e 69 70 70 65 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .........snippets))............. |
| d7a0 | 20 20 20 20 20 28 74 65 6d 70 6c 61 74 65 2d 63 6f 64 65 20 28 6c 65 65 74 63 6f 64 65 2d 73 6e | .....(template-code.(leetcode-sn |
| d7c0 | 69 70 70 65 74 2d 63 6f 64 65 20 73 6e 69 70 70 65 74 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 | ippet-code.snippet)))........... |
| d7e0 | 20 20 28 69 6e 73 65 72 74 20 74 65 6d 70 6c 61 74 65 2d 63 6f 64 65 29 0a 20 20 20 20 20 20 20 | ..(insert.template-code)........ |
| d800 | 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 62 75 66 66 65 | .....(leetcode--replace-in-buffe |
| d820 | 72 20 22 0d 22 20 22 22 29 29 29 0a 20 20 20 20 20 20 20 20 28 66 75 6e 63 61 6c 6c 20 28 61 73 | r.".".""))).........(funcall.(as |
| d840 | 73 6f 63 2d 64 65 66 61 75 6c 74 20 73 75 66 66 69 78 20 61 75 74 6f 2d 6d 6f 64 65 2d 61 6c 69 | soc-default.suffix.auto-mode-ali |
| d860 | 73 74 20 23 27 73 74 72 69 6e 67 2d 6d 61 74 63 68 2d 70 29 29 0a 20 20 20 20 20 20 20 20 28 6c | st.#'string-match-p)).........(l |
| d880 | 65 65 74 63 6f 64 65 2d 73 6f 6c 75 74 69 6f 6e 2d 6d 6f 64 65 20 74 29 29 0a 0a 20 20 20 20 20 | eetcode-solution-mode.t))....... |
| d8a0 | 20 28 64 69 73 70 6c 61 79 2d 62 75 66 66 65 72 20 63 6f 64 65 2d 62 75 66 0a 20 20 20 20 20 20 | .(display-buffer.code-buf....... |
| d8c0 | 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 2d 62 75 66 66 65 | ................'((display-buffe |
| d8e0 | 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 20 20 20 20 20 20 | r-reuse-window.................. |
| d900 | 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 63 6f 64 65 29 0a | ........leetcode--display-code). |
| d920 | 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 72 65 75 73 61 62 6c | ........................(reusabl |
| d940 | 65 2d 66 72 61 6d 65 73 20 2e 20 76 69 73 69 62 6c 65 29 29 29 29 0a 0a 20 20 20 20 3b 3b 20 53 | e-frames...visible))))......;;.S |
| d960 | 65 74 75 70 20 74 65 73 74 63 61 73 65 20 62 75 66 66 65 72 0a 20 20 20 20 28 77 69 74 68 2d 63 | etup.testcase.buffer.....(with-c |
| d980 | 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 2d 63 72 65 61 74 65 | urrent-buffer.(get-buffer-create |
| d9a0 | 20 74 65 73 74 63 61 73 65 2d 62 75 66 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 28 65 72 61 73 65 | .testcase-buf-name).......(erase |
| d9c0 | 2d 62 75 66 66 65 72 29 0a 20 20 20 20 20 20 28 69 6e 73 65 72 74 20 28 73 2d 6a 6f 69 6e 20 22 | -buffer).......(insert.(s-join." |
| d9e0 | 5c 6e 22 20 74 65 73 74 63 61 73 65 73 29 29 0a 20 20 20 20 20 20 28 73 65 74 2d 77 69 6e 64 6f | \n".testcases)).......(set-windo |
| da00 | 77 2d 62 75 66 66 65 72 20 6c 65 65 74 63 6f 64 65 2d 2d 74 65 73 74 63 61 73 65 2d 77 69 6e 64 | w-buffer.leetcode--testcase-wind |
| da20 | 6f 77 20 28 63 75 72 72 65 6e 74 2d 62 75 66 66 65 72 29 29 29 0a 20 20 20 20 28 77 69 74 68 2d | ow.(current-buffer))).....(with- |
| da40 | 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 2d 63 72 65 61 74 | current-buffer.(get-buffer-creat |
| da60 | 65 20 72 65 73 75 6c 74 2d 62 75 66 2d 6e 61 6d 65 29 0a 20 20 20 20 20 20 28 65 72 61 73 65 2d | e.result-buf-name).......(erase- |
| da80 | 62 75 66 66 65 72 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 | buffer).......(set-window-buffer |
| daa0 | 20 6c 65 65 74 63 6f 64 65 2d 2d 72 65 73 75 6c 74 2d 77 69 6e 64 6f 77 20 28 63 75 72 72 65 6e | .leetcode--result-window.(curren |
| dac0 | 74 2d 62 75 66 66 65 72 29 29 29 29 29 0a 0a 28 61 69 6f 2d 64 65 66 75 6e 20 6c 65 65 74 63 6f | t-buffer)))))..(aio-defun.leetco |
| dae0 | 64 65 2d 72 65 73 74 6f 72 65 2d 6c 61 79 6f 75 74 20 28 29 0a 20 20 22 54 68 69 73 20 63 6f 6d | de-restore-layout.()..."This.com |
| db00 | 6d 61 6e 64 20 73 68 6f 75 6c 64 20 62 65 20 72 75 6e 20 69 6e 20 4c 65 65 74 43 6f 64 65 20 63 | mand.should.be.run.in.LeetCode.c |
| db20 | 6f 64 65 20 62 75 66 66 65 72 2e 0a 49 74 20 77 69 6c 6c 20 72 65 73 74 6f 72 65 20 74 68 65 20 | ode.buffer..It.will.restore.the. |
| db40 | 6c 61 79 6f 75 74 20 62 61 73 65 64 20 6f 6e 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 27 73 | layout.based.on.current.buffer's |
| db60 | 20 6e 61 6d 65 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 | .name."...(interactive)...(let*. |
| db80 | 28 28 73 6c 75 67 2d 74 69 74 6c 65 20 28 66 69 6c 65 2d 6e 61 6d 65 2d 73 61 6e 73 2d 65 78 74 | ((slug-title.(file-name-sans-ext |
| dba0 | 65 6e 73 69 6f 6e 20 28 62 75 66 66 65 72 2d 6e 61 6d 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 | ension.(buffer-name))).......... |
| dbc0 | 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 6d 20 | (problem.(leetcode--get-problem. |
| dbe0 | 73 6c 75 67 2d 74 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 | slug-title))..........(problem-i |
| dc00 | 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 6c 65 6d 29 29 | d.(leetcode-problem-id.problem)) |
| dc20 | 0a 20 20 20 20 20 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 | ..........(desc-buf.(get-buffer. |
| dc40 | 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 61 6d 65 20 70 72 | (leetcode--detail-buffer-name.pr |
| dc60 | 6f 62 6c 65 6d 2d 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 | oblem-id)))..........(testcase-b |
| dc80 | 75 66 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 63 6f 64 65 2d | uf.(get-buffer-create.(leetcode- |
| dca0 | 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 6c 65 6d 2d 69 64 | -testcase-buffer-name.problem-id |
| dcc0 | 29 29 29 0a 20 20 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 | )))..........(result-buf.(get-bu |
| dce0 | 66 66 65 72 2d 63 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 | ffer-create.(leetcode--result-bu |
| dd00 | 66 66 65 72 2d 6e 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 | ffer-name.problem-id)))).....(le |
| dd20 | 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 29 0a 20 | etcode--solving-window-layout).. |
| dd40 | 20 20 20 28 75 6e 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 | ...(unless.desc-buf.......(aio-a |
| dd60 | 77 61 69 74 20 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 | wait.(leetcode-show-problem.prob |
| dd80 | 6c 65 6d 2d 69 64 29 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 | lem-id))).....(display-buffer.de |
| dda0 | 73 63 2d 62 75 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 | sc-buf.....................'((di |
| ddc0 | 73 70 6c 61 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 | splay-buffer-reuse-window....... |
| dde0 | 20 20 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 | .................leetcode--displ |
| de00 | 61 79 2d 64 65 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 | ay-detail)...................... |
| de20 | 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 0a 20 | .(reusable-frames...visible))).. |
| de40 | 20 20 20 28 64 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 | ...(display-buffer.testcase-buf. |
| de60 | 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 2d 62 | ....................'((display-b |
| de80 | 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 20 20 | uffer-reuse-window.............. |
| dea0 | 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 74 65 73 74 | ..........leetcode--display-test |
| dec0 | 63 61 73 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 28 72 65 75 | case).......................(reu |
| dee0 | 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 |
| df00 | 69 73 70 6c 61 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 | isplay-buffer.result-buf........ |
| df20 | 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 2d 72 | .............'((display-buffer-r |
| df40 | 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 20 20 | euse-window..................... |
| df60 | 20 20 20 6c 65 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 | ...leetcode--display-result).... |
| df80 | 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 2d 66 72 61 | ...................(reusable-fra |
| dfa0 | 6d 65 73 20 2e 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 | mes...visible)))))..;;;;;;;;;;;; |
| dfc0 | 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| dfe0 | 3b 3b 3b 3b 3b 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 | ;;;;;;;;;;;;;;;;.Problems.Mode.; |
| e000 | 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| e020 | 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 28 64 65 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;..(de |
| e040 | 66 76 61 72 20 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 | fvar.leetcode--problems-mode-map |
| e060 | 0a 20 20 28 6c 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 | ...(let.((map.(make-sparse-keyma |
| e080 | 70 29 29 29 0a 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 | p))).....(prog1.map.......(suppr |
| e0a0 | 65 73 73 2d 6b 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 | ess-keymap.map).......(define-ke |
| e0c0 | 79 20 6d 61 70 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 | y.map.(kbd."RET").#'leetcode-sho |
| e0e0 | 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 28 64 65 66 69 6e 65 | w-current-problem).......(define |
| e100 | 2d 6b 65 79 20 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 | -key.map.(kbd."TAB").#'leetcode- |
| e120 | 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 28 64 65 66 | view-current-problem).......(def |
| e140 | 69 6e 65 2d 6b 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 | ine-key.map."o".#'leetcode-show- |
| e160 | 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 |
| e180 | 65 79 20 6d 61 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 | ey.map."O".#'leetcode-show-probl |
| e1a0 | 65 6d 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 76 22 20 23 27 | em).......(define-key.map."v".#' |
| e1c0 | 6c 65 65 74 63 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 | leetcode-view-current-problem).. |
| e1e0 | 20 20 20 20 20 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 | .....(define-key.map."V".#'leetc |
| e200 | 6f 64 65 2d 76 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 | ode-view-problem).......(define- |
| e220 | 6b 65 79 20 6d 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 | key.map."b".#'leetcode-show-curr |
| e240 | 65 6e 74 2d 70 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 | ent-problem-in-browser).......(d |
| e260 | 65 66 69 6e 65 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 | efine-key.map."B".#'leetcode-sho |
| e280 | 77 2d 70 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 | w-problem-in-browser).......(def |
| e2a0 | 69 6e 65 2d 6b 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 | ine-key.map."c".#'leetcode-solve |
| e2c0 | 2d 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 | -current-problem).......(define- |
| e2e0 | 6b 65 79 20 6d 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 | key.map."C".#'leetcode-solve-pro |
| e300 | 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 70 20 22 73 22 20 | blem).......(define-key.map."s". |
| e320 | 23 27 6c 65 65 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 | #'leetcode-set-filter-regex).... |
| e340 | 20 20 20 28 64 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 | ...(define-key.map."L".#'leetcod |
| e360 | 65 2d 73 65 74 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 | e-set-prefer-language).......(de |
| e380 | 66 69 6e 65 2d 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 | fine-key.map."t".#'leetcode-set- |
| e3a0 | 66 69 6c 74 65 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 | filter-tag).......(define-key.ma |
| e3c0 | 70 20 22 54 22 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 | p."T".#'leetcode-toggle-tag-disp |
| e3e0 | 6c 61 79 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 50 22 20 23 | lay).......(define-key.map."P".# |
| e400 | 27 6c 65 65 74 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 | 'leetcode-toggle-paid-display).. |
| e420 | 20 20 20 20 20 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 | .....(define-key.map."d".#'leetc |
| e440 | 6f 64 65 2d 73 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 | ode-set-filter-difficulty)...... |
| e460 | 20 28 64 65 66 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 | .(define-key.map."g".#'leetcode- |
| e480 | 72 65 66 72 65 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 | refresh).......(define-key.map." |
| e4a0 | 47 22 20 23 27 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 | G".#'leetcode-refresh-fetch).... |
| e4c0 | 20 20 20 28 64 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 | ...(define-key.map."r".#'leetcod |
| e4e0 | 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 0a 20 20 20 20 | e-reset-filter-and-refresh)..... |
| e500 | 20 20 28 64 65 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 | ..(define-key.map."q".#'quit-win |
| e520 | 64 6f 77 29 29 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 | dow)))..."Keymap.for.`leetcode-- |
| e540 | 70 72 6f 62 6c 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 | problems-mode'.")..(define-deriv |
| e560 | 65 64 2d 6d 6f 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 | ed-mode.leetcode--problems-mode. |
| e580 | 20 20 74 61 62 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 | ..tabulated-list-mode."LC.Proble |
| e5a0 | 6d 73 22 0a 20 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 | ms"..."Major.mode.for.browsing.a |
| e5c0 | 20 6c 69 73 74 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 | .list.of.problems."...(setq.tabu |
| e5e0 | 6c 61 74 65 64 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 | lated-list-padding.2)...(add-hoo |
| e600 | 6b 20 27 74 61 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 | k.'tabulated-list-revert-hook.#' |
| e620 | 6c 65 65 74 63 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 | leetcode-refresh.nil.t)...:group |
| e640 | 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 63 6f 64 65 2d 2d 70 | .'leetcode...:keymap.leetcode--p |
| e660 | 72 6f 62 6c 65 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 | roblems-mode-map)..(defun.leetco |
| e680 | 64 65 2d 2d 73 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 | de--set-evil-local-map.(map)..." |
| e6a0 | 53 65 74 20 60 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 | Set.`evil-normal-state-local-map |
| e6c0 | 27 20 74 6f 20 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 | '.to.MAP."...(when.(featurep.'ev |
| e6e0 | 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 68 22 20 6e 69 6c 29 | il).....(define-key.map."h".nil) |
| e700 | 0a 20 20 20 20 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 | .....(define-key.map."v".nil)... |
| e720 | 20 20 28 64 65 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 | ..(define-key.map."V".nil).....( |
| e740 | 64 65 66 69 6e 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 | define-key.map."b".nil).....(def |
| e760 | 69 6e 65 2d 6b 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 | ine-key.map."B".nil).....(define |
| e780 | 2d 6b 65 79 20 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 | -key.map."g".nil).....(define-ke |
| e7a0 | 79 20 6d 61 70 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 | y.map."G".nil).....(define-key.m |
| e7c0 | 61 70 20 22 7a 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 | ap."z".#'leetcode-refresh).....( |
| e7e0 | 64 65 66 69 6e 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 | define-key.map."Z".#'leetcode-re |
| e800 | 66 72 65 73 68 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 | fresh-fetch).....(setq.evil-norm |
| e820 | 61 6c 2d 73 74 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 | al-state-local-map.map)))..(add- |
| e840 | 68 6f 6f 6b 20 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 | hook.'leetcode--problems-mode-ho |
| e860 | 6f 6b 20 23 27 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 | ok.#'hl-line-mode).(add-hook.'le |
| e880 | 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 0a 20 20 20 20 20 | etcode--problems-mode-hook...... |
| e8a0 | 20 20 20 20 20 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 | .....(lambda.().(leetcode--set-e |
| e8c0 | 76 69 6c 2d 6c 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 | vil-local-map.leetcode--problems |
| e8e0 | 2d 6d 6f 64 65 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 | -mode-map)))..;;;;;;;;;;;;;;;;;; |
| e900 | 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| e920 | 3b 3b 3b 3b 3b 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 | ;;;;;;;;;;.Detail.Mode.;;;;;;;;; |
| e940 | 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| e960 | 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 6c 65 65 | ;;;;;;;;;;;;;;;;;;;..(defvar.lee |
| e980 | 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 61 70 0a 20 | tcode--problem-detail-mode-map.. |
| e9a0 | 20 28 6c 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 | .(let.((map.(make-sparse-keymap) |
| e9c0 | 29 29 0a 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 | )).....(prog1.map.......(suppres |
| e9e0 | 73 2d 6b 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 | s-keymap.map).......(define-key. |
| ea00 | 6d 61 70 20 22 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 | map."q".#'quit-window)))..."Keym |
| ea20 | 61 70 20 66 6f 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 | ap.for.`leetcode--problem-detail |
| ea40 | 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 64 65 20 | -mode'.")..(define-derived-mode. |
| ea60 | 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 0a 20 20 | leetcode--problem-detail-mode... |
| ea80 | 73 70 65 63 69 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 | special-mode."LC.Detail"..."Majo |
| eaa0 | 72 20 6d 6f 64 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 | r.mode.for.display.problem.detai |
| eac0 | 6c 2e 22 0a 20 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 | l."...:group.'leetcode...:keymap |
| eae0 | 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 |
| eb00 | 61 70 29 0a 0a 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 | ap)..(add-hook.'leetcode--proble |
| eb20 | 6d 2d 64 65 74 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 | m-detail-mode-hook...........(la |
| eb40 | 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 6f 63 61 | mbda.().(leetcode--set-evil-loca |
| eb60 | 6c 2d 6d 61 70 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 | l-map.leetcode--problem-detail-m |
| eb80 | 6f 64 65 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 | ode-map)))..;;;;;;;;;;;;;;;;;;;; |
| eba0 | 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| ebc0 | 3b 3b 3b 3b 3b 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 | ;;;;;;;;.Solution.Mode.;;;;;;;;; |
| ebe0 | 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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| ec00 | 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 6c 65 65 | ;;;;;;;;;;;;;;;;;;;..(defvar.lee |
| ec20 | 74 63 6f 64 65 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 | tcode-solution-mode-map...(let.( |
| ec40 | 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 20 20 | (map.(make-sparse-keymap)))..... |
| ec60 | 28 70 72 6f 67 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 | (prog1.map.......(define-key.map |
| ec80 | 20 28 6b 62 64 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 | .(kbd."C-c.C-t").#'leetcode-try) |
| eca0 | 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 20 22 43 2d 63 | .......(define-key.map.(kbd."C-c |
| ecc0 | 20 43 2d 73 22 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 | .C-s").#'leetcode-submit)....... |
| ece0 | 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 72 22 29 20 | (define-key.map.(kbd."C-c.C-r"). |
| ed00 | 23 27 6c 65 65 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 | #'leetcode-restore-layout)))..." |
| ed20 | 4b 65 79 6d 61 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 | Keymap.for.`leetcode-solution-mo |
| ed40 | 64 65 27 2e 22 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 | de'.")..(define-minor-mode.leetc |
| ed60 | 6f 64 65 2d 73 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 | ode-solution-mode..."Minor.mode. |
| ed80 | 74 6f 20 70 72 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 | to.provide.shortcut.and.hooks.". |
| eda0 | 20 20 3a 72 65 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 | ..:require.'leetcode...:lighter. |
| edc0 | 22 20 4c 43 2d 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 | ".LC-Solution"...:group.'leetcod |
| ede0 | 65 0a 20 20 3a 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 | e...:keymap.leetcode-solution-mo |
| ee00 | 64 65 2d 6d 61 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 | de-map)..(provide.'leetcode).;;; |
| ee20 | 20 6c 65 65 74 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 | .leetcode.el.ends.here.......... |
| ee40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| ee60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| ee80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| eea0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| eec0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| eee0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| ef00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| ef20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| ef40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| ef60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| ef80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| efa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| efc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| efe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f000 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f080 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f0a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f0c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f0e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f100 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f120 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f140 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f180 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f1a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f1c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f1e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f200 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f220 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f240 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f260 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f280 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f2a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f2c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f2e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f300 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f320 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f340 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f360 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f380 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f3a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f3c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f3e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f400 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f420 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f440 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f460 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f480 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f4a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f4c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f4e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f500 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f520 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f540 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f560 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f580 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f5a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f5c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f5e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f600 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f620 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f640 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f660 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f680 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f6a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f6c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f6e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f700 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f720 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f740 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f760 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f780 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f7a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f7c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f7e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f800 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f820 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f840 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f860 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f880 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f8a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f8c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f8e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f900 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f920 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f940 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f960 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f980 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f9a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f9c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| f9e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| fa00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| fa20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| fa40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| fa60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| fa80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| faa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| fac0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| fae0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| fb00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| fb20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 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 | ................................ |