Microsoft | SDE-2

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-08-08Added By Anonymous
Source: Link

Round 1: OA

https://leetcode.com/discuss/interview-question/5322819/microsoft-online-assessment-sde-2/2462401

Round 2: DSA





1package com.codility; 2 3public class Solution { 4 public static void main(String [] args) { 5 // client code here 6 String candidateString = "How is the weather today?"; 7 workDescription = "Language Analysis"; 8 result = AnalyzeCandidateString(candidateString, workDescription); 9 } 10 11 public static ???? AnalyzeCandidateString(String candidateString, ???? workDescription) { 12 // your code here 13 } 14 15 public static String getFake_DetectLanguage(String candidateString) { 16 return Fake_DetectLanguage(candidateString); 17 } 18 19 public Boolean getFakeHTTPCall_IsComplement(String candidateString) { 20 return FakeHTTPCall_IsComplement(candidateString); 21 } 22 23 public Boolean getFakeHTTPCall_IsJoke(String candidateString) { 24 return FakeHTTPCall_IsJoke(candidateString); 25 } 26 27} 28 29// Fake_DetectLanguage 30// FakeHTTPCall_IsComplement 31// FakeHTTPCall_IsJoke

Round 3: LLD

Comments