592. Fraction Addition and Subtraction
Given a string expression representing an expression of fraction addition and subtraction, return the calculation result in string format. The final result […]
Given a string expression representing an expression of fraction addition and subtraction, return the calculation result in string format. The final result […]
Given a Binary Tree, return Left view of it. Left view of a Binary Tree is set of nodes visible
The complement of an integer is the integer you get when you flip all the 0‘s to 1‘s and all the 1‘s to 0‘s in its
Given a sorted dictionary of an alien language having N words and k starting alphabets of standard dictionary. Find the order
There is a strange printer with the following two special properties: The printer can only print a sequence of the same
You are given an Undirected Graph having unit weight of the edges, find the shortest pathfrom src to all the vertex and if it is unreachable to reach
Alice and Bob continue their games with piles of stones. There are a number of piles arranged in a row, and each pile
Given a binary tree and a node data called target. Find the minimum time required to burn the complete binary tree if the
There is only one character ‘A’ on the screen of a notepad. You can perform one of two operations on this notepad
Given an array arr[] and an integer k where k is smaller than the size of the array, the task is to find the kth smallest element
An ugly number is a positive integer whose prime factors are limited to 2, 3, and 5. Given an integer n, return the nth ugly number. Example 1: Input:
Given an array of integers arr, return true if it is possible to split it in two subarrays (without reordering the elements), such