Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

I'm bad at LeetCode. I keep memorizing solutions to problems instead of actually learning the concepts. That's why I built ClankerRank ( - AI-generated problems to help you confidently prepare for any coding interview. Free + open source!

151,046 görüntüleme • 9 ay önce •via X (Twitter)

55 Yorum

anirudh profil fotoğrafı
anirudh9 ay önce

Throw me a star if you can :) Built using @bunjavascript, @nextjs, @aisdk, @honojs, and @Cloudflare sandboxes + workflows

anirudh profil fotoğrafı
anirudh9 ay önce

@nextjs @aisdk @honojs @Cloudflare Damn, in 24 hours! This was just a side project I built for myself over Thanksgiving and thought I’d share. Yes, it’s buggy, fixing 🫡🛠️

will ye profil fotoğrafı
will ye9 ay önce

diabolical name

anirudh profil fotoğrafı
anirudh9 ay önce

if they ever find out I’m cooked

HackerRank profil fotoğrafı
HackerRank9 ay önce

@will__ye We found out. Great concept though, will try it out.

anirudh profil fotoğrafı
anirudh9 ay önce

@will__ye lmao i meant if the clankers ever find out 😭

Harishankaran profil fotoğrafı
Harishankaran9 ay önce

Interesting name. Agree with you on building a platform for learning the concepts instead of memorizing solutions. Happy to connect sometime to understand more. Drop a note to hari @ hackerrank if you are interested.

anirudh profil fotoğrafı
anirudh9 ay önce

Honored to have made it to your feed! Emailed you :)

Aakash Reddy profil fotoğrafı
Aakash Reddy9 ay önce

This works till you see LLM generate some bullshit test cases and logically ill sounded bullshit questions. It can easily fuckup even if you ask a leetcode question and ask it to diverge from editorial solution, and it goes absolutely bonkers

anirudh profil fotoğrafı
anirudh9 ay önce

absolutely! far from perfect, but there’s a few guardrails you can put in place. for example, LLMs can def hallucinate entire test cases, but you can use LLMs to describe test cases (“a large nondecreasing array of prime numbers”), then use that description to generate code to generate test case inputs. run the solution through those inputs to get expected outputs. the tricky part is in a hallucinated solution, but there’s likely ways to use LLM as a judge here. this is just standard leetcode, not IOI, so shouldn’t be too crazy

Aakash Reddy profil fotoğrafı
Aakash Reddy9 ay önce

Guard rails take you to a particular level, but let us say for a 2D array of arrays, it just gives bullshit output for a given input, and you ask it to check again it gives a different answer, Only way to solve this is generate test cases using the correct code, which is not confirmed to be correct if written by a LLM. But could definitely be an accelerator for this purpose

anirudh profil fotoğrafı
anirudh9 ay önce

yeah so the LLM generates code to generate appropriate inputs and then a solution. it runs the inputs through the solution to get the expected output, preventing the case in which you get different expected outputs every time. the only real problems are in bad input generation code (not likely, pretty trivial to do write code to generate a string/array/number that fits a certain constraint) or a bad solution. bad solution is decently mitigated with LLM as a judge. all in all practical worst case is you can just regenerate a problem haha

Aakash Reddy profil fotoğrafı
Aakash Reddy9 ay önce

Yep, only case this remotely works or illuses to work, is when we run the solution for generated test cases in our execution environment, rather LLM assuming the output

Sheing Ng profil fotoğrafı
Sheing Ng9 ay önce

I am also bad at Leetcode , we should chat! haha

Srivatsan profil fotoğrafı
Srivatsan9 ay önce

This is cool! Would love to check this out, maybe a quick idea would be to have a section which lets this AI help you understand Advent of Code?

anirudh profil fotoğrafı
anirudh9 ay önce

Ooo super interesting! Can look, but also wouldn't mind if you opened a PR!

Srivatsan profil fotoğrafı
Srivatsan9 ay önce

Yeah something like a plug-in where in you can choose from previous year questions and on going questions. Will take a look asw, gave it a star!

Ankita Duri profil fotoğrafı
Ankita Duri9 ay önce

@MehtaDontStop 👏

kate profil fotoğrafı
kate9 ay önce

that’s cool! 👌🏼

anirudh profil fotoğrafı
anirudh9 ay önce

