Sopra Banking Coding Questions And Answers

Sopra Banking Coding Questions with Solution 2023

Sopra Banking Coding Questions and Answers from all the years that have been asked in Coding Round during hiring Process. This page also includes other details regarding hiring process like Job Description, Eligibility Criteria and Steps in Selection Process for specific Job-Profile in the company. 

sopra-steria-coding-questions

About Sopra Banking Software Ltd.

The parent company of Sopra Banking is Sopra Steria, which offers cloud-based products and solutions, specialised management systems, and support systems.

Sopra Banking Software Ltd. specialises in banking management systems. They provide banking software to control various tasks performed in banks. They also provide some specific API – Oriented softwares for various Financial organisations to control Banking and Money Related workflow in a specific way.

Sopra Banking Recruitment Process

The Online Assessment consists  of following sections : 

  1. Online Coding Assessment [ 50 Min ] 
  2. Interview Round [ Technical + HR ]

For your reference, we have given further details for specific Job Profile offered by the company in Tabular Form :

Sopra BankingImportant Information
Position :

Software Engineer

Course :
  • Eligible Batch – 2023
  • B.Tech – CSE / IT
Eligibility Criteria / Academic Qualification Required :
  • Minimum 60 % throughout 10th and 12th
  • B.Tech – Minimum 70 %
Cost to Company (CTC)

8.5 LPA

Selection Process :
  • Coding Test 1 on Hacker Earth.
  • Test 2
  • Final Interview
Joining Location :
  • Noida 
  • Pune

Details of  Sopra Banking Online Coding Assessment :

PointsRelevant Information 
Coding Test 50 Minutes 
Number Of Questions2 – 3 Questions 

Prime Course Trailer

Related Banners

Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription

Sample Sopra Banking Practice Coding Questions and Answers

Question 1 : Borrow Number

Problem Statement  :

You have two numbers number1 and number2, your job is to check the number of borrow operations needed for subtraction of number1 from number2. If the subtraction is not possible then return the string not possible.

Example :

754
658

Answer :
2

654
666

Answer :
Not possible

Question 2 : Iron Magnet

Problem Statement  :

We know iron behaves like magnets when all the north and the south sides are placed accordingly in a balanced way while the north comes first and then the south. Now if you are given the distribution of the north and the south poles inside the iron metal piece, you have to say how many swaps is needed to turn it into an iron, if possible, otherwise print -1.

Input Format: A string consisting N and S as north and south poles.
Output Format:
An integer denoting the number of poles will be needed.

Sample Input:
SNNSN

Output:
3

Output Description:
After we balance the iron in the way NSNNSNSS, we will get a piece of metal that will be balanced as a magnet.

Question 3 : Array Subarray

Problem Statement: You are given an array, You have to choose a contiguous subarray of length ‘k’, and find the minimum of that segment, return the maximum of those minimums.

Sample input :

  • 1 → Length of segment x =1
  • 5 → size of space n = 5
  • 1 → space = [ 1,2,3,1,2]
  • 2
  • 3
  • 1
  • 2

Sample output :

  • 3

Explanation :

  • The subarrays of size x = 1 are [1],[2],[3],[1], and [2],Because each subarray only contains 1 element, each value is minimal with respect to the subarray it is in. The maximum of these values is 3. Therefore, the answer is 3

Question 4 : Maximum Toys

In a toy shop there are a number of toys presented with several various – priced toys in a specific order. You have a limited budget and would like to select the greatest number of consecutive toys that fit within the budget. Given prices of the toys and your budget, what is the maximum number of toys that can be purchased for your child?

Example:

prices=[1,4,5,3,2,1,6]

money=6

All sub arrays that sum to less than or equal to 6 .

length 1:  [1] [4] [5] [3] [2] [1] [6]

length 2:  [1,4] [3,2] [2,1] 

length 3: [3,2,1]

The longest of these or the maximum number of toys that can be purchased is 3.

Function description

Complete the function getMaxToys in the editor below 

getMaxToys has the following parameters:

int prices[n] : the prices of the various toys

int money: the amount of money you can spend on toys 

Returns

Int the maximum number of toys you can purchase 

Constraints

1<=n<=10^5

1<=price[i]<=100

1<=money<=10^6

Sample case 

Sample input 0

7->n=7
1-> price[]=[1,4,5,3,2,1,6]
4
5
3
2
1
6
6 ->money=6

Sample Output

3

Question 5 : Maximize Earnings (R->Hard)

Problem Statement  :

A company has a list of jobs to perform. Each job has a start time, end time and profit value. The manager has asked his employee Anirudh to pick jobs of his choice. Anirudh being greedy wants to select jobs for him in such a way that would maximize his earnings.
Given a list of jobs how many jobs and total earning are left for other employees once Anirudh
Picks jobs of his choice.
Note: Anirudh can perform only one job at a time.

Input format:

Each Job has 3 pieces of info – Start Time,End Time and Profit
The first line contains the number of Jobs for the day. Say ‘n’. So there will be ‘3n lines
following as each job has 3 lines.
Each of the next ‘3n’ lines contains jobs in the following format:
start_time
end-time
Profit
start-time and end-time are in HHMM 24HRS format
i.e. 9am is 0900 and 9PM is 2100

Constraints :

The number of jobs in the day i.e’ is less.
than 10000
0<_n<_10000
start-time is always less than end time.

Output format :

Program should return an array of 2 integers where
1st one is number of jobs left and earnings of other employees

Sample Input 1 :
4
0200
0300
10
0400
0700
20
0300
0800
30
0900
1000
50

Sample Output 1:
1
20

Sample Explanation 1

CHooses 1st, 3rd and 4th job cause they don’t overlap. So only second job is remaining.

Sample Input 2:

5
0805
0830
100
0835
0900
100
0905
0930
100
0935
1000
100
1005
1030
100

Sample output 2:

0
0

Sample Explanation 2:
Anirudh can work on all appointments as there are none overlapping.
Hence 0 appointments and 0 earnings for other employees.

FAQs on Sopra Banking Coding Questions

Question 1: Is Coding questions asked in Sopra Banking Recruitment Process?

Yes, Coding Questions were asked in Online Assessment and Technical Interview of Sopra Banking Recruitment Process.

Question 2: In what field does Sopra Banking works?

Sopra Banking works in the field of banking and financial services to help there customers to operate efficiently on their financial systems and services. 

Question 3: What is the minimum salary of Sopra Banking?

The salary offered by the company for Engineer Trainee is a minimum ₹6.0 Lakhs per year, for Software Engineers the minimum salary is ₹8.5 L.P.A and so on. 

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others

Checkout list of all the video courses in PrepInsta Prime Subscription

Checkout list of all the video courses in PrepInsta Prime Subscription