彭繼霆
    • 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
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- tags: leetcode disqus: hackmd --- LeetCode Practice === - [home](/@Giting/home) Daily coding practice about data structure and algorithms. Interview (12) --- - [Notes](/@Giting/snOcdeA0RxykG6WSut5B-A) - [Code Problems](/@Giting/k5lYdo0jTE2VoLREg2VRYQ) - [E-mail Sample](/@Giting/bg-GYm5iRlaNYKeIUxhXUg) - [晶睿 VIVOTEK](/@Giting/jlfkjmnlTBaNIC8EiHDqxQ) - [希瑞 Bigtera](/@Giting/WTTCTqq0TEy80YtjgUnyWQ) - [美超微 Supermicro](/@Giting/D6rBGX9JS8G6LsUPA-PYdg) - [威聯通 QNAP](/@Giting/fAqVu6XbRqGcw4QC7mLyvw) - [捷濤 ActionsMicro](/@Giting/1OWRTWRGRP6R3SQftvU_6A) - [康全 Comtrend](/@Giting/7fIiDssjRg2GL5WF-XpLFw) - [和碩 Pegatron](/@Giting/ytC1mcjkRZynm8c6OrJ2bg) - [廣達 Quanta](/@Giting/Mh73un1YQGqItylzRKm_zw) - [緯穎 Wiwynn](/@Giting/bYNbOarzTOW7s1U6x4uKbw) - [安邁 AMI](/@Giting/DsATz2zpRSqMK7p_nMWhDw) - [瑞軒 AmTRAN](/@Giting/PRylCISyQm-WBKbjbVGFaA) - [圓展 Aver](/@Giting/UYUKV70lRiajMs0C2i2BiQ) - [Job List](/@Giting/2mLtVei4SD-R3cBF4P8aRQ) Coding Practice --- - ### C language (169) - [2. Add Two Numbers **<font color="#FFBD33">Medium</font>**](/@Giting/Fj_lAKwmSTCcYUQJcW4j-Q) - [3. Longest Substring Without Repeating Characters **<font color="#FFBD33">Medium</font>**](/@Giting/xfcK_20vRAexFqUtKm1nLQ) - [5. Longest Palindromic Substring **<font color="#FFBD33">Medium</font>**](/@Giting/3ESsOXBvTnWISvqKCNxEOg) - [8. String to Integer (atoi)]() - [11. Container With Most Water **<font color="#FFBD33">Medium</font>**](/@Giting/-dDZkKw2QRmRJxqPVqR9nw) - [12. Integer to Roman **<font color="#FFBD33">Medium</font>**](/@Giting/2ucVRyBwSie-c0BJ5BYVDQ) - [15. 3Sum **<font color="#FFBD33">Medium</font>**](/@Giting/vo71u1adTM6idCknoaKoMQ) - [22. Generate Parentheses **<font color="#FFBD33">Medium</font>**](/@Giting/psIBGTRlQ8aciJpOhdHVFQ) - [42. Trapping Rain Water **<font color="#C70039">Hard</font>**](/@Giting/0BCsvuKPSneILFqlNODLHQ) - [46. Permutations **<font color="#FFBD33">Medium</font>**](/@Giting/c5-XQEPnR2GotLsSmW2kgg) - [49. Group Anagrams **<font color="#FFBD33">Medium</font>**](/@Giting/kTqSEDkcRrahcfL2uox-tA) - [75. Sort Colors **<font color="#FFBD33">Medium</font>**](/@Giting/oGcd_MDjT8S_F-KwNIWTqA) - [78. Subsets **<font color="#FFBD33">Medium</font>**](/@Giting/5j0CGdghQnu2IQO-FezBoQ) - [94. Binary Tree Inorder Traversal **<font color="#FFBD33">Medium</font>**](/@Giting/v7ZbiFaBTuCUY87L0cHpJA) - [98. Validate Binary Search Tree](/@Giting/F9P6YCIKRj6GNmnxvzjNKw) - [142. Linked List Cycle II **<font color="#FFBD33">Medium</font>**](/@Giting/xSb44QPxRrW6BCtS2XxNaQ) - [124. Binary Tree Maximum Path Sum **<font color="#C70039">Hard</font>**](/@Giting/hUylurxpTZuUCDz14FXvcw) - [136. Single Number](/@Giting/lrFYnFlIQ6yQw1kdgzOABw) - [169. Majority Element](/@Giting/3qCB_Sf3SY6kXuGFFSwYSg) - [171. Excel Sheet Column Number](/@Giting/v1XeLTGVRDKaxon_DB560A) - [172. Factorial Trailing Zeroes](/@Giting/YOilR7fMQCS2AcXmMihjtA) - [204. Count Primes](/@Giting/R3CCupSESUm9FNz113nqOw) - [215. Kth Largest Element in an Array **<font color="#FFBD33">Medium</font>**](/@Giting/VwDusSSLTPSCLh6FgbR7bA) - [217. Contains Duplicate](/@Giting/W2-wS1GQSZigNfzCxgqKlg) - [238. Product of Array Except Self **<font color="#FFBD33">Medium</font>**](/@Giting/hZbNqzaRQU-KNHn2Uhl0zg) - [242. Valid Anagram](/@Giting/5QeeOkyZS6uXujh0k1kstQ) - [287. Find the Duplicate Number **<font color="#FFBD33">Medium</font>**](/@Giting/s1ztEKe7RHe04wljskIxEQ) - [319. Bulb Switcher](/@Giting/e5JoqNSTTcaAr0RMB7pd5Q) - [328. Odd Even Linked List **<font color="#FFBD33">Medium</font>**](/@Giting/6_i6ZADrQH69wUnx-u7JSw) - [338. Counting Bits **<font color="#FFBD33">Medium</font>**](/@Giting/eGpJjrYtSfyqlLzFdk73OQ) - [345. Reverse Vowels of a String](/@Giting/pzEwE0cWR1qLPaNayCRRRA) - [347. Top K Frequent Elements **<font color="#FFBD33">Medium</font>**](/@Giting/RTmEKR7gR6q-wtqdRzeLuw) - [350. Intersection of Two Arrays II](/@Giting/sOPTdPD2QeWG94cVW2Uv-w) - [389. Find the Difference](/@Giting/pMmhZEYHRLqjjrbEUmedBA) - [406. Queue Reconstruction by Height **<font color="#FFBD33">Medium</font>**](/@Giting/OspG4deLQxeKK-aEekvfkw) - [416. Partition Equal Subset Sum **<font color="#FFBD33">Medium</font>**](/@Giting/IrNeslXGTFGnMtrToYvDAw) - [434. Number of Segments in a String](/@Giting/1HfyE4XfR7uhsvAP0YWAAA) - [441. Arranging Coins](/@Giting/3-v1NmaqQBGA5hplUDe6hA) - [459. Repeated Substring Pattern](/@Giting/kyZLcrkLT_qjbHiKoPwQAw) - [485. Max Consecutive Ones](/@Giting/D-Y7e_ozQayRcSpPx49p0Q) - [494. Target Sum **<font color="#FFBD33">Medium</font>**](/@Giting/5k05I3_wTqeDAh2Ic9nlnw) - [509. Fibonacci Number](/@Giting/ZFE3TVHvQ_6XDSdEPCnrOg) - [520. Detect Capital](/@Giting/Xw_22IAsSteDXdur_N2gww) - [543. Diameter of Binary Tree](/@Giting/HNr6VU-eTIak60mjyaMhNA) - [560. Subarray Sum Equals K **<font color="#FFBD33">Medium</font>**](/@Giting/zJ3onMY8SiKburM1fI0TLQ) - [563. Binary Tree Tilt](/@Giting/Y7ch17xtTze8rGvyUKCjHg) - [594. Longest Harmonious Subsequence](/@Giting/pqDXtI4bRXuvEVfHkSK_lw) - [621. Task Scheduler **<font color="#FFBD33">Medium</font>**](/@Giting/X9f6jmR0TDmVC_8Ghw020A) - [647. Palindromic Substrings **<font color="#FFBD33">Medium</font>**](/@Giting/wRrXMZTaRue7SxJreKVidA) - [693. Binary Number with Alternating Bits](/@Giting/roeMx8-8Temu3SrEOrdIcQ) - [700. Search in a Binary Search Tree](/@Giting/xRUgmgxVQzmU_fDqdO0IgQ) - [709. To Lower Case](/@Giting/RKonDaGqSmiPFrBtJ7Po7A) - [739. Daily Temperatures **<font color="#FFBD33">Medium</font>**](/@Giting/BAUoI_nCTHCg3zspWR92XQ) - [746. Min Cost Climbing Stairs](/@Giting/h6dql7fWSxe1F9OTYfAu_A) - [747. Largest Number At Least Twice of Others](/@Giting/xWe7q6bvR5yp-CJustEEQQ) - [762. Prime Number of Set Bits in Binary Representation](/@Giting/Bi2odsh3Rd-M9G_Zi7uOyw) - [766. Toeplitz Matrix](/@Giting/HaBC62xPQ7aVDs0rvx4HfA) - [771. Jewels and Stones](/@Giting/ceKeN6GITyGKFeTJbV1bxQ) - [784. Letter Case Permutation](/@Giting/UILWqzAkS76es8d6nCTtbg) - [821. Shortest Distance to a Character](/@Giting/m6a5SqGrRmGewRRBuNcq4A) - [832. Flipping an Image](/@Giting/EQMnclheT-Cyev5LcGBWAQ) - [844. Backspace String Compare](/@Giting/UL7ppin7RFGM6VOtogjHuA) - [874. Walking Robot Simulation](/@Giting/L9pqRY-EQMyUAY9Ukur9aA) - [852. Peak Index in a Mountain Array](/@Giting/FgEkDVKnQ7ibzo-sLDdKJg) - [859. Buddy Strings](/@Giting/hElCDxSGRiiD0CRGs4I-_w) - [868. Binary Gap](/@Giting/nIL0wfN3RFmCzH5V158aUg) - [876. Middle of the Linked List](/@Giting/kcRERcAHR4ODejtSeZfLXQ) - [872. Leaf-Similar Trees](/@Giting/fLA7Pjv-T2qs3JZD1FTa-g) - [884. Uncommon Words from Two Sentences](/@Giting/SvmWvJf2TE2HMzRC_B-v9g) - [905. Sort Array By Parity](/@Giting/tQuw2s35SW6he1mvAj7OOQ) - [908. Smallest Range I](/@Giting/Sf4HbK0STRaYvCh6vnaX-Q) - [922. Sort Array By Parity II](/@Giting/JgBchSpQT52s8abteY_1Zg) - [925. Long Pressed Name](/@Giting/x7dceL2WRsCxT6LTyGjHKQ) - [938. Range Sum of BST](/@Giting/Nz-xZw4xRBa_juGL8IcO0w) - [942. DI String Match](/@Giting/nmqjEc4ZRA-BoESTaq-YMA) - [961. N-Repeated Element in Size 2N Array](/@Giting/HQJWk8XnR92xG3m2Fhr7yw) - [977. Squares of a Sorted Array](/@Giting/JQo6LK-VTeuNAcxcX9ReIQ) - [997. Find the Town Judge](/@Giting/DgfPptrQTnqG52YK3BNzVA) - [1002. Find Common Characters](/@Giting/CK04TLvHT-ujGq7G2CddDA) - [1005. Maximize Sum Of Array After K Negations](/@Giting/OsuTEmsnTKuRHyd7McDkcA) - [1016. Binary String With Substrings Representing 1 To N **<font color="#FFBD33">Medium</font>**](/@Giting/xjW6p7xLTVaRRYFFDLcgbg) - [1021. Remove Outermost Parentheses](/@Giting/8Qp0SpKJS76nPA_--mGGgw) - [1025. Divisor Game](/@Giting/9Oao-MBjRm6Zxeyv7emMMw) - [1029. Two City Scheduling](/@Giting/IfUCTtIJQ7CxrczTwgGlKw) - [1037. Valid Boomerang](/@Giting/barcuwW6RuedP1jbycXWAQ) - [1046. Last Stone Weight](/@Giting/MkpM6xspT2-4qXHODMhzTg) - [1041. Robot Bounded In Circle **<font color="#FFBD33">Medium</font>**](/@Giting/4y2vw10vRsyNCBjjW-S5uQ) - [1051. Height Checker](/@Giting/ODAh7-eGQ1e-Tl7DKC3pvQ) - [1089. Duplicate Zeros](/@Giting/EG1BHk09QuekO-FhWoVXmA) - [1103. Distribute Candies to People](/@Giting/S9i7pCTeQ6OPz_kyWJIRmw) - [1108. Defanging an IP Address](/@Giting/vnG4vNp6QDioDa3iu878OA) - [1114. Print in Order](/@Giting/qJ5ZSGywQxq6F3MGbwChTg) - [1116. Print Zero Even Odd **<font color="#FFBD33">Medium</font>**](/@Giting/aGAaMFjlQwOzfCkNfJBJLg) - [1122. Relative Sort Array](/@Giting/1KhLZS6LR6Sb-xscIyPKmw) - [1137. N-th Tribonacci Number](/@Giting/mBWD7F6gRKOy4WUWEn_Qmg) - [1154. Day of the Year](/@Giting/T2qzDYXqRVOodLNRJ8yR7A) - [1160. Find Words That Can Be Formed by Characters](/@Giting/rgJzwhDoQQiIxiIvN0U1Ow) - [1266. Minimum Time Visiting All Points](/@Giting/7KAWTZYSQBaihvhdJyyD7g) - [1281. Subtract the Product and Sum of Digits of an Integer](/@Giting/7KAWTZYSQBaihvhdJyyD7g) - [1175. Prime Arrangements](/@Giting/yVaTt95mReulBS4CxtU7Lw) - [1189. Maximum Number of Balloons](/@Giting/r5g87KRbSXO-csnkAeprgg) - [1190. Reverse Substrings Between Each Pair of Parentheses](/@Giting/aUOumCmDQLeMtrXM7TiOaw) - [1200. Minimum Absolute Difference](/@Giting/UOV6xXzySheLN0xWNA9tew) - [1207. Unique Number of Occurrences](/@Giting/mmLfgjE1Sn2slqp4QW5wOw) - [1221. Split a String in Balanced Strings](/@Giting/4B3LiliuTJClK7_X5aXvbw) - [1232. Check If It Is a Straight Line](/@Giting/H2t0VaAoRcWJ2rr35SvJ2w) - [1252. Cells with Odd Values in a Matrix](/@Giting/8LzUUI4ISkOsIOAm8reVIg) - [1275. Find Winner on a Tic Tac Toe Game](/@Giting/0kM8d-oETmyAfTwBhsNAnw) - [1282. Group the People Given the Group Size They Belong To **<font color="#FFBD33">Medium</font>**](/@Giting/u58OPMrOQXav0BEr1RLB3w) - [1287. Element Appearing More Than 25% In Sorted Array](/@Giting/8irA0WBfTEG803nTVgqNpw) - [1290. Convert Binary Number in a Linked List to Integer](/@Giting/yZOZTzqfQCWkIPtJngncIw) - [1295. Find Numbers with Even Number of Digits](/@Giting/N0tiKholTJSLfJW6L_TpJw) - [1299. Replace Elements with Greatest Element on Right Side](/@Giting/byheFlhCTNO7HZCKclsTEQ) - [1302. Deepest Leaves Sum **<font color="#FFBD33">Medium</font>**](/@Giting/ozb3k0zWSni5v0Ed3C93dg) - [1304. Find N Unique Integers Sum up to Zero](/@Giting/llCVYhCsS4CU1o66K9ACew) - [1305. All Elements in Two Binary Search Trees **<font color="#FFBD33">Medium</font>**](/@Giting/OyeyL1MmSMOKHeCIZuzZaw) - [1309. Decrypt String from Alphabet to Integer Mapping](/@Giting/kseYzII9Tku4HtKiQCeG4w) - [1313. Decompress Run-Length Encoded List](/@Giting/yA4DK40cTmS4cWLrhCMAqA) - [1315. Sum of Nodes with Even-Valued Grandparent **<font color="#FFBD33">Medium</font>**](/@Giting/_Q6rk1m3Ti-KIKQoJ1xW7Q) - [1317. Convert Integer to the Sum of Two No-Zero Integers](/@Giting/_hvJBNl5QN6gA8tTX9a45Q) - [1318. Minimum Flips to Make a OR b Equal to c **<font color="#FFBD33">Medium</font>**](/@Giting/xJSJ9l6lQH6VHEDgQejUAw) - [1323. Maximum 69 Number](/@Giting/hQXwzEy-RHufysfcWrL61Q) - [1325. Delete Leaves With a Given Value **<font color="#FFBD33">Medium</font>**](/@Giting/os35T2xpQFmA0DJ7aoB-eA) - [1329. Sort the Matrix Diagonally **<font color="#FFBD33">Medium</font>**](/@Giting/WOxrOfeuT_KvTuk1RsyR1A) - [1330. Reverse Subarray To Maximize Array Value **<font color="#C70039">Hard</font>**](/@Giting/90LP88d-R1ilZQN4kktgOg) - [1331. Rank Transform of an Array](/@Giting/GPhgpEqET1aneKViJ01irQ) - [1332. Remove Palindromic Subsequences](/@Giting/N9vKNgm3Q626DNQPtNZijQ) - [1337. The K Weakest Rows in a Matrix](/@Giting/M0qAvStMRxSqsPz7MZ6Wdw) - [1338. Reduce Array Size to The Half **<font color="#FFBD33">Medium</font>**](/@Giting/m07Y-f9-R8KKYT-pFiy2Ig) - [1342. Number of Steps to Reduce a Number to Zero](/@Giting/ogt02s_uSVSKMHF0KCAWQg) - [1344. Angle Between Hands of a Clock **<font color="#FFBD33">Medium</font>**](/@Giting/t3iow_cTQeS7jIo8DysqFQ) - [1346. Check If N and Its Double Exist](/@Giting/rN10Mg64Sqa6zQZt-eQHcQ) - [1347. Minimum Number of Steps to Make Two Strings Anagram **<font color="#FFBD33">Medium</font>**](/@Giting/f_UYUgwARg6xtv-6XybgEQ) - [1351. Count Negative Numbers in a Sorted Matrix](/@Giting/hqbhNCyOSG601fHet1Xufg) - [1354. Construct Target Array With Multiple Sums **<font color="#C70039">Hard</font>**](/@Giting/B-I7gjuRTH-_ksUSwE_XzQ) - [1356. Sort Integers by The Number of 1 Bits](/@Giting/v0LIURP6RSC3A0CGyg804w) - [1360. Number of Days Between Two Dates](/@Giting/elDARoaATim9hf7Q_BFYNA) - [1361. Validate Binary Tree Nodes **<font color="#FFBD33">Medium</font>**](/@Giting/9XlWG7LwSdaZNXSbrzyK5g) - [1365. How Many Numbers Are Smaller Than the Current Number](/@Giting/TYRPD3_tRPma2iqd2Wquig) - [1266. Minimum Time Visiting All Points](/@Giting/Qmko-FDvRc61vQ_iTlXM0w) - [1367. Linked List in Binary Tree **<font color="#FFBD33">Medium</font>**](/@Giting/1vCz-js1SL25qu1PWaRJoA) - [1370. Increasing Decreasing String](/@Giting/OTcHWfsCSimR9g_cWNVMbQ) - [1374. Generate a String With Characters That Have Odd Counts](/@Giting/yjFlFZlaQimLMgtZ8KL5wA) - [1380. Lucky Numbers in a Matrix](/@Giting/hPABt3rgQ3mhS0Y4rHPa_g) - [1385. Find the Distance Value Between Two Arrays](/@Giting/5hwhs9B3SWqrhV0EKKaMNA) - [1389. Create Target Array in the Given Order](/@Giting/ZHBWL3AgRQKfiTfgukq_ew) - [1394. Find Lucky Integer in an Array](/@Giting/6BYYW7bJS_eZW-8AnJuWWQ) - [1395. Count Number of Teams **<font color="#FFBD33">Medium</font>**](/@Giting/4CnWnVbRTAyX8B0mRUX9-g) - [1399. Count Largest Group](/@Giting/XY04t5u-R2udpe62PejUTQ) - [1408. String Matching in an Array](/@Giting/td9f3UCnTtG-IbvNphTT2w) - [1403. Minimum Subsequence in Non-Increasing Order](/@Giting/G4XGC6SbR6-uE2wFNs-tnQ) - [1413. Minimum Value to Get Positive Step by Step Sum](/@Giting/vNLVZp_FQbSkKf90WtWpOg) - [1417. Reformat The String](/@Giting/fO2qWm41Tou_TQKnjKOZEQ) - [1422. Maximum Score After Splitting a String](/@Giting/fjz6YjTeRvWoCy9YETfMrg) - [1431. Kids With the Greatest Number of Candies](/@Giting/Cqyno6oPRgCEIVM0dqJcVQ) - [1436. Destination City](/@Giting/sEG7l_oOSP-37_rwUCo1nQ) - [1441. Build an Array With Stack Operations](/@Giting/qTTaeW1ZSh6AIEkbYaNQfw) - [1450. Number of Students Doing Homework at a Given Time](/@Giting/eb7rduOOT4qOrQed7i_RMw) - [1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence](/@Giting/Z0HA4os5TD-_uYj353d1cA) - [1460. Make Two Arrays Equal by Reversing Sub-arrays](/@Giting/EAe5INk1SiOYw4hI7uLTkg) - [1464. Maximum Product of Two Elements in an Array](/@Giting/N22WqN2nT_iH51hjjMpC4A) - [1470. Shuffle the Array](/@Giting/BRhTjP_xS8KcrYUp9GJ6VA) - [1512. Number of Good Pairs](/@Giting/9GUF9XjYRZir3HterGQlTQ) - ### Python (21) - [136. Single Number](/@Giting/lx9sphTORxOUPcN8_w3kDg) - [136. Single Number](/@Giting/sWZvqPvBRJiK0TH_-CWD5g) - [509. Fibonacci Number](/@Giting/AEsz46CGTJy_IK23b9arLA) - [1413. Minimum Value to Get Positive Step by Step Sum](/@Giting/Kh8kACv_R-K8nqJCIMQcig) - [1417. Reformat The String](/@Giting/YqufKMuAQUSjRrrlyCNvaw) - [1431. Kids With the Greatest Number of Candies](/@Giting/Cqyno6oPRgCEIVM0dqJcVQ) - [1422. Maximum Score After Splitting a String](/@Giting/kmgJjrH1Te-uLUI9PySG4w) - [1441. Build an Array With Stack Operations](/@Giting/xJqgnyJLTZyPDve1Ae4QHg) - [1450. Number of Students Doing Homework at a Given Time](/@Giting/Cx3eKkTcT7CeD9goU3u-MQ) - [1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence](/@Giting/UdXLXRJLRO6G1JujcOTLDQ) - [1460. Make Two Arrays Equal by Reversing Sub-arrays](/@Giting/DG9GLHBfSfOX7-taC_a8rQ) - [1464. Maximum Product of Two Elements in an Array](/@Giting/bNSbGADpTHqLdMJEnDRZuQ) - [1470. Shuffle the Array](/@Giting/-Y4PF6xRShCnbfNZMbQHAA) - [1512. Number of Good Pairs](/@Giting/pB8hcTkeSk6F9DO-WlcFmQ) - ### Todo (21) - [589. N-ary Tree Preorder Traversal](/@Giting/S5LMCLmxQfOlMSYoyB5kOg) - [C language practice](/@Giting/wAshkx-eQHKLN2FF7mnzdg) - [](/@Giting/) - [](/@Giting/) - [Print a solid and a hollow cycle pattern]() - [Five sided dice]() - [Use five sided dice to make a seven sided dice]() - [Playing cards]() Books(3) --- - [](/@Giting/) ###### tags: `leetcode` `algorithm` `practice` `interview`

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