Sopra Steria interview experience Real time questions & tips from candidates to crack your interview

SSE

Sopra Steria
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Java basics, data structures, Oops, SQL queries, Spring, Web Development
Tip
Tip

Tip 1 : Prepare basics
Tip 2 : Proper analysis of Company work culture
Tip 3 : Proper understanding of your project

Application process
Where: Naukri
Resume Tip
Resume tip

Tip 1 : Keep it short
Tip 2 : Mention your work experience

Interview rounds

01
Round
Medium
Online Coding Interview
Duration50 minutes
Interview date28 Jan 2022
Coding problem2

1. Reverse Words In A String

Easy
10m average time
90% success
0/40
Asked in companies
UnacademyIBMOptum

You are given a string 'str' of length 'N'.


Your task is to reverse the original string word by word.


There can be multiple spaces between two words and there can be leading or trailing spaces but in the output reversed string you need to put a single space between two words, and your reversed string should not contain leading or trailing spaces.


Example :
If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.
Try solving now

2. Validate BST

Moderate
25m average time
0/80
Asked in companies
FacebookAmazonFreshworks

You have been given a binary tree of integers with N number of nodes. Your task is to check if that input tree is a BST (Binary Search Tree) or not.

A binary search tree (BST) is a binary tree data structure which has the following properties.

• The left subtree of a node contains only nodes with data less than the node’s data.
• The right subtree of a node contains only nodes with data greater than the node’s data.
• Both the left and right subtrees must also be binary search trees.
Example :

BST1

Answer :

Level 1: 

All the nodes in the left subtree of 4 (2, 1, 3) are smaller 
than 4, all the nodes in the right subtree of the 4 (5) are 
larger than 4.

Level 2 :

For node 2:
All the nodes in the left subtree of 2 (1) are smaller than 
2, all the nodes in the right subtree of the 2 (3) are larger than 2.
For node 5:
The left and right subtrees for node 5 are empty.

Level 3:

For node 1:
The left and right subtrees for node 1 are empty.
For node 3:
The left and right subtrees for node 3 are empty.

Because all the nodes follow the property of a binary search tree, the above tree is a binary search tree.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date1 Feb 2022
Coding problem2

1. Beautiful City

Hard
40m average time
60% success
0/120
Asked in company
Sopra Steria

The new mayor of your city has appointed you to paint the houses of your city to make the city look beautiful. The city consists of ‘N’ houses arranged in a straight line.

The mayor has provided you with ‘R’ buckets of red paint and ‘B’ buckets of blue paint (R + B = N). And you need exactly 1 bucket to paint 1 house.

The mayor considers the city beautiful if no more than ‘X’ consecutive houses are painted red, and no more than ‘Y’ consecutive houses are painted blue.

Apart from being a painter, you are also a good mathematician. Hence, you wonder how many ways you could paint the houses such that the city looks beautiful. Can you find the answer modulo 10^8?

Try solving now

2. Technical Questions

Tell me about your projects.

What are the main challenges did you face while making these projects?

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes