c++

[Solved] Spiral Matrix IV LeetCode Contest Problem

[Solved] Spiral Matrix IV LeetCode Contest Problem

Spiral Matrix IV: You are given two integers m and n, which represent the dimensions of a matrix. You are also given the head of a linked list of integers. Generate an m x n matrix that contains the integers in the linked list presented in spiral order (clockwise), starting…

[Solved] Decode the Message LeetCode Contest Problem

[Solved] Decode the Message LeetCode Contest Problem

Decode the Message: You are given the strings key and message, which represent a cipher key and a secret message, respectively. The steps to decode message are as follows: Use the first appearance of all 26 lowercase English letters in key as the order of the substitution table. Align the substitution…

[Solved] Simplified Fraction with C++, Java

[Solved] Simplified Fraction with C++, Java

Simplified Fraction: St. Patrick Convent organizes a project exhibition “Innovative Minds” every year with an objective to provide the platform and unleash the potential of the students by showcasing their innovative projects. Pasha is a smart high school student and…

[Solved] Winter Challenge with C++

[Solved] Winter Challenge with C++

Winter Challenge: Swapna is a regular reader of Youth Digest magazine. The magazine has a whole host of fun and interesting facts from around for the youth especially that encourage interactivity and enhances their imagination. “Winter Challenge” is an event…

[Solved] Best Programmer with C++,Java,Python

[Solved] Best Programmer with C++,Java,Python

Best Programmer: Baldwin High School’s Best Programmer Contest is organized today and the contest hones the students coding skills by making them solve different challenges. Based on the speed and accuracy with which the students finish the challenges, the Event…

[Solved] Maximum of 3 Numbers with C++

[Solved] Maximum of 3 Numbers with C++

Maximum of 3 Numbers: Rita is very happy about the successful completion of pattern game by her students. By that time, Disneyland project manager announced a Mini project related to mathematical calculations. Rita thought of taking up that Mini project…

[Solved] Data Mining-while with C++

[Solved] Data Mining-while with C++

Data Mining-while: In the University Examinations conducted during the past 5 years, the toppers registration numbers were  7126, 82417914, 7687 and 6657. Your father is an expert in data mining and he could easily infer a pattern in the toppers…

[Solved] Character Pattern 8 with C++

[Solved] Character Pattern 8 with C++

Character Pattern 8: Write a program to generate the following pattern. ********* b******* b bb***** bb bbb***bbb bbbb*bbbb Input and Output Format: Input consists of a single integer that corresponds to n, the number of rows. n is always an…

[Solved] Series 2 with C++, Python, Java

[Solved] Series 2 with C++, Python, Java

Series 2: The Event Organizing Company “Buzzcraft” focuses event management in a way that creates a win-win situation for all involved stakeholders. Buzzcraft don’t look at building one time associations with clients, instead, aim at creating long-lasting collaborations that will…