Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@dufferzafar

This comment has been minimized.

Copy link

@dufferzafar dufferzafar commented Oct 23, 2018

@dufferzafar

This comment has been minimized.

Copy link

@dufferzafar dufferzafar commented Oct 23, 2018

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

This comment has been minimized.

Copy link
Owner Author

@iCHAIT 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