Open In App

Dunzo Interview Experience for Software Engineer 2

Last Updated : 01 Apr, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

Online Assessment for SE2:

3 Question: Time 100 minutes

  1. Compute Before Matrix from the given After matrix
    https://stackoverflow.com/questions/65510354/matrix-summation-challenge
  2. Question-Related to: 
    https://www.geeksforgeeks.org/max-sum-of-m-non-overlapping-subarrays-of-size-k
  3. Fetch Data from an API, with pagination enabled, and: https://jsonmock.hackerrank.com/api/articles?page=2
    Ignore certain items which have null titles and story titles
    Use another story_title if the title is missing, and vice-versa
    and return a sorted(on multiple item attributes, like title and num_comments) list of items consumed from the API

API(https://jsonmock.hackerrank.com/api/articles?page=2)
Response:

{
“page”: 2,
“per_page”: 10,
“total”: 41,
“total_pages”: 5,
“data”: [
{
“title”: “”,
“url”: “”,
“author”: “WisNorCan”,
“num_comments”: null,
“story_id”: null,
“story_title”: null,
“story_url”: null,
“parent_id”: 4839436,
“created_at”: 1354054386
},
{
“title”: “UK votes to leave EU”,
“url”: “http://www.bbc.co.uk/news/uk-politics-36615028”,
“author”: “dmmalam”,
“num_comments”: 2531,
“story_id”: null,
“story_title”: null,
“story_url”: null,
“parent_id”: null,
“created_at”: 1466740137
},
{
“title”: “Why I Quit Google to Work for Myself”,
“url”: “https://mtlynch.io/why-i-quit-google/”,
“author”: “dmmalam”,
“num_comments”: 751,
“story_id”: null,
“story_title”: null,
“story_url”: null,
“parent_id”: null,
“created_at”: 1519828685
},
{
“title”: “Lavabit abruptly shuts down”,
“url”: “http://lavabit.com/”,
“author”: “dmmalam”,
“num_comments”: 643,
“story_id”: null,
“story_title”: null,
“story_url”: null,
“parent_id”: null,
“created_at”: 1375989154
},
{
“title”: “EU approves internet copyright law,
including ‘link tax’ and ‘upload filter’”,
“url”: “https://www.theverge.com/2018/9/12/17849868/
eu-internet-copyright-reform-article-11-13-approved”,
“author”: “dmmalam”,
“num_comments”: 1010,
“story_id”: null,
“story_title”: null,
“story_url”: null,
“parent_id”: null,
“created_at”: 1536751541
},
{
“title”: “Tim Cook Speaks Up”,
“url”: “http://www.businessweek.com/articles/
2014-10-30/tim-cook-im-proud-to-be-gay”,
“author”: “replicatorblog”,
“num_comments”: 974,
“story_id”: null,
“story_title”: null,
“story_url”: null,
“parent_id”: null,
“created_at”: 1414667543
},
{
“title”: “CIA malware and hacking tools”,
“url”: “https://wikileaks.org/ciav7p1/”,
“author”: “replicatorblog”,
“num_comments”: null,
“story_id”: null,
“story_title”: null,
“story_url”: null,
“parent_id”: 5536734,
“created_at”: 1365743273
},
{
“title”: “I Sell Onions on the Internet”,
“url”: “https://www.deepsouthventures.com/
i-sell-onions-on-the-internet/”,
“author”: “eightturn”,
“num_comments”: 435,
“story_id”: null,
“story_title”: null,
“story_url”: null,
“parent_id”: null,
“created_at”: 1556024424
},
{
“title”: “macOS High Sierra: Anyone can
login as “root” with empty password”,
“url”: “https://twitter.com/lemiorhan/status/935578694541770752”,
“author”: “vladikoff”,
“num_comments”: 813,
“story_id”: null,
“story_title”: null,
“story_url”: null,
“parent_id”: null,
“created_at”: 1511898070
},
{
“title”: “SpaceX’s Falcon Heavy successfully launches”,
“url”: “https://techcrunch.com/2018/02/06/
spacexs-historic-falcon-heavy-successfully-launches/
?ncid=rss&utm_source=dlvr.it&utm_medium=twitter”,
“author”: “mpweiher”,
“num_comments”: 872,
“story_id”: null,
“story_title”: null,
“story_url”: null,
“parent_id”: null,
“created_at”: 1517950635
}
]
}


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads