Question: Problem 0.1 Write a function that takes two strings (arrays of character) A, B and if A and B are the same output yes otherwise
Problem 0.1 Write a function that takes two strings (arrays of character) A, B and if A and B are the same output yes otherwise no. Question 0.2 Write a program to read an integer number n and then read n integer numbers and print out the third largest number of these numbers. Problemi 0.3 Write a code that prints out all the subset of size m = 3 from set {1,2,3, . . . , n- 1, n) for a given number n. For ezample the subset of size 3 from set 1,2,3,4,5) are: Problem 0.4 Write a program that reads n points in the plane (2D plane) and find the closet pair of points (the input is n lines of coordinate r,y ) Problem 0.5 Write a functions that takes a string (arrays of character) A and convert all the lower alphabet character to upper alphabet character. (e.g. If A = "aA12a * e', then output should be B-"AA12A * E" ). Problem 0.6 Write a code that decides whether a particular element x is in a sorted (de- scending order) array A of n integer. Your code should be fast and take advantage of the fact that A is sorted. Problem 0.7 Write a program that takes two sorted array A, B of size m, n respectively and merge these two arrays into a sorted array C For example if A=[1, 4, 5, 7, 8] and B-24,6,8,9,10] then C-12.4.4.5,6,7,8,8,9,1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
