Code Monkey home page Code Monkey logo

kebab-calculator's Introduction

Challenge 3: The Longest Kebab

Your Chefs: Cecil Phillip, Cloud Advocate (Microsoft) with Baris Ceviz, Microsoft Student Ambassador

This week's featured region: Turkey

Adana kebabı or 'kebab' is a traditional meal, eaten in many religious and national holidays in Turkey. It's a long, hand-minced meat kebab mounted on a wide iron skewer and grilled on an open mangal or grill filled with burning charcoal The culinary item is named after Adana, the fifth largest city of Turkey source. In the city of Adana, home to this kebab, festivals are held on with a competition centered around who can make the longest kebab in the world. At the festival, people have fun and eat this delicious dish!

giant kabab!

A 233 meter kebab!

Your challenge 🍽

The most common problem in this festival is calculating how much material is needed to create the longest possible kebab based on the number of people you're expecting to feed. Since there are so many people at the festival, the materials must be calculated quickly.

You need to produce a fast serverless solution to this problem. Create a kebab calculator that, given a certain amount of meat in kilos, can calculate how many people you'll be able to feed as well as how long your kebab can be!

Keep in mind that kebabs aren't only made of meat! Here's a recipe that you can work with:

  • 2 kilos ground lamb
  • 1 small onion (minced)
  • 4 cloves garlic (minced)
  • 1 1/2 teaspoons ground cumin (divided)
  • 1 1/2 teaspoons ground sumac (divided)
  • 1/2 teaspoon salt
  • 1/4 teaspoon ground black pepper
  • 1/4 teaspoon red pepper flakes

With your fast calculator, you might be able to win the prize!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.