All integrationsEducation

LeetCode

Follow LeetCode's daily challenge, look up and search its coding problems, and track anyone's public progress, recent solves, badges and contest results.

actions
18
triggers
2

Triggers

Start a workflow when something happens in LeetCode.

  • New daily challengeTriggers when LeetCode posts a new daily coding challenge, every day at midnight UTC, with the problem's title, difficulty, topics, statement and link.
  • User solves a problemTriggers when a LeetCode user gets a solution accepted, with the problem's title, number, difficulty and link, and the language used.

Actions

Steps a workflow can run in LeetCode.

  • Get daily challengeGet today's LeetCode daily coding challenge: the problem's number, title, difficulty, topics, statement as plain text, hints and link. A new one is posted every day at midnight UTC.
  • List daily challengesList every daily challenge of one month, oldest first, with each problem's number, title, difficulty and topics.
  • Get problemGet one problem in full: its statement as plain text and HTML, difficulty, topics, hints, acceptance rate, likes and similar problems. Premium problems come without a statement.
  • Search problemsSearch LeetCode's problems by words in the title or number, difficulty and topics, sorted the way you choose. Returns one page of problems and how many match in all.
  • Get random problemPick a random problem, optionally of one difficulty and set of topics, and get it in full. Free problems only, unless you include premium ones.
  • List topicsList every topic LeetCode files its problems under, such as Array, Dynamic Programming and Graph, A to Z.
  • Get user profileGet a LeetCode user's public profile: name, ranking, reputation, country, company, school, skills, links and the badge they show.
  • Get user progressGet how many problems a LeetCode user has solved, in all and by difficulty, out of how many there are; the share of users they beat at each difficulty; their acceptance rate; and problems solved per language.
  • Get user topic statsGet how many problems a LeetCode user has solved in each topic, most first, grouped by LeetCode as fundamental, intermediate or advanced.
  • List recent solvesList a LeetCode user's most recent accepted solutions, newest first: the problem, the language and when. LeetCode shows up to 20.
  • List recent submissionsList a LeetCode user's most recent submissions, newest first, accepted or not, with LeetCode's verdict on each (Accepted, Wrong Answer and so on). LeetCode shows up to 20.
  • Get submission calendarGet the days a LeetCode user submitted solutions, with how many each day, for one year or the past 12 months, plus their active days and longest streak.
  • List user badgesList the badges a LeetCode user has earned, newest first, with the badges they can earn next.
  • Get contest ratingGet a LeetCode user's contest rating, global rank, top percentage, contests attended and badge (Knight or Guardian).
  • Get contest historyList the contests a LeetCode user took part in, newest first, with their rank, problems solved, finish time and how each contest moved their rating.
  • List upcoming contestsList LeetCode's next weekly and biweekly contests, soonest first, with when each starts and how long it lasts.
  • List past contestsList LeetCode contests that have finished, newest first.
  • Get contestGet one LeetCode contest: when it starts, how long it lasts and, once it has started, its problems and their points.

Automate LeetCode with Lodol.

Connect LeetCode and ask your AI for your first workflow.

Free plan, no credit card