Inspiration
As computer science students, we are all too familiar with the banal grayness of LeetCode. We subscribe to hours upon hours of coding practice, knowing that we are not likely to get that internship, that second-round interview, or even pass the technical. And yet we persevere, it’s just the nature of the aspiring computer scientist: the ability to surpass challenges and grow beyond our current limits. We’ve all wished for a helping hand to pull us out the mud, and who better to support you on this challenging journey than your friendly neighbor family guy: Peter Griffin!
What it does
PeteCode is the ultimate tool for developing your LeetCode and technical interview skills. PeteCoders can instantly find thorough, optimal solutions to LeetCode problems that are backed up by in-depth explanations of key concepts. PeteCode’s integrated AI gives walkthroughs of solution processes, key concepts, and interview skills. It is an especially powerful tool for auditory learners, who benefit from listening over reading. PeteCode stops you from wasting time looking for a good solution and avoids the confusion of deciphering a poorly written one! Just copy the link to your LeetCode problem, and you’ll have a great explanation in no time.
How we built it
We brought PeteCode to life using a diverse, reliable, and innovative tech stack. We used React frontend and Django on the backend, supported by a Supabase database. To power PeteCode’s AI components, we leveraged BAML to improve prompt engineering to the GroqCloud and ElevenLabs APIs, which we combined and optimized using FastAPI.
Challenges we ran into
From user authentication to SupaBase string matching, we faced many challenges in the development of PeteCode. We spent a long time learning to leverage and combine different APIs, and our attempts to scrape LeetCode forced us to think out of the box for alternative solutions. Many times, our solutions led us to different problems, forcing us to continuously ideate, collaborate, and grow. Overcoming these challenges is the joy of coding, and we leave this project feeling wiser than we were at the start of the weekend.
What we learned
PeteCode was a constant learning experience. Whether it was our first time making a web application, or we had worked with generative AI many times before, we all built plenty of technical and interpersonal skills. For what was our first hackathon experience, we are extremely proud of the huge strides we made in just the past 24 hours. MHacks has prepared us to be resourceful, innovative, and confident in the face of challenges.
Built With
- baml
- django
- eleven-labs-api
- fast-api
- groq
- react
- supabase
- typescript
Log in or sign up for Devpost to join the conversation.