Hassan Raza

Find the Smallest Missing Positive Integer

Problem Statement (Asked By Stripe) You are given an array of integers. Your task is to find the smallest missing…

3 weeks ago

Serialize and Deserialize a Binary Tree

Given the root of a binary tree, create two functions: serialize(root) - Converts the binary tree into a string representation.…

3 weeks ago

Product of Array Except Self

Problem Statement (Asked By Uber) Given a list of integers, return a new list such that each element at index…

3 weeks ago

Two Sum: Check for Two Numbers with Sum K

Problem Statement (Asked By Google) Given a list of integers and a target number k, determine if there exist two…

3 weeks ago

Generate Parenthesis | Intuition + Code | Recursion Tree | Backtracking | Java

Problem Statement: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1: Input: n = 3…

4 months ago

Square Root of Integer

Given an integer A. Compute and return the square root of A. If A is not a perfect square, return…

1 year ago

Build Array From Permutation

Given a zero-based permutation nums (0-indexed), build an array ans of the same length where ans[i] = nums[nums[i]] for each…

1 year ago

DSA: Heap

A heap is a specialized tree-based data structure that satisfies the heap property. It is commonly used to implement priority…

2 years ago

Mule 4: Multipart/form-data in HTTP Request Connector

Multipart/Form-Data service using the HTTP Request connector in Mule 4

2 years ago

Mule 4: HTTP request connector

the HTTP Request connector is a powerful component that allows you to send HTTP requests and receive responses from external…

2 years ago