Chingari.io | SDE-1 (Fresher) | August 2022 | Rejected

Round 1:Interview with a senior developer.
First, the interviewer asked me to introduce myself.
I have mentioned my 6 months internship at Josh. So, interview started with my internship work.
Q1. Design the system you built during your internship at Josh.
-->I built the system and explained to him how it work.
Q2. is this system(built above) microservice or monolithic?
-->Answered Correctly.
Q3. Difference between microservice and monolithic systems and their advantages as well as disadvantages.
-->Answered.
Q4.He Gave me a Json and told me to flatten it into the required format.

//Write a function that accepts any json as an input and returns flattened json as output
//Input Json:
   {
        "key1": {
        "key2": "value2",
        "key3": ["value3", "value4", {"key5": "value5"}, 6]
        },
        "key4": "value4",
        "key6": [1, 2, 3, 4],
         "key7": {
        "key8": "value8",
        "key9": false
          }
        }

// Output flattend json::
        {
        "key1.key2": "value2",
        "key1.key3.0": "value3",
        "key1.key3.1": "value4",
        "key1.key3.2.key5": "value5",
        "key1.key3.3": 6,
        "key4": "value4",
        "key6.0": 1,
        "key6.1": 2,
        "key6.2": 3,
        "key6.3": 4,
        "key7.key8": "value8",
       "key7.key9": false
       }

--> I took input of json but failed to flatten json in required format.

Q5. Design a system where you have to populate the user feed in real time with the content uploaded by any other user at the same time. (Suppose you searched trending videos and at the same time some other user is uploading a video with name trending videos. so after uploading this video,it should also visible in the your search feed.)
-->I gave my approach but I have no experience of system design so I was unable to answer it correctly.
Q6. Difference between NoSQL and SQL Databases and their uses.
-->Answered correctly.

Time limit of the Interview was only 45 min, you need to answer all correctly in the given time
Tips: Chingari is a startup, so they need people with an understanding of system desgin even at the entry-level.
There is no DSA round, they only care about your development skills(cheers to dev guys, cp folks you lost :( .)

Result : Well I had no experience except my internship and also i am no so good in system desing. So, i was Rejected.

**Happy Coding :) **

Comments (0)