Last Thursday I interviewed for an engineering manager role at a Nigerian tech company and was asked to build an app (during the interviewhttps://abs.twimg.com/emoji/v2/... draggable="false" alt="🤷‍♂️" title="Achselzuckender Mann" aria-label="Emoji: Achselzuckender Mann">) that admits a random number of people into a (church) hall with a max seating capacity. The specs were as follows:

[THREAD]
1. A random number of people will come for service on a given day

2. The church has a max capacity of 8000 seats in 500 rows. Each row has16 seats and there& #39;re 250 rows on the left and right side of the hall. The inner ends of the rows are filled first. At full capacity, stop
admitting people into the hall

3. Only a batch of 16 people can enter the hall at a time. A new batch is admitted only after the previous batch is seated

4. When a given batch is in the hall, people are ushered into seats in the 2 sides of the hall concurrently.
6. To make it more life-like and to pevent rush, the app should simulate a random delay for everyone getting seated, and the ushers directing them to their seats.

Okay ..... https://abs.twimg.com/emoji/v2/... draggable="false" alt="🤔" title="Denkendes Gesicht" aria-label="Emoji: Denkendes Gesicht">https://abs.twimg.com/emoji/v2/... draggable="false" alt="🤔" title="Denkendes Gesicht" aria-label="Emoji: Denkendes Gesicht">https://abs.twimg.com/emoji/v2/... draggable="false" alt="🤔" title="Denkendes Gesicht" aria-label="Emoji: Denkendes Gesicht">https://abs.twimg.com/emoji/v2/... draggable="false" alt="🤔" title="Denkendes Gesicht" aria-label="Emoji: Denkendes Gesicht">

I believe I should have gotten the challenge much earlier if I needed to produce a working app!
I coded the solution while we discused what I was doing/my implementation choices, but there wasn& #39;t enough time (IMO) to get it to work and my code had some errors. I did not even have time to setup a basic environment (with ESLint at least). Interview got over, we said
our goodbyes, and I haven& #39;t heard back!

Today, I recalled hinting to the CTO that I liked the challenge and will make out time to build it out. I& #39;ve been at it since morning (including the inevitables of working from home with 2 vibrant boys) and will share a repo tomorrow.
I should get it working before end of day tomorrow. For now, just know that companies have different hiring styles and you will always get a few surprises, which is fine.

I am off to building my self assigned userhing system. See you soonhttps://abs.twimg.com/emoji/v2/... draggable="false" alt="🔥" title="Feuer" aria-label="Emoji: Feuer">https://abs.twimg.com/emoji/v2/... draggable="false" alt="🥷" title="Ninja" aria-label="Emoji: Ninja"> https://abs.twimg.com/emoji/v2/... draggable="false" alt="🦸" title="Superhero" aria-label="Emoji: Superhero">https://abs.twimg.com/emoji/v2/... draggable="false" alt="🍺" title="Bierkrug" aria-label="Emoji: Bierkrug">

cc @andela_alc @forloopAfrica
You can follow @chaluwa.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: