Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 9 месяцев назад •via X (Twitter)

Комментарии: 55

Фото профиля anirudh
anirudh9 месяцев назад

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

Фото профиля anirudh
anirudh9 месяцев назад

@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
will ye9 месяцев назад

diabolical name

Фото профиля anirudh
anirudh9 месяцев назад

if they ever find out I’m cooked

Фото профиля HackerRank
HackerRank9 месяцев назад

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

Фото профиля anirudh
anirudh9 месяцев назад

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

Фото профиля Harishankaran
Harishankaran9 месяцев назад

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
anirudh9 месяцев назад

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

Фото профиля Aakash Reddy
Aakash Reddy9 месяцев назад

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
anirudh9 месяцев назад

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
Aakash Reddy9 месяцев назад

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
anirudh9 месяцев назад

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
Aakash Reddy9 месяцев назад

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
Sheing Ng9 месяцев назад

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

Фото профиля Srivatsan
Srivatsan9 месяцев назад

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
anirudh9 месяцев назад

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

Фото профиля Srivatsan
Srivatsan9 месяцев назад

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
Ankita Duri9 месяцев назад

@MehtaDontStop 👏

Фото профиля kate
kate9 месяцев назад

that’s cool! 👌🏼

Фото профиля anirudh
anirudh9 месяцев назад

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

Фото профиля kate
kate9 месяцев назад

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

Фото профиля Quark
Quark9 месяцев назад

This is exactly what intern needs today.

Фото профиля anirudh
anirudh9 месяцев назад

would love for you to try!

Фото профиля Amey
Amey9 месяцев назад

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
anirudh9 месяцев назад

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
Amey9 месяцев назад

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

Фото профиля Suyash Kamath 
Suyash Kamath 9 месяцев назад

Hi Kamath from another Kamath Super Project kella Tuva Anna

Фото профиля autismatic (springbooty 🍑 dev)
autismatic (springbooty 🍑 dev)9 месяцев назад

good job. will use this

Фото профиля anirudh
anirudh9 месяцев назад

Thanks! DM me if you run into issues!

Фото профиля Kash
Kash9 месяцев назад

Much needed 🫠

Фото профиля anirudh
anirudh9 месяцев назад

Lmk how it goes for you!

Фото профиля Yumin
Yumin9 месяцев назад

tried it full of bugs

Фото профиля anirudh
anirudh9 месяцев назад

PRs welcome!

Фото профиля Nikhil Kulkarni
Nikhil Kulkarni9 месяцев назад

Goat

Фото профиля Nags
Nags9 месяцев назад

cool

Фото профиля Gerard Ketuma
Gerard Ketuma9 месяцев назад

Tried it but this UI must have been vibe coded.

Фото профиля anirudh
anirudh9 месяцев назад

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

Фото профиля Amruth
Amruth9 месяцев назад

Nice one

Фото профиля Devendra Mishra
Devendra Mishra9 месяцев назад

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

Фото профиля arjya
arjya9 месяцев назад

Well thats cool

Фото профиля Mateo Lafalce
Mateo Lafalce9 месяцев назад

awesome

Фото профиля V
V9 месяцев назад

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

Фото профиля Mouli
Mouli9 месяцев назад

Great work👍

Фото профиля Shreya
Shreya9 месяцев назад

Oh

Фото профиля Jatique P
Jatique P9 месяцев назад

Can I contribute to it ????

Фото профиля Paul Sims
Paul Sims9 месяцев назад

Impressive Share

Фото профиля Jash Doshi
Jash Doshi9 месяцев назад

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

Фото профиля Sahitya
Sahitya9 месяцев назад

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

Фото профиля anirudh
anirudh9 месяцев назад

@screenstudio

Фото профиля M. Usman Maqbool Bhutta
M. Usman Maqbool Bhutta9 месяцев назад

Coding interview

Фото профиля aflatoon
aflatoon9 месяцев назад

I'm jealous you got this banger domain

Фото профиля Saïd Aitmbarek
Saïd Aitmbarek9 месяцев назад

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
Himanshu Kumar9 месяцев назад

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

Фото профиля Nihan
Nihan9 месяцев назад

Amazing share

Фото профиля Suyash Kamath 
Suyash Kamath 9 месяцев назад

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

Похожие видео