RafaLinaresMolina / recruit-challanges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recruit-challanges

We are hiring! 🚀 If you are in our hiring process or considering Harbiz a company in which you would like to work, solve the following challenges and let us know! 😎

1) Random User Generator API (React):

This challenge consists on building a table that displays random users from randomuser.me api API.

Must Have:

  1. Search: Filter users based on name, gender and email.
  2. Sorting: sort ascending and descending according to the selected column
  3. Export: By selecting multiple rows, be able to export them as csv.

Bonus:

  1. Drag & Drop: Ability to sort the table by drag&drop the selected rows before exporting as a csv.

2) Refactoring (NodeJS)

Refactor the Calendar class and make any changes you see that are usefull to fulfill these requirements:

  1. All the tests must pass.
  2. The code must fulfil OOP and SOLID principles.
  3. The code must be maintainable.
  4. The code must be extensible.
  5. You must apply defensive programming practices.

See the tests for more information.

3) Positive bits (NodeJS)

Given an integer n, we want an array as an output like:

  1. Fist index: how many 1-bits are in its binary representation
  2. Subsequent indexes: respective positions of the one-indexed 1-bits in n's binary representation.

Example: Input = 39 which binary representation is 100111 should return this output [ 4, 0, 3, 4, 5 ]. 4: there are 4 positive bits 0, 3, 4 and 5: respective positions of the one-indexed 1-bits

About


Languages

Language:TypeScript 45.8%Language:JavaScript 42.7%Language:HTML 4.7%Language:SCSS 4.2%Language:CSS 2.5%