Print Largest Even Number - Digits [C, C++, JAVA] Given a number N as the input, print the largest even number E that can be formed using the digits present in the number. (There will be at least one even digit). Input Format: The first line contains

Castle Towers Eragon is a dragon that is visiting the town of Osaka. There are n towers of various heights in the city, and tower i has height of height i. Because the taller towers tower over the shorter ones, Eragon can only blow out the

Fraudulent Activity Notifications Hacker Land National Bank has a simple policy for warning clients about possible fraudulent account activity. If the amount spent by a client on a particular day is greater than or equal to 2X the client's median spending for the last d days, they send the client a notification about

Best Subsequence You are given an array of length N. - A subsequence is a sequence that can be derived from another sequence by deleting some elements without changing the order of the remaining elements. You know that

String - Repeating Alphabets Given a string S as the input, print the distinct alphabets in S that occur more than once. The alphabets must be printed based on the order of their occurrence in S. Input Format: The first line contains S. Output

Second largest value among n integer The program must accept N integers and print the second largest value among the N integers. Input Format: The first line denotes the value of N. Next N lines will contain the N integer values. Output Format: The first line contains the

Day 7: Arrays Objective Today, we're learning about the Array data structure. Check out the Tutorial tab for learning materials and an instructional video! Task Given an array, , of integers, print 's elements in reverse order as a single line of space-separated numbers. Input Format The first line contains an integer, (the size of our

Day 6: Let's Review Objective Today we're expanding our knowledge of Strings and combining it with what we've already learned about loops. Check out the Tutorial tab for learning materials and an instructional video! Task Given a string, , of length that is indexed from to , print its even-indexed and odd-indexed characters as space-separated strings on a single

Day 8: Dictionaries and Maps Objective Today, we're learning about Key-Value pair mappings using a Map or Dictionary data structure. Check out the Tutorial tab for learning materials and an instructional video! Task Given names and phone numbers, assemble a phone book that maps friends' names to their respective phone numbers. You will then be given an unknown number of names

Day 5: Loops Objective In this challenge, we're going to use loops to help us do some simple math. Check out the Tutorial tab to learn more. Task Given an integer, , print its first multiples. Each multiple (where ) should be printed on a new line in the form: n x