Turn Interview Scramble Into Portfolio Gold
Paste your rushed coding-interview solution. Get back clean, commented, production-quality code — ready to push to GitHub or drop into your portfolio.
Start Formatting — $7/moBefore
def two_sum(nums,target):
d={}
for i,v in enumerate(nums):
if target-v in d:
return [d[target-v],i]
d[v]=iAfter
def two_sum(nums: list[int], target: int) -> list[int]:
"""
Find indices of two numbers that sum to target.
Time: O(n) Space: O(n)
"""
seen: dict[int, int] = {}
for index, value in enumerate(nums):
complement = target - value
if complement in seen:
return [seen[complement], index]
seen[value] = indexPro Plan
$7
per month · cancel anytime
- ✓Unlimited code reformats
- ✓AI-generated docstrings & comments
- ✓Before/after syntax-highlighted diff
- ✓One-click GitHub Gist export
- ✓Complexity analysis (time & space)
- ✓README snippet generator
Frequently Asked Questions
What kind of code can I format?
Any language — Python, JavaScript, TypeScript, Java, C++, and more. Paste your raw interview solution and get back clean, documented code ready for GitHub.
How is this different from a linter or Prettier?
Linters fix syntax. We add meaningful variable names, inline comments, docstrings, complexity analysis, and a README snippet — turning a rushed solution into a portfolio piece.
Can I cancel anytime?
Yes. No contracts, no questions. Cancel from your billing portal in one click and you keep access until the end of your billing period.