SourceFuse Technologies interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

SourceFuse Technologies
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, OOPS, OS, DBMS, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Keep eye contact
Tip 2 : Maintain fluctuating tone so that, the interviewer shows interest in you
Tip 3 : Do practice a lot of data structures from renowned websites like LeetCode and also from CodeZen

Application process
Where: Campus
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1 : Add most recent and relevant projects only
Tip 2 : you should know each and everything written on your resume

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date20 Aug 2020
Coding problem2

This round consisted of a coding test containing 2 questions purely based on Data Structures and Algorithms.
One was a Dynamic Programming Problem, and 
the other one was a linked list question

1. Count ways to reach the nth stairs

Moderate
30m average time
80% success
0/80
Asked in companies
Morgan StanleyAdobeExpedia Group

You have been given a number of stairs. Initially, you are at the 0th stair, and you need to reach the Nth stair.


Each time, you can climb either one step or two steps.


You are supposed to return the number of distinct ways you can climb from the 0th step to the Nth step.

Example :
N=3

Example

We can climb one step at a time i.e. {(0, 1) ,(1, 2),(2,3)} or we can climb the first two-step and then one step i.e. {(0,2),(1, 3)} or we can climb first one step and then two step i.e. {(0,1), (1,3)}.
Problem approach

To solve this problem using Dynamic Programming, take an extra space of size n and start computing values of states from 1, 2 .. to n, i.e. compute values of i, i+1, i+2 and then use them to calculate the value of i+3 till whatever is the value of n

Try solving now

2. Merge Sort Linked List

Moderate
10m average time
90% success
0/80
Asked in companies
AdobeGoogleSamsung R&D Institute

You are given a Singly Linked List of integers. Sort the Linked List using merge sort.

Merge Sort is a Divide and Conquer algorithm. It divides the input into two halves, calls itself for the two halves, and then merges the two sorted halves. The merge() function is used for merging two halves. The merge(arr, L, M, R) is a key process that assumes that arr[L..M] and arr[M + 1...R] are sorted and merges the two sorted subarrays into one.

Try solving now
02
Round
Easy
Video Call
Duration45 minutes
Interview date24 Aug 2020
Coding problem2

Introduction first
Tell me about your projects. He said you have done quite a few projects in JavaScript so tell me
Akshat what is es6 in JavaScript. I was not able to answer that.
What is bootstrap?
What is the difference between div and span tags in HTML?
How many handshakes will take place if there are 6 persons? I told him the P & C approach and then he said no please explain in the normal way so I said sir it's 1+ 2 + 3 + 4 + 5 = 15.
Reverse a String in optimal way
What is a preprocessor and preprocessor directive?
What is typedef?
Have you done exception handling? Explain
Polymorphism and inheritance and explain all types of both.
There were no questions asked on OS and DBMS in this round

1. palindrome substrings

Moderate
20m average time
80% success
0/80
Asked in companies
MicrosoftSalesforceInfosys

You have been given a string STR. Your task is to find the total number of palindromic substrings of STR.

Example :
If the input string is "abbc", then all the possible palindromic substrings would be: ["a", "b", "b", c", "bb"] and hence, the output will be 5 since we have 5 substrings in total which form a palindrome.
Note :
A string is said to be a 'Palindrome' if it is read the same forwards and backwards. 
For example, “abba” is a palindrome, but “abbc” is not.

A 'Substring' is a contiguous sequence of characters within a string. 
For example, "a", "b", "c", "ab", "bc", "abc" are substrings of "abc".
Problem approach

First we start by finding the odd length palindromic substring and then even length. For each position we go left and right by one place and then check if the characters are equal or not. If they are we continue to move right and left else we move to the next character and perform the same till we reach the last character

Try solving now

2. How will you cut a cake into 8 pieces in 3 cuts?

Problem approach

Tip 1 : One cut center to cut in half
Tip 2 : One cut to cut these halves in quarter
Tip 3 : The last one parallel to the plate to move from 4 pieces to 8

03
Round
Easy
Video Call
Duration45 minutes
Interview date24 Aug 2020
Coding problem1

Your intro.
Bubble sort algorithm
Remove a specific character from all positions in a given string (3 test cases given)
Explain runtime polymorphism
Find minimum number of insertions required to make a string palindrome (he said No DP to be used)

I was able to code and explain all of them.
Make ER diagram of your 4th semester Project
He asked me if I know abt normalization
He asked me a ques on normalization, I was not able to answer it, then he asked me to write an SQL query based on the same table, I answered that
Query -> Find the maximum salary in each department, wherein the department and salary fields were in two different tables
Then he asked, tell me the different pillars of OOPs.
He asked about my projects
He saw my resume.
He asked about how the online coding test was, what were the difficulties you faced.

1. Delete a Node from Linked List

Moderate
40m average time
67% success
0/80
Asked in companies
OYOOLX GroupGroww

You have been given a linked list of integers. Your task is to write a function that deletes a node from a given position, 'POS'.

Note :
Assume that the Indexing for the linked list always starts from 0.

If the position is greater than or equal to the length of the linked list, you should return the same linked list without any change.
Illustration :
The following images depict how the deletion has been performed.

Image-I :

Alt txt

Image-II :

Alt txt

Problem approach

As we are clearly given the address of the node, so to delete it we can copy the value of the next node in series to this node and then delete the next node

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you select an element by class name in CSS?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
2558 views
0 comments
0 upvotes
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
4953 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
1733 views
0 comments
0 upvotes
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
1499 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
14261 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
13665 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
9432 views
2 comments
0 upvotes