thanks! first time using cloudflare, you guys are killing it!

kate profil fotoğrafı
kate9 ay önce

let me know if there is anything we can improve on sandboxes and make things better

Quark profil fotoğrafı
Quark9 ay önce

This is exactly what intern needs today.

anirudh profil fotoğrafı
anirudh9 ay önce

would love for you to try!

Amey profil fotoğrafı
Amey9 ay önce

Great! But I had one question In leetcode we see many times all LLMs can’t solve hard problems and sometimes medium. So how do we know that the AI generated problem and test cases are correct?

anirudh profil fotoğrafı
anirudh9 ay önce

You're right, this isn't perfect! For now, a sanity check I have is the custom test cases you see in the lower half of the right side. If those don't look right, it's probably a smell. In that case, you can always regenerate a problem!

Amey profil fotoğrafı
Amey9 ay önce

Yeah, maybe something like llm council can solve this problem?

Suyash Kamath  profil fotoğrafı
Suyash Kamath 9 ay önce

Hi Kamath from another Kamath Super Project kella Tuva Anna

autismatic (springbooty 🍑 dev) profil fotoğrafı
autismatic (springbooty 🍑 dev)9 ay önce

good job. will use this

anirudh profil fotoğrafı
anirudh9 ay önce

Thanks! DM me if you run into issues!

Kash profil fotoğrafı
Kash9 ay önce

Much needed 🫠

anirudh profil fotoğrafı
anirudh9 ay önce

Lmk how it goes for you!

Yumin profil fotoğrafı
Yumin9 ay önce

tried it full of bugs

anirudh profil fotoğrafı
anirudh9 ay önce

PRs welcome!

Nikhil Kulkarni profil fotoğrafı
Nikhil Kulkarni9 ay önce

Goat

Nags profil fotoğrafı
Nags9 ay önce

cool

Gerard Ketuma profil fotoğrafı
Gerard Ketuma9 ay önce

Tried it but this UI must have been vibe coded.

anirudh profil fotoğrafı
anirudh9 ay önce

Ah it’s not really meant for mobile use yet :/

Amruth profil fotoğrafı
Amruth9 ay önce

Nice one

Devendra Mishra profil fotoğrafı
Devendra Mishra9 ay önce

Love this idea! Finally, a tool to focus on concepts, not just solutions 💡

arjya profil fotoğrafı
arjya9 ay önce

Well thats cool

Mateo Lafalce profil fotoğrafı
Mateo Lafalce9 ay önce

awesome

V profil fotoğrafı
V9 ay önce

whats the point making a new one with easier difficulties while the point of grinding it is to practice harder questions?

Mouli profil fotoğrafı
Mouli9 ay önce

Great work👍

Shreya profil fotoğrafı
Shreya9 ay önce

Oh

Jatique P profil fotoğrafı
Jatique P9 ay önce

Can I contribute to it ????

Paul Sims profil fotoğrafı
Paul Sims9 ay önce

Impressive Share

Jash Doshi profil fotoğrafı
Jash Doshi9 ay önce

which app was used to record and edit the demo video?

Sahitya profil fotoğrafı
Sahitya9 ay önce

Great project 👌, One more thing how can I create a demo video like this for my project?

anirudh profil fotoğrafı
anirudh9 ay önce

@screenstudio

M. Usman Maqbool Bhutta profil fotoğrafı
M. Usman Maqbool Bhutta9 ay önce

Coding interview

aflatoon profil fotoğrafı
aflatoon9 ay önce

I'm jealous you got this banger domain

Saïd Aitmbarek profil fotoğrafı
Saïd Aitmbarek9 ay önce

just had a look dope for leetcode practice love the fact AI generates consistent problems let's launch/spotlight you mate on if that helps or just for fun ;)

Himanshu Kumar profil fotoğrafı
Himanshu Kumar9 ay önce

Good on you, Anirudh, memorizing is a shortcut but understanding is the real deal, no?

Nihan profil fotoğrafı
Nihan9 ay önce

Amazing share

Suyash Kamath  profil fotoğrafı
Suyash Kamath 9 ay önce

Why this world is cruel to me , Whenever I get an idea , it then gets snatched by someone , see !!!🥲😭😭

Benzer Videolar