Skip to content

Instantly share code, notes, and snippets.

@LeinahI
LeinahI / grokking_to_leetcode.md
Created February 1, 2024 23:53 — forked from tykurtz/grokking_to_leetcode.md
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@LeinahI
LeinahI / Genshin Impact 3.x Wish URL Android.md
Created April 4, 2023 10:49 — forked from jogerj/Genshin Impact 4.x Wish URL Android.md
Get Wish URL in Genshin Impact 3.x on Android using Android Debugging Tools

Using Termux on Android 10 or above

  1. Open and Download Termux (Do not download from Play Store as it is not up-to-date)
  2. Enable Wireless Debugging on your Android phone
  3. Open Termux and run pkg update && pkg install android-tools termux-api (if failed, run apt update && apt install android-tools termux-api instead)
  4. Open Settings > System > Developer Options > Wireless Debugging. Open the app switcher then tap and hold the Settings app icon. Select "Split top", then select Termux as the bottom half.
  5. Tap on "Pair device with pairing code" and a window will appear. Go to Termux and run adb pair localhost:12345 replacing 12345 with the port number shown in the window (192.168.x.x:12345). Enter the pairing code when prompted, DO NOT CLOSE PAIRING CODE PROMPT the pairing window will close automatically.
  6. Run adb connect localhost:23456 replacing 23456 with the port number show