Shantanu retweeted
看完 Anthropic 大佬写的这篇文章,认知直接被干碎了……
原来我们自以为已经很会用 AI,实际上可能连它 1% 的能力都没挖掘出来。
手里握着一座金矿,却天天拿它当铲子用。明明可以榨出百倍的价值,却还停留在问答的阶段。
这篇文章简直是神作,值得反复研读,甚至重构自己使用 AI 的整个工作流!
🚀 Day 11 of #100DaysOfCode #InterviewPrep
🔥Challenge: Implement a classNames(...args) utility.
It should conditionally join class names by supporting:
- strings
- objects ({ className: boolean })
- arrays (recursively flattened)
- ignoring all falsey values
1
4
77
🚀 Day 10 of #100DaysOfCode #InterviewPrep
🔥Challenge:
Implement a curry(fn) function without using any library helpers.
It should:
> Accept a function fn
> Keep collecting until it has at least fn.length arguments
> Then execute fn with all collected args
🎯 What You Will Learn
> Understanding fn.length (function arity)
> Using closures to store accumulated arguments
> Returning functions dynamically
> When to execute vs when to keep collecting arguments
> Difference between currying and partial application
🎯 Where Currying Is Used
> Creating reusable “preset” functions (e.g., add(2)(x))
Solution is in comments.
1
4
61
🚀 Day 9 of #100DaysOfCode #InterviewPrep
🔥 Challenge:
Implement a throttle(callback, wait) function.
The returned function should:
> Invoke callback immediately on the first call
> Ignore subsequent calls until wait ms have passed
Then allow the next call, and repeat the cycle
🎯 Where Throttling Is Use
> Scroll / drag-n-rop / screen relatedevent handler
> Rate limiting
🎯 What You Will Learn
> Closures: Managing state inside of closures (Very important topic)
> Controlling execution frequency with timestamp or cooldown flags
> Difference between throttling vs debouncing
3
6
71
Wrapped up the interview-1, went way better than I expected!
I even asked the interviewer to rate it out of 10… and he gave it a 9/10 😄
Feeling hopeful. Now waiting for the next steps !
below is the list of questions I was asked👇
Not posting my daily challenge today, got an interview scheduled at 12:30 PM 😅
The email came yesterday evening, so the prep time is almost zero.
Well lets hope for the best✌️
I’ll share the interview questions once I’m done!
2
4
74
Backend interview questions I faced today :
1. How JWT auth works + where to store tokens on the frontend
2. What standards to follow when designing APIs
3. Naming conventions for clean & scalable APIs
4. Input validation + sanitising request bodies
5. How JavaScript is async despite being single-threaded
6. Web Workers and where they fit in
1
2
56
Not posting my daily challenge today, got an interview scheduled at 12:30 PM 😅
The email came yesterday evening, so the prep time is almost zero.
Well lets hope for the best✌️
I’ll share the interview questions once I’m done!
🚀 Day 8 of #100DaysOfCode #InterviewPrep
Challenge🔥:
Implement a debounce(callback, wait) function without using any debounce libraries.
debounce() should return a new function that delays calling callback until wait ms have passed since the last invocation.
🎯 Where Debouncing Is Used
> Search bars (wait for user to stop typing before firing API calls)
> Window resize events
> Scroll event optimizations
> Button spam prevention
🎯 What You Will Learn
> How to control execution frequency with setTimeout
> Clearing timers with clearTimeout
> Closures for storing timer IDs
Solution is in comments ⬇️:
2
5
69





















