Square Root of Integer
Given an integer A. Compute and return the square root of A. If A is not a perfect square, return floor(sqrt(A)). The value of A can cross the range of Integer.
August 10, 2023 | DSA Sheet | No comments
Keep Coding Keep Cheering!
Given an integer A. Compute and return the square root of A. If A is not a perfect square, return floor(sqrt(A)). The value of A can cross the range of Integer.
August 10, 2023 | DSA Sheet | No comments
Given a zero-based permutation nums (0-indexed), build an array ans of the same length where ans[i] = nums[nums[i]] for each 0 <= i < nums.length and return it. A zero-based permutation nums is an array of distinct integers from 0 to nums.length - 1 (inclusive).
August 9, 2023 | DSA Sheet | No comments
A heap is a specialized tree-based data structure that satisfies the heap property. It is commonly used to implement priority queues and efficient sorting algorithms like heap sort.
June 10, 2023 | Algorithm, Data Structure | No comments
Multipart/Form-Data service using the HTTP Request connector in Mule 4
May 24, 2023 | Mule 4 | No comments
the HTTP Request connector is a powerful component that allows you to send HTTP requests and receive responses from external systems or APIs
May 23, 2023 | Mule 4 | No comments
Singly Linked List Singly Linked List is a linear and connected data structure made of Nodes. Each node is composed of a variable data where its content (actual value) is stored and a pointer to the next Node (next node location) on the list. The Linked List has a pointer to the first element of this Node […]
March 27, 2022 | Data Structure | No comments
batch processing provides a construct for asynchronously processing larger-than-memory data sets that are split into individual records.
December 9, 2021 | python | No comments
DataWeave is a programming language designed for transforming data. It is MuleSoft’s primary language for data transformation, as well as the expression language used to configure components and connectors.
July 4, 2021 | Dataweave | No comments
sequential search is a method for finding an element within a list. It sequentially checks each element of the list until a match is found or the whole list has been searched.
The idea of a dictionary used as a hash table to get and retrieve items using keys is often referred to as a mapping. Python already has a built-in dictionary object that serves as a Hash Table.