Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 2.88 KB

README.md

File metadata and controls

66 lines (46 loc) · 2.88 KB

TakeMeTour Internship Program 2019

Hi all applicants! Welcome to TakeMeTour Internship Program 2019. Being an intern at TakeMeTour is challenging so we have challenges for you! These challenges are designed to assess your learning skill, which is the fundamental and most important skill of a great software developer. So I do not expect you to have full or any knowledge about the topic beforehand but it's your job to try to learn and answer those challenges.

Algorithm in Javascript

Code must be written in Javascript language. The code will be tested with Node8, so you can use all Javascript features that are available in Node8.

  1. Write a function that shifts the elements of array to left or right by n elements in an infinite loop. the function receives 3 parameters, 1st is an array, 2nd is the direction ('left' or 'right'), 3rd is the number of elements which will be shifted. For example,
> shift(['john', 'jane', 'sarah', 'alex'], 'left', 2)
['sarah', 'alex', 'john', 'jane']

> shift([1, 2, 3, 4 ,5], 'right', 3)
[3, 4, 5, 1, 2]

Answer:

-- insert your answer here
  1. Download hero.json and write a code to calculate these values from hero.json
  • 2.1 Average networth of all heroes
  • 2.2 Average level for hero that has 'intelligent' as primary_attribute
  • 2.3 Find the hero who got the most assist
  • 2.4 Find the hero who got the worst kill/death ratio (ratio = kill/death)

Answer:

-- insert your answer here

Simple Web Application: A joke from Chuck Norris.

This part of the quest will be a challenging one. You are going to make a simple web application which allows users to get some jokes from Chuck Norris himself.

Chuck Norris once ordered a Big Mac at Burger King, and got one.

Features

  • Users can get a joke from Chuck Norris API
  • Users have options to change the number of the resulting jokes, user's first name and last name
  • UI Design: as you wish.

Technical description

  • Using data from REST API
  • Any tools & framework are allowed.
  • Using tools & framework which are the same as our tech stack (React, Redux, styled-components, recompose etc.) will be a plus.
  • Any extra feature will be a plus.

Questions

Q1: What is GraphQL and how it is different from REST API?

A1:

Q2: Please explain how javascript benefits from cross-platform development

A2:

Q3: What do you expect to get during an internship at TakeMeTour?

A3:

Submitting

Please fork this repo and submit your repository at [email protected] along with your contact information and also your resume if you have one.

Note: These challenges must be done by yourself. There is no benefit for both sides if the answer do not reflect your true skill.