An one-click utility that retrieves the test cases from a LeetCode problem page to your clipboard.
Inspired by Richard Liu's code here https://github.com/lzl124631x/LeetCode/blob/master/testcase.js.
This extension has been lightly tested with the recent contest problems from https://leetcode.com.
This is beta version, you will install it in developer mode. It will be available via Chrome Extension Store once published.
- Open the Extension Management page by navigating to chrome://extensions.
- The Extension Management page can also be opened by clicking on the Chrome menu, hovering over More Tools then selecting Extensions.
- Enable Developer Mode by clicking the toggle switch next to Developer mode.
- Click the LOAD UNPACKED button and select the extension directory.