Skip to content

Instantly share code, notes, and snippets.

View HofmannZ's full-sized avatar
:octocat:
Probably writing code

Zino Hofmann HofmannZ

:octocat:
Probably writing code
  • Expatfile.tax LLC
  • Amsterdam, the Netherlands
  • 11:57 (UTC +02:00)
  • LinkedIn in/zinohofmann
View GitHub Profile

Senior Back-End Engineer Technical Interview

Introduction

During this 45-minute video call, you will be asked to complete three coding exercises. You're encouraged to discuss your thought process, the trade-offs you consider, and the complexity of your solutions. We are using TypeScript and Node.js for our stack, so please ensure your solutions are compatible with these technologies.

Exercise 1: Advanced Sorting

Problem Statement

Given an array of n objects, each with properties id (a unique integer) and timestamp (a JavaScript Date object), write a function to sort the array. The primary sort key should be timestamp (oldest to newest), and the secondary key (in case of ties) should be id (smallest to largest).

Requirements

@HofmannZ
HofmannZ / keybase.md
Last active September 21, 2018 19:30

Keybase proof

I hereby claim:

  • I am hofmannz on github.
  • I am hofmannz (https://keybase.io/hofmannz) on keybase.
  • I have a public key ASDAJa7jxk8VtwNj4CKAVAEl3jjZm5HNB1MrRqgaMe4SFQo

To claim this, I am signing this object:

@HofmannZ
HofmannZ / cities.pl
Last active October 21, 2017 11:10
A prolog knowledge base with 89 dutch cities and their coordinates.
/*
Author:
Zino Hofmann, 11327650, zino@hofmann.amsterdam
Description:
A prolog knowledge base with 89 dutch cities and their coordinates.
Usage:
city( +Name, -Latitude, -Longitude).
*/
@HofmannZ
HofmannZ / distances.pl
Last active October 21, 2017 11:16
A prolog knowledge base with 7832 distances in kilometers between 89 dutch cities from the cities.pl knowledge base.
/*
Author:
Zino Hofmann, 11327650, zino@hofmann.amsterdam
Description:
A prolog knowledge base with 7832 distances in kilometers between 89 dutch cities from the cities.pl knowledge base.
cities.pl:
https://gist.github.com/HofmannZ/174b3cea734ae4c5761a67266edfe67d