Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

what is AC means in leetcode, is it algorithm technique like DP?

Writer Mia Lopez

I found from various online coding forums, there is a technique called "AC", which looks like "Dynamic Programming" or "Back tracking", but not sure what it is how to use.

Any one has suggestions?

6

3 Answers

AC stands for 'Accepted' solution.

0

AC stands for "Accepted Code" and is commonly phrased as 'Here is my AC Solution' aka 'Here is my Accepted Code Solution.'

Other acronyms used on leetcode include:

  • "compile error" (CE)
  • "memory limit exceeded" (MLE)
  • "runtime error" (RTE)
  • "time limit exceeded" (TLE)
  • "wrong answer" (that's WA)

It is a term introduced to computer science by leetcode community 😁 . It means Accepted Code but it is important to know why it could be not accepted, the common reasons are given here :

It looks like future generations will grap this phrase because almost everywhere asks new engineers algorithm questions and people practice on leetcode like places.

In the real world, there is nothing like that. It would be very funny to talk about your piece of software as "accepted code". There are terms like acceptance criteria and your software needs to meet them on top of passing your tests such as unit and integration tests.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy