Open In App

WonderLend Hubs Interview Experience for SSE

Last Updated : 29 Aug, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

There were total 3 rounds:

  1. DSA + System design
  2. Technical + managerial round
  3. HR

Round 1 :

  • Basic questions on current project and contributions
  • Flatten a JSON document

Java




import java.io.*;
import java.util.*;
  
class GFG {
    public static void main(String[] args) {
        flattener("", getJson());
    }
  
    static void flattener(String parentKey, Map<String, Object> nodes) {
        for (Map.Entry<String, Object> entry : nodes.entrySet()) {
            String key = entry.getKey();
  
            if (isPrimitive(entry.getValue())) {
                System.out.println(parentKey + getSeparator(parentKey) + key + " : " + entry.getValue());
            } else {
                if (entry.getValue() instanceof Map) {
                    flattener(parentKey + getSeparator(parentKey) + key, (Map<String, Object>) entry.getValue());
                } else if (entry.getValue() instanceof List) {
                    flattener(parentKey + getSeparator(parentKey) + key, convertToMap((List<Object>) entry.getValue()));
                }
            }
        }
    }
  
    static String getSeparator(String parentKey) {
        return parentKey.isEmpty() ? "" : ".";
    }
  
    static Map<String, Object> convertToMap(List<Object> arr) {
        Map<String, Object> map = new HashMap<>();
        for (int i = 0; i < arr.size(); i++) {
            map.put(String.valueOf(i), arr.get(i));
        }
        return map;
    }
  
    static boolean isPrimitive(Object o) {
        return o instanceof Number || o instanceof String || o instanceof Boolean;
    }
  
    public static Map<String, Object> getJson() {
        Map<String, Object> jsonData = new HashMap<>();
  
        jsonData.put("name", "john doe");
  
        Map<String, Object> details = new HashMap<>();
        details.put("a", 1);
        details.put("b", 2);
        details.put("c", 3);
  
        ArrayList<Object> dArray = new ArrayList<>();
        Map<String, Object> dObject = new HashMap<>();
        dObject.put("a", 1);
        dArray.add(dObject);
        dArray.add(5);
        dArray.add("f");
  
        details.put("d", dArray);
  
        jsonData.put("details", details);
        return jsonData;
    }
}


Output

name : john doe
details.a : 1
details.b : 2
details.c : 3
details.d.0.a : 1
details.d.1 : 5
details.d.2 : f

  • Scaling and db issues faced till yet
  • udp vs tcp for youtube and ipl score
  • scaling mongo and sharding related usecases
  • OS process vs thread

Round 2:

1. There is rest controller and a filter in spring boot app. Controller has a get method having request param called as message = “m(nth user)”. User object is mapped to both classes using autowiring. but there can be concurrency issues. since filter might have some other user and the message might be of some other user. How to resolve this. The constraints were we cannot change controller and filter class.

2. Why are the lids always circular on roads for manholes, etc.

Round 3:

HR and basic Background check



Previous Article
Next Article

Similar Reads

Interview Experience for SSE Zomato
Interview happened at Zomato Media Private Limited Gurgaon office. Only 1 round happened. 1- first question was implement shuffle method for music player such that songs dont repeat, you can implement that using https://www.geeksforgeeks.org/shuffle-a-given-array-using-fisher-yates-shuffle-algorithm/ 2- second was the design of music player, not li
1 min read
Chai Point Interview Experience for SSE
I interviewed at Chai Point for the SSE role and the whole process took a month to complete. Screening round: This round was carried out on call followed by a Technical Round which was taken by a Team Lead at CP.First-round questions were based on Java concepts, spring boot, java 8 features, Api's, and all. After clearing this round there was a sec
1 min read
Pharmeasy Interview Experience for SSE (UI | Frontend)
Round 1 (F2F Algo/DS - 1 hr): On a shared text editor, I was asked 3 algo/ds questions - Find the maximum sum subarray.Find the occurrence of a given number k in a sorted array with duplicates. Find the 6th largest number in an array. Required to code all the questions with the best time complexity. Round 2 (F2F Technical - 1 hr): On a shared text
1 min read
Paypal Interview Experience for SSE
Round 1: Hacker rank round: I don't remember the questions. Round 2: Technical Round Brief IntroGiven an unsorted array arr of size N of positive integers. One number 'A' from set {1, 2, …N} is missing and one number 'B' occurs twice in the array. Find these two numbers.You are given N elements and your task is to Implement a Stack in which you can
2 min read
Arcesium Interview Experience for SSE | 2+ Years Experienced
Mode: The recruiter reached out to me on LinkedIn Company: Arcesium Title: Senior Software Engineer Location: Bangalore Process: The recruiter reached out to me via mail and sent an online test (Hackerrank) link with three questions. I was able to solve 2 completely and 1 partially. After a few days, I received an email from a recruiter to schedule
4 min read
Saveetha School of Engineering (SSE) Chennai Admission Experience
Introduction: Getting into college is a significant milestone in every student's life. It shapes their academic journey, career prospects, and personal growth. In this article, I would like to share my recent college admission experience in B.TECH(AI AND ML) SIMATS Saveetha School of Engineering and the valuable lessons I learned along the way. My
2 min read
Tracxn Experienced Interview (3yrs SSE post)
Content Removed
1 min read
ThoughtSpot Interview Experinec for SSE (Frontend)
I applied for this role and was informed there will be four rounds of interviews. Interviews were held in google meet and Zoom accordingly. Every round was held with a break of 1 or 2 days. Round 1: This was a 60 mins round. This round had 1 frontend implementation question. Question: I was told to design a UI screen where I had to display numbers
2 min read
Intuit Interview | Set 4 (For SSE)
I recently cleared Intuit Interview. It was a life changing experience and I am very happy to crack the interview for SSE. Below are the questions asked : Round 1: Java basics: 1. int v=2 v += v++ what is output of V? 2. Design a compiler for throw and throws key words. OR, how does compiler interpret those keywords. 3. Why string is immutable and
2 min read
Microsoft Interview Experience | Set 151 (SDE-2 3.5 years experience)
Round 1: Place all numeric characters in string before alphabet characters . Using min swaps and O(1) space and Maintain the order of characters. Round 2: Median of stream of integers. Discuss algo. Shortest common supersequence of 2 strings. Discuss recursive Time complexity and write code for best approach decided. Round 3: Merge 2 sorted linked
1 min read