Skip to content

Instantly share code, notes, and snippets.

@iCHAIT
Last active July 3, 2021 12:21
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iCHAIT/e4ae42f645aa336facff4737c8d32d9c to your computer and use it in GitHub Desktop.
Save iCHAIT/e4ae42f645aa336facff4737c8d32d9c to your computer and use it in GitHub Desktop.
@dufferzafar
Copy link

@dufferzafar
Copy link

var trs = document.querySelectorAll("tbody.reactable-data > tr"); trs.forEach(function(tr) { var tds = tr.querySelectorAll("td"); var n = tds[1].textContent; var s = tds[2].textContent; var l = tds[2].querySelector("a").href; console.log(n, s, l); });

@iCHAIT
Copy link
Author

iCHAIT commented Nov 4, 2018

They are not all the questions (that are on leetcode). These are the one's that I haven't done yet.

This is a list that has more questions I think - List

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment