## Harshad Matrix | Springboard coding question solution

Harshad Matrix Infosys springboard coding question with solution Problem Statement : Given a m x n matrix inmatrix of positive integers, write a program to print outmatrix based on the below logic: • Identify all 2×2 sub-matrix/matrices in inmatrix where each element is a Harshad number A number is a Harshad number if it Read more…

## Form smallest number | Springboard coding question solution

Form smallest number Infosys springboard coding question with solution Problem Statement : Consider a non-empty array inarr consisting of non-zero unique positive integers separated by”,”(comma) and a positive integer innum which denotes the maximum number of swaps allowed. Write a program to print a number outnum which represents a number Read more…

## Longest alternating sub-sequence | Springboard coding question solution

Longest alternating sub-sequence Infosys springboard coding question with solution Problem Statement : Consider a non-empty string instr containing only lower case alphabets. Print the output based on the below logic: • Identify and print the longest sub-sequence of at least 3 alphabets alternating between vowels and consonants possible from instr. Read more…

## Find Summation sets | Springboard coding question solution

Find summation sets Infosys springboard coding question with solution Question : Consider a non-empty array of integers inarr with the elements separated by “,”(comma) and an integer innum. Find and print a number outnum based on the below logic: Identify all possible unique combinations of four elements from inarr A Read more…

## Special Alphabetical Order | Springboard coding question solution

Special alphabetical order Infosys springboard coding question with solution Problem Statement : Given a non-empty string instr containing only alphabets, print the string outstr by arranging the alphabets of instr in the following order: AaBb……YyZz i.e. all occurrences of ‘A’ in instr will come first, followed by all occurrences of Read more…

## Concatenate Alphabetical Groups | Springboard coding question solution

concatenate alphabetical groups Infosys springboard coding question with solution Problem Statement : Given a non-empty string instr containing only alphabets. Print the sting outstr based on the below logic: • Form alphabetical groups from the alphabets in instr An alphabetical group will contain all the occurrences of an alphabet, both Read more…

## Longest prefix suffix | Springboard coding question solution

Longest prefix suffix Infosys springboard coding question with solution Problem Statement : Given a non-empty sting instr containing only alphabets, print the length of the longest prefix in instr which is same as the suffix. The prefix and suffix should not be overlap in instr Print -1 if no prefix Read more…

## Programming Fundamentals using Python PT2 | Infosys Springboard

Programming Fundamentals using Python – Part 2 What you will learn : Discuss on how to build a robust Python code Introduce how to organize the Python code Provide insights into File Handling in Python Discuss basic software development activities like unit testing and debugging a Python program Prerequisites required Read more…