PostsCommentsPayoutsgolibrary (35)in #steempress • 5 years agoAlgorithm to find prime factors of very big numbersPrime Factorization How to write an efficient algorithm to find prime factors of very large numbers ? Below is a simple algorithm to achieve the same:-…golibrary (35)in #steempress • 5 years agoHow to create a VM In Microsoft Azure CloudIn this article we will learn how to deploy virtual machine Azure cloud. Let’s get familiar with few terms: Microsoft Azure Cloud: Microsoft Azure is a…golibrary (35)in #steempress • 5 years agoAlgorithm to solve linear equation in one variableProblem Statement Solve a given equation and return the value of x in the form of string "x=#value". The equation contains only '+', '-' operation, the variable x and its…golibrary (35)in #steempress • 5 years agoRemove duplicates from sorted array in placeProblem Statement Given an array of sorted numbers, remove all duplicates from it. You should not use any extra space; after removing the duplicates in-place return the new…golibrary (35)in #steempress • 5 years agoFinding maximum number of fruits that can be kept in one basketProblem Statement Given an array of characters where each character represents a fruit tree, you are given two baskets and your goal is to put maximum number of fruits in…golibrary (35)in #steempress • 5 years agoLength of smallest subarray with a sum greater than or equal to SProblem Statement Given an array of positive numbers and a positive number ‘S’, find the length of the smallest contiguous subarray whose sum is greater than or equal to…golibrary (35)in #steempress • 5 years agoFinding max sum of subarray with a given length in an arrayProblem Statement Given an array of positive numbers and a positive number ‘k’, find the maximum sum of any contiguous subarray of size ‘k’. Example 1: Input: [2, 1, 5, 1…golibrary (35)in #steempress • 5 years agoPuppet Basic ConceptsWhat is Puppet? Puppet is an open-source configuration management tool. It is a declarative language for expressing system configuration. Puppet is a client and server for…golibrary (35)in #steempress • 5 years agoHistory of Unix and LinuxLet's dive deep into the history of unix and linux, the most revolutionary OSes of all time. Unix History: Unix is a computer operating system developed in 1969 by…golibrary (35)in #steempress • 5 years agoOptimizing hierarchical SQL queriesOverview Every enterprise system has hierarchical data. The reporting engine of these systems generates reports displaying hierarchical tree structures. These kinds of…golibrary (35)in #steempress • 5 years agoApplication performance analysis using Windows toolkitWhy the CPU utilization is near to 100% on my server machine? Why there is a steady decrease in the available memory? Why the calls are getting dropped? We often get these kinds…golibrary (35)in #steempress • 5 years agoQuantum money and bitcoinImage This article is originally published in Albaron Ventures. Deemed as one of the biggest potential technological revolutions of recent history, quantum computing also…golibrary (35)in #steempress • 5 years agoFinding diameter of a binary treeProblem statement:- Given a binary tree, you need to compute the length of the diameter of the tree. The diameter of a binary tree is the length of the longest path between any…golibrary (35)in #steempress • 5 years agoFind cells with odd values in a matrixProblem Statement:- Given n and m which are the dimensions of a matrix initialized by zeros and given an array indices where indices[i] = [ri, ci]. For each pair of [ri, ci]…golibrary (35)in #steempress • 5 years agoCheck if two given strings are ispmorphicProblem statement:- Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrences…golibrary (35)in #steempress • 5 years agoSystem Design: Design scalable typeahead componentBelow is the Architecture diagram explaining the design pictorially Explanation Since , our data is massively large, we will keep it distributed on multiple…golibrary (35)in #steempress • 6 years agoHack remote databases using SQL injectionWhat is SQL Injection SQL injection is a technique of injecting malicious SQL queries in query string of a website vulnerable to SQL injection. Using SQL injection, one can…golibrary (35)in #steempress • 6 years agoWhat is Quantum ComputingQuantum Computing Introduction Quantum computing is based on the principles of quantum physics. In physics, a quantum is the minimum amount of any physical entity involved in an…golibrary (35)in #algorithm • 7 years agoPrint all paths between any 2 nodes in a directed GraphGraph A Graph is a specific data structure consisting of a finite number of objects or set of objects. This set of objects are connected by edges or lines between them. The…golibrary (35)in #algorithm • 7 years agoFind an element in an Array of length N which is rotated at point KProblem :- Given a sorted and rotated array (rotated at some point) A[ ], and given an element K, the task is to find the index of the given element K in the array A[ ]. The…