# coding challenge

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

In this tutorial, you will learn what is hailstone sequence, how to write a Python program to find the hailstone sequence with and without recursion. Let's start with basic...

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

Problem Statement: You have given a string. You need to remove all the duplicates from the string. The final output string should contain each character only once. The...

### [Solved] PostOrder Traversal of Binary Tree Without Recursion

Traversing elements in postorder traversal with recursion is easy. You can read the postorder traversal in detail where I have explained it with binary tree example and...

### Print all Valid Parentheses | Generate Balanced Parentheses Python

Problem Statement Print all the valid parentheses combinations for the given number. Or, generate balanced parentheses using any programming languages like C/C++, Python,...

### Minimum Cost of Merging Files [Amazon Coding Test Question]

This programming challenge is asked in the Amazon coding round hosted on the Amcat platform. There will be two coding questions to be solved in 90 minutes. So you can take 45...

### Minimum Distance Required for Truck to Deliver Order [Amazon Coding Question]

Problem Statement: Find the shortest path to reach the destination in the matrix (Amazon Delivery Coding Challenge) Amazon Fresh is a grocery delivery service that offers...

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

Problem Statement Question: Given a pattern containing only Ns and Ms. N represent ascending and M represent descending, Each character (M or N) needs to display a sequence of...

### [Solved] Find Two Unique Numbers from Array in O(n) Time

Problem Statement: Find Two Unique Numbers from Array in O(n) Time Let's assume all numbers except two occur twice in an array. How do you get those two numbers to occur only...

### [Solved] Find Duplicate in Array in O(n) Linear Time

Problem Statement: An array contains n numbers ranging from 0 to n-1. There are some numbers duplicated in the array. It is not clear how many numbers are duplicated or how...

1›

Page 1 of 2