---
title: "Getting Ready for a Technical Interview? Try These Practice Qs - CoderPad"
description: "You’re still going to have to crush it in your technical interview. Give these amazing questions from Hackbright a shot to test your skills (oh, and check out their advice for job seekers too!)."
canonical: "https://coderpad.io/blog/interviewing/practice-questions-from-our-friends-at-hackbright/"
last_modified: "2022-01-05 12:44:55"
---
[Back to blog](https://coderpad.io/blog/)

# Try These Practice Qs from Our Friends at Hackbright

May 5, 2020 5 Minute Read [Interviewing](https://coderpad.io/blog/interviewing/)

# Getting Ready for a Technical Interview? Try These Practice Qs from Our Friends at Hackbright

In the best of times, it’s normal to feel nervous about applying for a job, especially a technical one that demands a demonstration of skill.

Now, of course, it’s a whole new level of weird and worry. Totally remote interviews. Having a team lunch on Zoom instead of an onsite catered lunch. Attempting to gauge culture fit through a screen. One upside – no more whiteboard – which admittedly makes us really happy.

Regardless of the interview setup, you’re still going to have to crush it in your technical interview. Give these amazing questions from Hackbright a shot to test your skills (oh, and check out their advice for job seekers too!).

## TEST YOUR SKILLS

Before you start: try these answers out using CoderPad’s sandbox [here](https://coderpad.io/sandbox). Or find a friend and practice interviewing each other with CoderPad’s free candidate account available [here](https://coderpad.io/register?plan_intent=0).

### Leveret Lunch Overview

“Leveret” is a fancy word for a baby bunny (okay, technically, a leveret is a young hare but baby bunny sounds better) and like all baby animals, they have huge appetites.

### Leveret Munch (Easier)

Baby Leveret is hopping down the garden trail in a quest to devour as many carrots as she can.
Each plot along the trail contains a certain number of carrots. We can represent the number of carrots in each plot as an element in an array of integers, where each number represents a plot:

```
        [4, 5, 3, 5]

```

Baby leverets can only eat a total of 10 carrots, and not any more. Given an array formatted like the one above, a baby leveret could eat 2 full plots of carrots. Here’s an explanation.

```
        # Baby Leveret starts at the garden gate

        [4, 5, 3, 5]    4 carrots eaten, 1 plot consumed
         ?

        [4, 5, 3, 5]    9 carrots eaten, 2 plots consumed
           ?

        [4, 5, 3, 5]    12 carrots eaten - too many! Stop here.
              ?

```

#### The Challenge

Write a function that takes in an array of integers that represent the number of carrots in each plot in a garden trail. This function should return the number of plots a baby leveret will eat, only counting plots that can be eaten in completion. (A leveret can’t eat part of a plot.)

### Question Two: Leveret Lunch (Medium)

Our hero, Baby Leveret, starts in the middle of a garden and eats carrots until she falls asleep.
The garden is a grid that is nrows tall and ncols wide. Each plot in the garden has a particular number of carrots in it.

Baby Leveret will dig a little tunnel all the way to the center of the garden, where she’ll start her feast. If the center of the garden consists of more than one plot, she’ll choose the plot with the most number of carrots to start (assume there will never be a tie between multiple plots) and eat allllll the carrots there.

Then, she’ll look around at neighboring plot to sniff out the one with the most carrots. She always sniffs the plot to her west first (left), then north (up), then east (right), then south (down); if there are two or more plots that tie for the highest number of carrots, she’ll hop to the first plot her nose encountered (that is, the first plot she encountered in west-north-east-south order).
Once there are no neighboring cells with carrots, she falls asleep for a well-deserved nap.
For example, consider this garden:

```
         A   B   C   D   E   F   G
       +---------------------------+
    1  | 2 | 3 | 1 | 4 | 2 | 2 | 3 |
       |---+---+---+---+---+---+---|
    2  | 2 | 3 | 0 | 4 | 0 | 3 | 0 |
       |---+---+---+---+---+---+---|
    3  | 1 | 7 | 0 | 2 | 1 | 2 | 3 |
       |---+---+---+---+---+---+---|
    4  | 9 | 3 | 0 | 4 | 2 | 0 | 3 |
       +---------------------------+

```

There are two center cells, at D2 and D3. The cell at D2 has more carrots (4 versus 2), so Baby Leveret starts there and eats the 4 carrots at D2.

She then looks at the neighbors in WNES order and finds the highest carrot count is at D1. She eats the 4 carrots there.

Looking WNES, she finds there are more carrots at E1, and moves there and eats the 2 carrots there.

Looking WNES, she sees more carrots at F1, and moves there and eats the 2 carrots there.

Looking WNES, she sees 3 carrots both east and south — but since there’s a tie, she goes in WNES order, so heads east and eats the 3 carrots at G1.

Looking WNES, she finds only neighbors with 0 carrots, so she takes her post-lunch nap.

In total, she’s eaten 4 + 4 + 2 + 2 + 3 = 15 carrots.

#### The Challenge

Write a function that takes in a 2-dimensional array that represents garden plots and the amount of carrots each plot contains. This function should return the number of carrots eaten by Baby Leveret.

### The Advice – Thinking Specifically About Remote Interviews

Make ‘em feel special. You’ve heard this before but you have to customize your resume and personal pitch for every job application you develop. Employers want to understand why you want to work for them specifically. It takes time but it’s not difficult: review the engineering blog, company website, and company values. Doing the research upfront will pay off in the interview! You want to know enough that the interviewing panel says later, “Wow, you could really tell they did their homework.”

And remember the landscape today – now that everyone’s remote, hiring managers will be interested in how collaborative and scalable you can be in a virtual environment. Playing that up specifically can help you stand out – which can be challenging to do when someone’s doing seven technical hiring interviews in a single day.

Think through the logistics. A virtual interview process requires a degree of upfront preparation. Five minutes before the interview starts isn’t the time to first test your mic and evaluate your lighting. Check out what’s behind you on screen – what will your interviewer see? You want to stand out for your skills – not technology fails.

Be human. Companies aren’t looking for automatons – they’re looking for real people. And real people have passion and interests. Stand out by sharing something you’re passionate about – and how you integrated it into your work. Articulated in a crisp and straightforward way, a few powerful examples can reinforce the impression you’re hoping to leave with your interviewers. And come equipped with real, thoughtful questions.

In this environment, differentiating and being memorable is harder but more necessary than ever before. Recruiters and hiring managers are interviewing several people every day – now over Zoom. More people are out on the job market, which means fiercer competition. And recruiting processes will likely take longer as a result. Practice your questions and your examples ahead of time with a friend or even by yourself. Saying your key points out loud at least once or twice helps you feel more confident.

So how did the test questions go? Let us know!

## Subscribe for more CoderPad insights

## Trending Articles

Previous slide Next slide [Interviewing

## 5 Skills of the Future Developer: A Framework for Evaluating AI Fluency

According to CoderPad’s State of Tech Hiring 2026 report, 82% of developers now find GenAI useful — up from 76% just a year ago. More telling: 54% of developers would experience a measurable productivity drop if AI tools were removed tomorrow. AI isn’t a productivity booster anymore. It’s infrastructure. With this shift, it’s no surprise […]

Read the post](https://coderpad.io/blog/interviewing/5-skills-of-the-future-developer-a-framework-for-evaluating-ai-fluency/) [Hiring Developers

## Q&A: Musings of a CEO on Tech Interviews, Cheating and AI

In this Q&A session on cheating and AI in tech interviews, Amanda Richardson emphasizes the importance of trust and effective interview design.

Read the post](https://coderpad.io/blog/interviewing/qa-musings-of-a-ceo-on-tech-interviews-cheating-and-ai/) [Engineering Management

## How To Use CoderPad To Interview Software Architects

Software architects are the masterminds behind the design and structure of software systems, ensuring that projects are scalable, maintainable, and aligned with business goals. Unlike more hands-on engineering and development roles, assessing architect skills in an interview relies much less on watching them code and more on their ability to drive software design principles and […]

Read the post](https://coderpad.io/blog/interviewing/how-to-use-coderpad-to-interview-software-architects/) [Hiring Developers

## “Don’t Expect Candidates to Have Everything Memorized”, the Dos and Don’ts of Cheating Prevention With Nathan Sutter

Sure, you want to prevent cheating. But you also want to feel good about your hiring process. So how do you do that?

Read the post](https://coderpad.io/blog/hiring-developers/dos-and-donts-cheating-prevention-nathan-sutter/) [Interviewing

## Crafting Effective Technical Interview Questions: A 4-Step Guide

Writing great technical interview questions can be hard. We're here to help.

Read the post](https://coderpad.io/blog/interviewing/crafting-effective-technical-interview-questions-a-4-step-guide/) [Interviewing

## Viral TikTok Layoff Videos: What You Need to Know

So, you’ve heard about these viral TikTok layoff videos, but you’re unsure how concerned you should be? Read about what you can learn from this content, and how it should impact your company’s HR practices.

Read the post](https://coderpad.io/blog/interviewing/viral-tiktok-layoff-videos-what-you-need-to-know/) [Interviewing

## 8 Steps Recruiters Can Take to Instill Inclusivity in Tech Interviews

As TA professionals, you have the power to create an inclusive interview environment for your interviewers and interviewees. Want to know how? This guide will help you.

Read the post](https://coderpad.io/blog/interviewing/inclustive-technical-interview-guide/) [Engineering Management

## These 9 Red Flags Are Scaring Away Candidates During Interviews

Don't let your name be dragged into a bad Glassdoor review.

Read the post](https://coderpad.io/blog/engineering-management/these-9-red-flags-are-scaring-away-candidates-during-interviews/) [Interviewing

## Best Platforms for Remote Interviews

Discover how the modern employment landscape is embracing remote work and virtual interviews. Dive into the capabilities of platforms like Zoom, Skype, Microsoft Teams, and Google Meets for general use, and explore specialized options like HireVue, Codility, and CoderPad for technical hiring.

Read the post](https://coderpad.io/blog/interviewing/best-platforms-for-remote-interviews/) [Interviewing

## Why One-Way Video Interviews Don’t Work and What You Should Do Instead

Read about why one-way interviews are less promising than they seem and explore alternative methods that offer a fairer, more realistic approach to hiring.

Read the post](https://coderpad.io/blog/interviewing/why-one-way-video-interviews-dont-work-and-what-you-should-do-instead/) [Interviewing

## 2 Interview Questions to Assess Your Next Intermediate Backend Engineer

Looking for guidance in evaluating your intermediate backend developers? We've got the perfect solution with these two insightful questions.

Read the post](https://coderpad.io/blog/interviewing/2-interview-questions-to-assess-your-next-intermediate-backend-engineer/) [Interviewing

## 3 Tips To Introduce ChatGPT Into Your Technical Interviews

Integrating ChatGPT into technical interviews involves setting clear expectations, demonstrating its practical use, and acknowledging its limitations, creating a fair and realistic assessment environment that aligns with the evolving landscape of software development

Read the post](https://coderpad.io/blog/interviewing/3-tips-to-introduce-chatgpt-into-your-technical-interviews/)

## Hire with confidence.

See why engineering teams trust CoderPad to evaluate developers with realistic, AI-ready hiring workflows.

[Request a demo](https://coderpad.io/sales/)
