winliu
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
7
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
CSES Problem Set 題解 -- 想法 + 程式碼 === Introductory Problems ---** - :o: `Cpp` `Py` `Hs` [Weird Algorithm](https://hackmd.io/dygeV9Y9TeCRmqGtcJM1VQ) - :o: `Cpp` [Missing Number](https://hackmd.io/p53aGB5DQBGRwSCBd9Fc-Q?both) - :o: `Cpp` [Repetitions](https://hackmd.io/MrPbT3e4S3alo4LIwrF_AA) - :o: `Cpp` [Increasing Array](https://hackmd.io/dbM1RpGnR52_j1DFno8qRg) - :o: `Cpp` [Permutations](https://hackmd.io/tu5fLjsCSDa2As7xPXkHfA) - :o: `Cpp` [Number Spiral](https://hackmd.io/k3o_S7Z4RwuicF9rnUiXfA) - :o: `Cpp` [Two Knights](https://hackmd.io/mCWG1PriRBm40bm8kHZRbA) - :o: `Cpp` [Two Sets](https://hackmd.io/jKw26tR0RwqqHSWUilyYIQ) - :o: `Cpp` [Bit Strings](https://hackmd.io/SrqEn_rMQ968ZkamnegyDw) - :o: `Cpp` [Trailing Zeros](https://hackmd.io/bF6XbKivQROj9__2YiaEDw) - :o: `Cpp` [Coin Piles](https://hackmd.io/871KvQJzRS2FhL18d3216Q) - :o: `Cpp` [Palindrome Reorder](https://hackmd.io/ypHe16wrQqyBRwlezBLRFA) - :o: `Cpp` [Gray Code](https://hackmd.io/16uazAT2R6SOKIFAqHD90w) - :o: `Cpp` [Tower of Hanoi](https://hackmd.io/dTKNoOTiRKy2H2QTHAMOJQ) - :o: `Cpp` [Creating Strings](https://hackmd.io/lC-55EczRhKfQwbguQbKrQ) - :o: `Cpp` [Apple Division](https://hackmd.io/9hNDjwSrTp-pggd-EJNcOQ) - :o: [Chessboard and Queens](https://hackmd.io/puLpDi9WR5Gz5YQVWa-SRA) - :o: `Cpp` [Digit Queries](https://hackmd.io/UaAau1ONSmCanO6QrEEqHA) - :o: [Grid Paths](https://hackmd.io/DK7IASPSQCqY035FJadupA) Sorting and Searching --- - :o: `Cpp` [Distinct Numbers](https://hackmd.io/tuxm6APCSguyOqQwxU7QKg) - :o: `Cpp` [Apartments](https://hackmd.io/izaPRSVATCm3IOofuXr_YA) - :o: `Cpp` [Ferris Wheel](https://hackmd.io/p36hHn6OTWuuk6kwmQkpsw) - :o: [Concert Tickets](https://hackmd.io/S-q7K7MUQ8iD8UPPJ0x5Zg) - :o: [Restaurant Customers](https://hackmd.io/VHoCsuHBRGKBhCpON5gC5w) - :pencil2: [Movie Festival](https://hackmd.io/HG8IOgXQQNmXIl9xsXXt4g) - :pencil2: [Sum of Two Values](https://hackmd.io/jiVODwSrTx2usVWK4YErGQ) - :pencil2: `Cpp` [Maximum Subarray Sum](https://hackmd.io/_52WMvGVRQmOib9VX-QZiA) - :u7a7a: [Stick Lengths](https://hackmd.io/SjdcRCjxT2eMuigoZMw31A) - :u7a7a: [Missing Coin Sum](https://hackmd.io/IGbw7kGcQK6y7d51vY6_AQ) - :u7a7a: [Collecting Numbers](https://hackmd.io/n3f0IMrMS3qReXXfFK1R_A) - :u7a7a: [Collecting Numbers II](https://hackmd.io/RtQbefy2S5uhWh1I7oBWLQ) - :u7a7a: [Playlist](https://hackmd.io/-jCVWULRTv-7xPnarMYgow) - :u7a7a: [Towers](https://hackmd.io/-Q5I6MmySb6OVxVMSoDJrw) - :u7a7a: [Traffic Lights](https://hackmd.io/hxM1dTCfSuyG6IvdrRc0LQ) - :u7a7a: [Josephus Problem I](https://hackmd.io/Rx_C7zfgSK-kjGIo0zrduw) - :u7a7a: [Josephus Problem II](https://hackmd.io/G2cqxB6mQ6-nUEwuyOjxdQ) - :u7a7a: [Nested Ranges Check](https://hackmd.io/G1MTdgE8TS2Bd4xa2Snn_w) - :u7a7a: [Nested Ranges Count](https://hackmd.io/xji8Du0oRjivl6bhglzzJA) - :u7a7a: [Room Allocation](https://hackmd.io/2D3MBGlNQo-IGmE5BVxqfg) - :u7a7a: [Factory Machines](https://hackmd.io/Y5iXWK69RDeiEKIfQudZ3A) - :u7a7a: [Tasks and Deadlines](https://hackmd.io/33XPDHurSQS33QdNYrWiBA) - :o: `Cpp` [Reading Books](https://hackmd.io/tndBAGtLSlar-pOXAAZ4MA) - :u7a7a: [Sum of Three Values](https://hackmd.io/lRlu8h8bTW2kNlJuyCyAJQ) - :u7a7a: [Sum of Four Values](https://hackmd.io/9-aLfmw1So2zL9F6DkYrPA) - :u7a7a: [Nearest Smaller Values](https://hackmd.io/BSuak2uFTo2nqmCrFc__vA) - :u7a7a: [Subarray Sums I](https://hackmd.io/nxBbCR-5TbqPxqkfvsJTvg) - :u7a7a: [Subarray Sums II](https://hackmd.io/9UtmhEQmTvi7AvtqWSI0GQ) - :u7a7a: [Subarray Divisibility](https://hackmd.io/0p58f-UpTW2VuYcN025p7g) - :u7a7a: [Subarray Distinct Values](https://hackmd.io/UXopE5pRSK-A9Sc3FbdLpg) - :u7a7a: [Array Division](https://hackmd.io/b_0uc3rERvCBM9MNGcY7Cg) - :u7a7a: [Sliding Window Median](https://hackmd.io/QQMQhii6R5CF6oMw3CfAcQ) - :u7a7a: [Sliding Window Cost](https://hackmd.io/dZiEHJI5TIyv2fybe2AREw) - :u7a7a: [Movie Festival II](https://hackmd.io/CjPuJd_VT2i3oyO6PIXnZA) - :u7a7a: [Maximum Subarray Sum II](https://hackmd.io/KHyB6lNqSJ-DUxZpQuO4_g) Dynamic Programming --- - :o: [Dice Combinations](https://hackmd.io/7rVhusmISdG24uu3O4E6vg) - :o: [Minimizing Coins](https://hackmd.io/UXL8Q9WaTnWpN4QGpjhiYg) - :o: [Coin Combinations I](https://hackmd.io/eQfUTyXZRuOFN-Y9qkF7Bg) - :o: [Coin Combinations II](https://hackmd.io/titjoTEGQ4CJ-ytHNTvNtw) - :o: [Removing Digits](https://hackmd.io/_Tuy4Ux6TyGklW3KFOT54A) - :o: [Grid Paths](https://hackmd.io/V5eavRUQSMWH7JLWv9Nh-w) - :o: [Book Shop](https://hackmd.io/GJ-tEa7VRvKVFXizqj29lA) - :o: [Array Description](https://hackmd.io/EOSa9ox2SeK6DAVvlTXgCw) - :o: [Counting Towers](https://hackmd.io/m7pu3K7QRKuDGkW4iiB-TA) - :o: [Edit Distance](https://hackmd.io/cKX5TY79TDuzALB0dtxLQQ) - :o: [Rectangle Cutting](https://hackmd.io/CDbOWE0JR8GAB5B2h-2d3w) - :o: [Money Sums](https://hackmd.io/5pYGrpgLQNGiS1lDFFQHaQ) - :o: [Removal Game](https://hackmd.io/QqqTH11ZSM6ROx4JdX0Deg) - :o: [Two Sets II](https://hackmd.io/YSBcE8-wRHKQG0DfuLnrAw) - :o: [Increasing Subsequence](https://hackmd.io/qUtrMMEPQZOfHpb_yYjWZw) - :o: [Projects](https://hackmd.io/OGTYhNtSR_uUxO6noo82wQ) - :pencil2: `Cpp` [Elevator Rides](https://hackmd.io/EOpQxDzdSYSxhE_fYGDolQ) - :o: `Cpp` [Counting Tilings](https://hackmd.io/lp6w2yU6TLq82j4yfG20xw) - :pencil2: [Counting Numbers](https://hackmd.io/z7e_nifPTyaX_h2k8uUqrw) Graph Algorithms --- - :pencil2: `Cpp` [Counting Rooms](https://hackmd.io/kty469OTSmmwekG9aHsVrA) - :pencil2: `Cpp` [Labyrinth](https://hackmd.io/yNcZN0I5Sa6OOvBBf0br9w) - :pencil2: `Cpp` [Building Roads](https://hackmd.io/R80j-0liS52fLv3H34sv2g) - :pencil2: `Cpp` [Message Route](https://hackmd.io/1csQaTwES7K45lNuNvZu-w) - :pencil2: `Cpp` [Building Teams](https://hackmd.io/ezlaYZPHSJC1JDJgCV7Feg) - :pencil2: `Cpp` [Round Trip](https://hackmd.io/0rSRhGeySp-ffI7A8Iqe0Q) - :u7a7a: [Monsters](https://hackmd.io/_JX_ymFnS0O2EsRDfurY0Q) - :pencil2: `Cpp` [Shortest Routes I](https://hackmd.io/OCVr6aWiQHOgo38-syEzpw) - :pencil2: `Cpp` [Shortest Routes II](https://hackmd.io/ZG4xqGJbRBmllRnRQs5qeg) - :u7a7a: [High Score](https://hackmd.io/EKScB_PaTYyv4FhxFBypmA) - :u7a7a: [Flight Discount](https://hackmd.io/zaW1bw4pScCAp39bb0q9_g) - :u7a7a: [Cycle Finding](https://hackmd.io/-JAEOTmsSEiK4RVthCJdOQ) - :u7a7a: [Flight Routes](https://hackmd.io/4kd6u2klSDygaklzysQXFQ) - :u7a7a: [Round Trip II](https://hackmd.io/m2zov3v9TWOosDspZZd8LQ) - :pencil2: `Cpp` [Course Schedule](https://hackmd.io/R0bIXndPQzuk-bQitfL3CQ) - :u7a7a: [Longest Flight Route](https://hackmd.io/PoA6X3SYTiigKlFy8bi5yQ) - :u7a7a: [Game Routes](https://hackmd.io/uFO7yeyDTci9pEqKWQ35vQ) - :u7a7a: [Investigation](https://hackmd.io/9zaHvCMBQEiBVllMCmUDnQ) - :u7a7a: [Planets Queries I](https://hackmd.io/9Zzdx0hNQQqxhk8epZm_SQ) - :u7a7a: [Planets Queries II](https://hackmd.io/QPrRfHl8TlOMUICxjkt1OQ) - :u7a7a: [Planets Cycles](https://hackmd.io/Gb2ENYueSpms8bGacqB00g) - :pencil2: `Cpp` [Road Reparation](https://hackmd.io/k8O2EA8lS22XQfJ7OKqyvw) - :u7a7a: [Road Construction](https://hackmd.io/ZEjQbc_ZTYyRcLACSUfCJA) - :u7a7a: [Flight Routes Check](https://hackmd.io/j_AQZnWrTaasporL54i-gg) - :pencil2: `Cpp` [Planets and Kingdoms](https://hackmd.io/5oyBkHR9RZSSI72Vp97lLw) - :u7a7a: [Giant Pizza](https://hackmd.io/AA-qqG9oSfWIIdu8fits7Q) - :u7a7a: [Coin Collector](https://hackmd.io/8Ash5o9VRrOj_eSl2lyIvQ) - :u7a7a: [Mail Delivery](https://hackmd.io/Rcd4ubwlSz-BnzkrFMSIkg) - :u7a7a: [De Bruijn Sequence](https://hackmd.io/leHMi_e0S9OaTNQAxcX4Ww) - :u7a7a: [Teleporters Path](https://hackmd.io/kmlO7lZLTRidywMlbKY99Q) - :u7a7a: [Hamiltonian Flights](https://hackmd.io/qWIOamcLT5ez0j-HUm1__A) - :u7a7a: [Knight's Tour](https://hackmd.io/gFV8_lQRTMmrq9EUNqTHYA) - :u7a7a: [Download Speed](https://hackmd.io/jKe0-iZNTLeW_oFrfmwPpg) - :u7a7a: [Police Chase](https://hackmd.io/R-OJzL_jS_qqkwJlKbNshA) - :u7a7a: [School Dance](https://hackmd.io/ax3fgh3vStidD6GmQZElYw) - :u7a7a: [Distinct Routes](https://hackmd.io/n0HxD2QdTTKX8XSlZG0r3Q) Range Queries --- - :pencil2: `Cpp` [Static Range Sum Queries](https://hackmd.io/kuA0ienEQBGQLxNTHmMcnQ) - :u7a7a: [Static Range Minimum Queries](https://hackmd.io/9B6t7_iPTuCfpfmMXf1Tww) - :pencil2: `Cpp` [Dynamic Range Sum Queries](https://hackmd.io/TupWYfnkRu-s1lDfVxEQCA) - :pencil2: `Cpp` [Dynamic Range Minimum Queries](https://hackmd.io/IMKQ3Ui-Q0CixKpegjal4w) - :pencil2: `Cpp` [Range Xor Queries](https://hackmd.io/D_xSA_OzSxe8oC3VUxp1VA) - :u7a7a: [Range Update Queries](https://hackmd.io/g7YYeqpeRVSe6imTKPer0A) - :u7a7a: [Forest Queries](https://hackmd.io/y-Um4D4DTGOeZ-6ax-G2CQ) - :u7a7a: [Hotel Queries](https://hackmd.io/Dsg8IwPeQ2eax8wqHh_NRQ) - :u7a7a: [List Removals](https://hackmd.io/vTm-AHvDSmiCCr-yLqX97g) - :u7a7a: [Salary Queries](https://hackmd.io/QOvx0l6wS7SJoOV-wEF06w) - :u7a7a: [Prefix Sum Queries](https://hackmd.io/LYPjxkj7QKawZ62tKe4V9g) - :u7a7a: [Pizzeria Queries](https://hackmd.io/KB91kKCVRBqKv5rd5tJYvQ) - :pencil2: `Cpp` [Subarray Sum Queries](https://hackmd.io/PNy7t7pcQ7WH4NEnuTY4sg) - :pencil2: `Cpp` [Distinct Values Queries](https://hackmd.io/SoYj20QASy-3ikHntbf7gA) - :pencil2: `Cpp` [Increasing Array Queries](https://hackmd.io/ACZ_WmiTQZCcvkSVcxcAqg) - :u7a7a: [Forest Queries II](https://hackmd.io/W5xu40MySD6H5sdCug7lvA) - :u7a7a: [Range Updates and Sums](https://hackmd.io/xJyekpLuRMeXq_8orrn_Hw) - :pencil2: `Cpp` [Polynomial Queries](https://hackmd.io/A5nb9r17QDi_FFjG9Ezd_A) - :pencil2: `Cpp` [Range Queries and Copies](https://hackmd.io/QJIKqXcFRuaqaIhOvh5fmg) Tree Algorithms --- - :u7a7a: [Subordinates](https://hackmd.io/YN_H7X3QR2qYKsU4dPDteQ) - :u7a7a: [Tree Matching](https://hackmd.io/xV0DFoFsQMatqzQlymSzzA) - :u7a7a: [Tree Diameter](https://hackmd.io/ongyvJNbQIi4nzDXFfJ2Xw) - :u7a7a: [Tree Distances I](https://hackmd.io/w4U_hU55RI-x3PzlggntaA) - :u7a7a: [Tree Distances II](https://hackmd.io/-b2KZ8-zRam0amd0tef3MA) - :u7a7a: [Company Queries I](https://hackmd.io/9StV9Xj_R6-m4dXjcOOSBA) - :u7a7a: [Company Queries II](https://hackmd.io/SATRZ5uIQ52hvLR6W0tIQw) - :u7a7a: [Distance Queries](https://hackmd.io/0TFjyCa6Q0-MLEcwY-n4ng) - :u7a7a: [Counting Paths](https://hackmd.io/lqxkhLFSQMGSLng7on_-Tg) - :u7a7a: [Subtree Queries](https://hackmd.io/lxGsXb3VRd6_eP8QmGptIQ) - :pencil2: `Cpp` [Path Queries](https://hackmd.io/VL2n--mCSYGTO5LBLCs-Rg) - :u7a7a: [Path Queries II](https://hackmd.io/f3MDgJnfTa6il3UK5mHICA) - :u7a7a: [Distinct Colors](https://hackmd.io/modaHE3bQDiQihRtZa-QQQ) - :pencil2: `Cpp` [Finding a Centroid](https://hackmd.io/soROcSXOSIOn3kLd45wv_A) - :u7a7a: [Fixed-Length Paths I](https://hackmd.io/WEtHQz09RUiVWS6zbFFLjA) - :u7a7a: [Fixed-Length Paths II](https://hackmd.io/ma9V3S_sT_qz2YMMMoEbjw) Mathematics --- - :u7a7a: [Josephus Queries](https://hackmd.io/CazDbJO7RDarwfPq9YJVxQ) - :o: `Cpp` [Exponentiation](https://hackmd.io/_zppbxvLTNaC7e9XT-8uhA) - :o: `Cpp` [Exponentiation II](https://hackmd.io/drNZy2zsSPKwjTgXVFMYKw) - :o: `Cpp` [Counting Divisors](https://hackmd.io/BmNjUe-_QiqcIpfs_JnvrQ) - :o: `Cpp` [Common Divisors](https://hackmd.io/q1uOMmQFRgyrJydSQ_4LSA) - :u7a7a: [Sum of Divisors](https://hackmd.io/B4EffjMrSWGXkzOQ0Lybhg) - :u7a7a: [Divisor Analysis](https://hackmd.io/pMwnVvaVT6OXF2hjNRm7jg) - :u7a7a: [Prime Multiples](https://hackmd.io/I_ikvtsKQuKeQheH1Wm-WA) - :u7a7a: [Counting Coprime Pairs](https://hackmd.io/NeSQTeWeSPOG8PPkI6qxsQ) - :u7a7a: [Binomial Coefficients](https://hackmd.io/GVJEKb-jRT6l3A0MLmEqBw) - :u7a7a: [Creating Strings II](https://hackmd.io/vd96gDf6T666SA4cVMOtdA) - :u7a7a: [Distributing Apples](https://hackmd.io/dYJzpbUITL6i-tuJ0mX9Eg) - :u7a7a: [Christmas Party](https://hackmd.io/zQv9SNu9SPWdqFrZ9WL_oA) - :u7a7a: [Bracket Sequences I](https://hackmd.io/PIgFeWoNQxiGOuLNz8-9JA) - :u7a7a: [Bracket Sequences II](https://hackmd.io/ZdEsgdQAS3CNqCx7Kpkk5w) - :u7a7a: [Counting Necklaces](https://hackmd.io/RBEUygcCRSeLuDPyV8SrUA) - :u7a7a: [Counting Grids](https://hackmd.io/RwyT7oUPTAW83Zc_V20VnQ) - :u7a7a: [Fibonacci Numbers](https://hackmd.io/IisRmWgnQXeB-BQYgYNSlw) - :u7a7a: [Throwing Dice](https://hackmd.io/N4jgZJYeQ1i3uD2lmuSJWQ) - :u7a7a: [Graph Paths I](https://hackmd.io/JFINtnY8Tiu6k83w9WbVvg) - :u7a7a: [Graph Paths II](https://hackmd.io/HveKGzlNTZSiyGTRyArUrg) - :u7a7a: [Dice Probability](https://hackmd.io/HooeAKMoRtuRWoBAOFCcUw) - :u7a7a: [Moving Robots](https://hackmd.io/WicKBXtQRHWnD_uxA3xeUw) - :u7a7a: [Candy Lottery](https://hackmd.io/Oixq54e9RU2gEbwU-sW4QQ) - :u7a7a: [Inversion Probability](https://hackmd.io/-PGF6rvASkyNN9BiOZNB3A) - :u7a7a: [Stick Game](https://hackmd.io/kvKolR58RAG-3xvG-Ps8Tg) - :u7a7a: [Nim Game I](https://hackmd.io/qa5eZ7M_T8eesKhtCJffqQ) - :u7a7a: [Nim Game II](https://hackmd.io/N93_mrlRT-uz0UAwHwz3Pg) - :u7a7a: [Stair Game](https://hackmd.io/AI-7fS3xTluRy-ojJ6GL-g) - :u7a7a: [Grundy's Game](https://hackmd.io/7-jh-ZoOSsCKEbXOfXgfmQ) - :u7a7a: [Another Game](https://hackmd.io/8xukdA-PQ3yBLz3RgakWgQ) String Algorithms --- - :u7a7a: [Word Combinations](https://hackmd.io/SSyjbba-SeWXN06rhUH_iw) - :u7a7a: [String Matching](https://hackmd.io/g6PRW9DgT4CT3Eni9N0c8w) - :u7a7a: [Finding Borders](https://hackmd.io/nEtBCs7KTbCFXLHfMuT98w) - :u7a7a: [Finding Periods](https://hackmd.io/gI510u2-RMyj349Ihz8PEw) - :u7a7a: [Minimal Rotation](https://hackmd.io/nwUu_Qq0REK0pHfB1F8JTw) - :u7a7a: [Longest Palindrome](https://hackmd.io/AY5C15qJRB-OKEvuIlrftg) - :u7a7a: [Required Substring](https://hackmd.io/hhKJ2vV7QOeT8Gqddnv-vg) - :u7a7a: [Palindrome Queries](https://hackmd.io/7xQqw64pQEGUjxyaJ1KCZQ) - :u7a7a: [Finding Patterns](https://hackmd.io/unMnSKrZTQKzOJ2eKqKjoQ) - :u7a7a: [Counting Patterns](https://hackmd.io/9ZQuB5QOTcGSReUjMbNhKw) - :u7a7a: [Pattern Positions](https://hackmd.io/hELvNOwpRsqVfz-pXoK1Zg) - :u7a7a: [Distinct Substrings](https://hackmd.io/k_FtNA-mQRaWJ1FsFZUMRg) - :u7a7a: [Repeating Substring](https://hackmd.io/yeKtSeHFQqSpZvWxYjgeUA) - :u7a7a: [String Functions](https://hackmd.io/n2Ky_T7XQoKVgjoAbfZFtw) - :u7a7a: [Substring Order I](https://hackmd.io/Ci_ag0G8Tty4foxt0QBJkA) - :u7a7a: [Substring Order II](https://hackmd.io/0nLfK2QsSryNpkkWyYmhgQ) - :u7a7a: [Substring Distribution](https://hackmd.io/QAqUT9MBR3e-HN4_cY4H9g) Geometry --- - [Point Location Test]() - [Line Segment Intersection]() - [Polygon Area]() - [Point in Polygon]() - [Polygon Lattice Points]() - [Minimum Euclidean Distance]() - [Convex Hull]() Advanced Techniques --- - [Meet in the Middle]() - [Hamming Distance]() - [Beautiful Subgrids]() - [Reachable Nodes]() - [Reachability Queries]() - [Cut and Paste]() - [Substring Reversals]() - [Reversals and Sums]() - [Necessary Roads]() - [Necessary Cities]() - [Eulerian Subgraphs]() - [Monster Game I]() - [Monster Game II]() - [Subarray Squares]() - [Houses and Schools]() - [Knuth Division]() - [Apples and Bananas]() - [One Bit Positions]() - [Signal Processing]() - [New Roads Queries]() - [Dynamic Connectivity]() - [Parcel Delivery]() - [Task Assignment]() - [Distinct Routes II]() Additional Problems --- - [Shortest Subsequence]() - [Counting Bits]() - [Swap Game]() - [Prüfer Code]() - [Acyclic Graph Edges]() - [Strongly Connected Edges]() - [Even Outdegree Edges]() - [Multiplication Table]() - [Advertisement]() - [Special Substrings]() - [Permutation Inversions]() - [Maximum Xor Subarray]() - [Movie Festival Queries]() - [Chess Tournament]() - [Tree Traversals]() - [Network Renovation]() - [Graph Girth]() - [Intersection Points]() - [Inverse Inversions]() - [Monotone Subsequences]() - [String Reorder]() - :pencil2: [Stack Weights](https://hackmd.io/O3fz0g0GSf6oHuZpN3lQug) - [Pyramid Array]() - [Increasing Subsequence II]() - [String Removals]() - [Bit Inversions]() - [Xor Pyramid]() - [Writing Numbers]() - [String Transform]() - [Letter Pair Move Game]() - [Maximum Building I]() - [Sorting Methods]() - [Cyclic Array]() - [List of Sums]() - [Increasing Array II]() - [Food Division]() - [Bit Problem]() - [Swap Round Sorting]() - [Binary Subsequences]() - [Tree Isomorphism I]() - [Counting Sequences]() - [Critical Cities]() - [School Excursion]() - [Coin Grid]() - [Robot Path]() - [Programmers and Artists]() - [Course Schedule II]() - [Removing Digits II]() - [Coin Arrangement]() - [Counting Bishops]() - [Grid Puzzle I]() - [Grid Puzzle II]() - [Empty String]() - [Grid Paths]() - [Bit Substrings]() - [Reversal Sorting]() - [Counting Reorders]() - [Book Shop II]() - [Network Breakdown]() - [Visiting Cities]() - [Missing Coin Sum Queries]() - [Number Grid]() - [Maximum Building II]() - [Filling Trominos]() - [Stick Divisions]() - [Coding Company]() - [Flight Route Requests]() - [Two Stacks Sorting]() - [Tree Isomorphism II]() - [Forbidden Cities]() - [Area of Rectangles]() - [Grid Completion]() - [Creating Offices]() - [Permutations II]() - [Functional Graph Distribution]() - [New Flight Routes]() - [Grid Path Construction]() 貢獻者 --- - 負責人:[Winliu](https://hackmd.io/@WinLiu) - :eye: 編輯:[皮皮](https://hackmd.io/@YuRen-tw) - [Youtong](https://hackmd.io/@Youtong0826) - [pudding164253](https://hackmd.io/@mGrArnQ0STevIEXX7Ss2rg) - [eggeggwe](https://hackmd.io/@HdFRwKuhR0SsDpx0b1OMQw) - [temmie](https://hackmd.io/@kJLn_wkWQX6CXXUgGbDYKQ) - [littleorange](https://hackmd.io/@emCXvc-QS66Y61fo2qepDg) - [山姆](https://hackmd.io/@sam571128) - [r1cky](https://hackmd.io/@r1cky) - [ShiYu](https://hackmd.io/@ShiYu0318)

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully