Git Product home page Git Product logo

tech-test-engineer's Introduction

Engineer Tech Test

This coding test is a series of questions as outlined below. Please follow the instructions carefully.

It's recommended to use JavaScript ES6+ & React 16+ but you are free to implement your answers in any language you feel comfortable.

The time recommended is 1 - 1.5 hours, try not to spend longer than that, we don't want you to waste a precious day of your life over this. You do not need to complete all the questions.

Please commit your code to Github and share the link with us.

Instructions

  • Please use respective answers folder for the questions you are answering. For example, answer for question 3 will go to answer03 folder.

Questions

Question 1

Implement Array.reduce() or Array.map() in your own way.

Question 2

Implement Lodash’s groupBy in your own way

Question 3

Given two strings, write an algorithm to check if they are anagrams of each other. Return true if they pass the test and false if they don't. E.g

isAnagram('silent', 'listen'); // should return true

isAnagram('hello', 'world'); // should return false

Question 4

Given a string of text, find and return the most recurring character. E.g

maxRecurringChar('aabacada') // will return 'a'

Question 5

You have a large bunch of HTML. Inside that HTML are p tags, li tags, table tags, really any and all kinds of HTML tags. Most importantly there are anchor/link tags.

Write a program to find all of the URLs to which those link tags link and verify that the URLs return a 200 response. In a given chunk of this HTML, we could have anywhere from 0 to 100+ links, so your solution should handle the case where there are plenty of links.

Requirements:

  • First, you'll want to figure out a way to extract all of the URLs.

  • Second, you'll want to test the URLs and report back to the user which are valid and which are not.

  • Third, you'll want to make it really fast by checking the URLs concurrently or by parallelising the checks. You might want to think about caching as well.

Question 6

CSS test: Apply required CSS to produce the HTML as per the result image provided.

In answer06 file in a browser. Apply required css in the styles.css file. The end result should look like the image in CSS_Result.png file.

Question 7

Simple react component to implement expandable <textarea />. Very similar to this. Just basic requirements - not everything that material-ui does. Simple auto expand/contract feature.

https://mui.com/components/textarea-autosize/

Extend the package.json file to include your dependencies required. We expect it to be kept minimum - just required to render a React component.

tech-test-engineer's People

Contributors

enboarder avatar nrvikas avatar

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.