Skip to content

binghuan/MyRakutenSingapore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MyRakutenSingapore

Guide:

Thank you for your interesting in our Android Engineer Position. We have been asking all candidates to answer two coding tests. It expect 2 - 3 hours in Questions, please make sure to secure your time.

Coding Test 1.

JNI
You can find first quize at "Coding Test 1" tab.
Please write your answer code and share it with us. This quiz to check your Android NDK capability.
We are developing Chromium based browser application, so expect candidate has ability to work for Android NDK.

_________________________illustration for Coding Test 1

Coding Test 2.

You can find second quize at "Coding Test 2" tab.
Please write your answer code on repl.it *1 by using Java.
Expect candidate to be resolved within 1 - 1.5 hours in Question.
*1: https://repl.it/
**Please sign up / Log in to "repl.it" before starting the coding test

Command for execute script for coding question 2.

cd CodingTest_2; node meetingRoomArrangment.js

illustration for Coding Test 2

How to share the Coding Test result with us.

Please send your answer to "****@rakuten.com"
Coding Test 1. Please share your compress package or Git repository and so on with him.
Coding Test 2. You can find "Share Link(=answer link)" at inside of Share icon on repl.it. Please share this "Share Link" with him.

Question1 - Count up android Application:

Please create android app will do below things;
1. Every time user tap the button on the screen, the number will count up like 1,2,3,4,5,.....
2. This count up logic is using ndk and user interface is using SDK.

Question2 - Meeting room arrangement:

We are thinking to arrange meeting room.
Meeting room is always noisy, and you are thinking to separate each room users as possible as you can so that they dont feel uncomfortable. If they are facing each other, we will add unhappy point as 1.

Input Data: you can use this data as input to show output
https://drive.google.com/open?id=1qWN57M46rUuik6mLy4Pf8XaBcOjrG6Q7

Your program in repl.it has to show output right away once we press the 'run' button so either putting given data into code or using stdin in repl are fine Reference Expected result: Here is expected answer from above data: Please resolve this with your program [5,2,8]-> 7 [3,5,14]-> 18 [1,16,1]-> 0 [3,5,1]-> 0 [8,2,12]-> 10 [16,1,1]-> 0 [3,3,6]-> 3 [2,6,12]-> 16 [15,1,0]-> 0 [5,3,7]-> 0 [4,3,5]-> 0 [3,5,11]-> 8 [7,2,13]-> 16 [15,1,6]->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