ראיון לתפקיד מפתח Python
דצמבר 2019
22.02.2020
|
פרטים כלליים לגבי התהליך
|
Got a home challenge. Looks like great people to work with and a very interesting product with great impact.
|
שאלות מתוך הראיון
|
The basic mission - Get Stack Overflow posts
You should develop a web app / web page which has the following controls:
An input box for the user to enter its Stack Overflow user ID.
A "Get my posts" button.
Clicking the button would get all the user posts from Stack Overflow API.
The user will get a page with links to all its posts.
Going further - OAuth
Add another button: "Get my posts"
Use Stack Exchange OAuth 2 to get the user's details when clicking the button in order to get its posts.
Champions' tip: Pay attention that Stack Exchange allows localhost as domain name.
Bonus - Testing
Primary sort: the posts should be sorted by creation year ascending.
Secondary sort: inside each year the posts should be sorted by creation date descending.
You should write a unit test to verify this weird sorting mechanism functionality in your code.
This comes to test your testing skills, there is no real logic in this weird sorting =D
|
תשובות
|
הוסף תשובה
|
לצפיה בתשובות
|
|
|
|
|
פברואר 2020
|
|
https://github.com/oleg-baturov/get_stackoverflow_posts
|
|
|
|
|
|
|