Problem — https://leetcode.com/explore/challenge/card/30-day-leetcoding-challenge/530/week-3/3303/
You have to write a program that generates values from the Fibonacci sequence. The Fibonacci sequence is recursively defined by:
Fn = Fn - 1 + Fn - 2
Given an array of N integers, find the pair of integers in the array which have minimum XOR value. Report the minimum XOR value.
XOR
Examples : Input 0 2 5 7 Output 2 (0 XOR 2)…
Problem Link: A Circle and a Square
In this challenge, you must implement part of a raster graphics editor that takes the coordinates of a circle and a square as input and draws them as filled-in shapes on a rectangular canvas.
Problem Link: Big Sorting
Consider an array of numeric strings, unsorted, where each string is a positive number with anywhere from 1 to 106 digits. Sort the array’s elements in non-decreasing (i.e., ascending) order of their real-world integer values and print each element of the…
Problem Link: Day of the Programmer
Marie invented a Time Machine and wants to test it by time-traveling to visit Russia on the Day of the Programmer (the 256th day of the year) during a year in the…
Problem Link: Separate the Numbers
A numeric string, s, is beautiful if it can be split into a sequence of two or more positive integers, a1,a2,….. ,an, satisfying the following conditions:
Monk’s favourite game is Football and his favourite club is “Manchester United”. Manchester United has qualified for the Champions League Final which is to be held…
Given a string S, count the number of non empty sub strings that are palindromes.A sub string is any continuous sequence of characters in the string.A string is said to be palindrome, if the…
You are given a string S. S consists of several words separated by one or more spaces. Word consists of Latin letters as well as other symbols (but not spaces).In each word which starts from lowercase Latin letter replace starting letter with uppercase Latin letter.