Write a program to check the overlapping of one string's suffix with the prefix of another string.
Write a program that reads all the match outcomes and summarizes the information of all the matches.
Points are given to the teams based on the outcome of the match.
A win earns a team 3 points. A draw earns 1. A loss earns 0.
The following information is expected:
MP: Matches Played
W: Matches Won
D: Matches Drawn (Tied)
L: Matches Lost
P: Points
Given a list of numbers, write a program to print the smallest positive integer missing in the given numbers.
Given date-time D, write a program to print the time left for the next New Year.
Given two dates D1 and D2, write a program to count the number of Saturdays and Sundays from D1 to D2 (including D1 and D2).
The date in string format is like "8 Feb 2021".
Given two polynomials A and B, write a program that adds the given two polynomials A and B.
Given a string, write a program to print a secret message that replaces characters with numbers 'a' with 1, 'b' with 2, ..., 'z' with 26 where characters are separated by '-'.
Given a string, write a program to mirror the characters of the string in alphabetical order to create a secret message.
Given a string, write a program to return the sum and average of the numbers that appear in the string, ignoring all other characters.
Given a string, write a program to return the sum and average of the digits of all numbers that appear in the string, ignoring all other characters.