sWWW - Sylwester Wojnowski - Code For The Web
https://wojnowski.net.pl/
Web Development articles and code. Category: MathssWWWRSSGenerator2024 Sylwester Wojnowski. All rights reserved.Information Technologyen-us
https://swww.com.pl/
https://swww.com.pl/media/img/post/swww_144.pngsWWW - Sylwester Wojnowski - Code For The WebTue, 28 Jul 2020 00:28:15 +0100Turning OOP class to graph for better code composition and understandingTue, 28 Jul 2020 00:28:15 +0100http://swww.com.pl/main/index/turning-oop-class-to-graph-for-better-code-composition-and-understandingArticle on perceiving OOP classes and objects based on them as graphs and advantages this approach yields.Using arrow functions for recursive post-order tree traversalFri, 24 Jul 2020 00:31:31 +0100http://swww.com.pl/main/index/using-arrow-functions-for-recursive-post-order-tree-traversalUsing JavaScript arrow functions for post-order based tree data structure traversal.Transforming range of variable to 0 to 1 and custom rangesSat, 18 Jul 2020 00:39:07 +0100http://swww.com.pl/main/index/transforming-range-of-variable-to-0-to-1-and-custom-rangesLearn how to transform variable's range to [0,1] or a custom range.Checking trees for sameness with recursion and spaceship operator in PHPThu, 16 Jul 2020 14:51:53 +0100http://swww.com.pl/main/index/checking-trees-for-sameness-with-recursion-and-spaceship-operator-in-phpLearn how to check whether two trees are the same using a recursive algorithm or the spaceship operator in PHP.Two indispensable formulas for percentagesWed, 15 Jul 2020 11:21:05 +0100http://swww.com.pl/main/index/two-indispensable-formulas-for-percentagesTwo very useful formulas for percentages with examples of use.Recursively updating deeply nested arrays in PHPTue, 14 Jul 2020 11:08:06 +0100http://swww.com.pl/main/index/recursively-updating-deeply-nested-arrays-in-phpAn article on recursively updating deeply nested arrays using array_walk_recursive and custom nested array traversal function in PHP.Finding Minimum Spanning Tree with Prim's Algorithm and PHPMon, 02 Mar 2020 02:10:42 +0000http://swww.com.pl/main/index/finding-minimum-spanning-tree-with-prims-algorithm-and-phpFinding minimum spanning trees using implementation of Prim's algorithm written in PHP programming language.Binary Search algorithm advanced implementation in PHPMon, 17 Feb 2020 00:41:03 +0000http://swww.com.pl/main/index/binary-search-algorithm-advanced-implementation-in-phpAdvanced implementation of Binary Search algorithm in PHP programming language, which allows for custom comparison functions and multiple value returns.Binary Search algorithm implementation in PHPSun, 16 Feb 2020 00:43:24 +0000http://swww.com.pl/main/index/binary-search-algorithm-implementation-in-phpBinary search algorithm and its recursive implementation in PHP programming language.Number of unique paths in square latticeFri, 14 Feb 2020 21:45:36 +0000http://swww.com.pl/main/index/number-of-unique-paths-in-square-latticeBuilding a square lattice and finding number of unique paths in it with PHP programming language.Week day number falling on a month dayFri, 14 Feb 2020 01:51:58 +0000http://swww.com.pl/main/index/week-day-number-falling-on-a-month-dayA brief text on how to find a day of the week which falls on a given day of the month for all months over a period of time with PHP programming language.Walking pyramid graph paths in PHPWed, 12 Feb 2020 19:53:09 +0000http://swww.com.pl/main/index/walking-pyramid-graph-paths-in-phpCollecting data from all paths in a graph recursively.Longest Collatz sequence in PHPSat, 08 Feb 2020 23:30:22 +0000http://swww.com.pl/main/index/longest-collatz-sequence-in-phpThe longest Collatz sequence for input less than N in PHP programming language.Number of primes less than NTue, 04 Feb 2020 20:33:40 +0000http://swww.com.pl/main/index/number-of-primes-less-than-nSieve of Eratosthenes algorithm implementation for finding prime numbers less than a number.Finding permutations with Heap algorithm in PHPThu, 26 Oct 2017 16:54:32 +0100http://swww.com.pl/main/index/finding-permutations-with-heap-algorithm-in-phpHeap algorithm for finding permutations of n items implementation in PHP programming language.Arrangements with repetition implementation in PHPSun, 08 Oct 2017 14:29:33 +0100http://swww.com.pl/main/index/arrangements-with-repetition-implementation-in-phpArticle on implementing arrangements with repetition recursively in PHP programming language. Matrix transpose operator implementation in PHPThu, 05 Oct 2017 21:49:26 +0100http://swww.com.pl/main/index/matrix-transpose-operator-implementation-in-phpArticle on implementing matrix transpose operator in PHP programming language. Contains commented code and use examples.Compound interest in PHP part 1Wed, 20 Sep 2017 00:25:21 +0100http://swww.com.pl/main/index/compound-interest-in-php-part-1Compound interest and implementation of it in PHP programming language.Traversing array from the middle in PHPWed, 30 Aug 2017 15:51:20 +0100http://swww.com.pl/main/index/traversing-array-from-the-middle-in-phpArticle on middle-item-first array traversing schemes implemented in PHP with code examples.Square pyramidal numbers and implementing them in PHPSat, 19 Aug 2017 14:24:59 +0100http://swww.com.pl/main/index/square-pyramidal-numbers-and-implementing-them-in-phpArticle on square pyramidal numbers and finding them using a piece of code written in PHP programming language.