Tag: coding challenge

coding challenge

Maximum Sum of Hourglass in Matrix | Solved in Java, Python

[Python/Java Program] Write a program to find the maximum sum of hourglass in matrix. How to find the sum of hourglass in matrix?

coding challenge

[Solved] Sort Characters by Frequency in Python String

How to sort characters by frequency in Python program using sorted() function. Sort string
based on the number of times characters have occurred.

coding challenge

[Solved] Hailstone Sequence in Python (With or Without Recursion)

[Solved] Hailstone Sequence in Python with and without recursion. Find the Maximum Length of Hailstone Sequence for the Range of Given Numbers.

Code

Program to Remove All Duplicates Chars from a given String in Python

[Coding Problem solved] How to remove all duplicates from a given string in Python? 1. Without changing the order of characters 2. By traversing the string only once…

Binary Tree

[Solved] PostOrder Traversal of Binary Tree Without Recursion (Iterative)

How to implement postorder traversal without recursion? Python program to print postorder traversal using iteration.

coding challenge

Print all Combinations of Balanced Parentheses in Python

[Solved] How to print all combinations of balanced parentheses in python, C/C++ and Java? Find all the valid parenthesis combinations using recursion.

amazon

Minimum Cost of Merging Files [Amazon Coding Test Question]

[Amazon media encoder question and answer] What is the minimum cost of merging files? Solve it in Python, C/C++, and Java.

coding challenge

[Solved] Reverse String Without Affecting Special Characters

How to reverse string without affecting special characters in Python, C/C++ and Java? Not changing the position of the special characters.

coding challenge

[Solved] Number Patterns and Finding the Possible Smallest Numeric Value

[Solved] Number Patterns and Fining the Possible Smallest Numeric Value. Solution in C/C++/Python /Python.