2022

Two Sums | LeetCode problem #1 | Solution using Python

Hi, The following solution has a time complexity of O(n) and not O(n2), because it does use for loop but not in nested form. If uses python hash map i.e. python dictionary to compare the values. Problem Statement: Given an array of integers nums and an integer target, return indices of the two numbers such that they add up

Two Sums | LeetCode problem #1 | Solution using Python Read More »

Mohr’s Circle App | Free Diagrams & Stress Calculations

Input Fields Refer to the figure above to understand the sign convention. After inputting the values, click “SBUMIT” to get the complete solution with Mohr’s Circle diagram. Stress Unit (example: kPa, MPa, ksi, psi, etc.) σx (+ve if tensile) σy (+ve if tensile) Ï„xy (+ve if anti-clockwise) θ (in degrees, +ve anticlockwise, plane where stress

Mohr’s Circle App | Free Diagrams & Stress Calculations Read More »

PHP Code Snippets Powered By : XYZScripts.com