Codiwan.com

The blog for Design Patterns, Linux, HA and Myself!

Using Vault with LDAP Login/Auth and Policy Authorization

Using Hashicorp Vault with LDAP(OpenLDAP) based Login/Auth and Policy Authorization

Hashicorp Vault Installation, Userpass, KV Secrets and Policy Authorization

Vault installation with tutorial on Userpass authentication with Policy Authorization

OpenLDAP Installation and Tutorial on Ubuntu

OpenLDAP installation on Ubuntu with practical examples using ldapadd, ldapmodify, etc.

Minimum Score Triangulation of Polygon

Leetcode Solution: Understand Minimum Score Triangulation of Polygon With Brute Force and Optimal Solution

Longest Happy String Solution

Understand Leetcode Longest Happy String(1405) With Brute Force and Optimal Solution

All Elements in Two Binary Search Trees Solution

Leetcode Solution: Understand Leetcode problem All Elements in Two Binary Search Trees(1305) Solution

Construct Binary Search Tree From Preorder Traversal Solution

Leetcode Solution: Understand Leetcode problem Construct Binary Search Tree From Preorder Traversal(1008) Solution

Maximum Binary Tree Solution

Leetcode Solution: Understand Leetcode problem Maximum Binary Tree(654) Solution

Sum of Nodes With Even Valued Grandparent Solution

Leetcode Solution: Understand Leetcode problem Sum of Nodes With Even Valued Grandparent(1315) Solution

Deepest Leaves Sum Solution

Leetcode Solution: Understand Leetcode problem Deepest Leaves Sum(1302) Solution

Symmetric Tree or Mirror Tree Solution

Leetcode Solution: Understand and solve Leetcode problem Symmetric Tree or Mirror Tree (101)

Diameter of Binary Tree Solution

Leetcode Solution: Understand and solve Leetcode problem Diameter of Binary Tree(543)

Binary Tree Paths Solution

Leetcode Solution: Understand and solve Leetcode problem Binary Tree Paths(257)

Cousins in Binary Tree Solution

Leetcode Solution: Understand Leetcode problem Cousins in Binary Tree(993) Solution

Sum of Left Leaves Solution

Leetcode Solution: Understand Leetcode problem Sum of Left Leaves(404) Solution

Same Tree or Equal Tree Solution

Leetcode Solution: Understand and solve Leetcode problem Same Tree(100)

Minimum Absolute Difference in BST Solution

Leetcode Solution: Understand and solve Leetcode problem Minimum Absolute Difference in BST(530)

Construct String From Binary Tree Solution - Leetcode

Leetcode Solution: Understand and solve Leetcode problem Construct String From Binary Tree(606)

Two Sum IV - Input is a BST Solution - Leetcode

Leetcode Solution: Understand and solve Leetcode problem Two Sum IV - Input is a BST Solution(653)

Convert BST to Greater Tree Solution - Leetcode

Leetcode Solution: Understand and solve Leetcode problem Convert BST to Greater Tree Solution(538)

Convert Sorted Array to Binary Search Tree Solution

Leetcode Solution: Understand and solve Leetcode problem Convert Sorted Array to Binary Search Tree(108)

Average of Levels in Binary Tree Solution

Leetcode Solution: Understand and solve Leetcode problem Average of Levels in Binary Tree(637)

Leaf Similar Trees Solution - Leetcode

Leetcode Solution: Understand and solve Leetcode problem Leaf Similar Trees(836)

Sum of Root to Leaf Binary Numbers - Leetcode

Leetcode Solution: Understand and solve Leetcode problem Sum of Root to Leaf Binary Numbers(1022)

Univalued Binary Tree - Leetcode

Leetcode Solution: Understand and solve Leetcode problem Univalued Binary Tree(965)

Maximum Depth of N Ary Tree - Leetcode

Leetcode Solution: Understand and solve Leetcode problem Maximum Depth of N Ary Tree(559)

Increasing Order Search Tree - Leetcode

Leetcode Solution: Understand and solve Leetcode problem Increasing Order Search Tree(897)

Merge Two Binary Trees Solution

Leetcode Solution: Understand and solve Leetcode problem Merge two binary trees(617)

Range Sum of BST - Leetcode

Leetcode Solution: Understand Leetcode problem Range Sum of BST(938) With a Brute Force and Optimal Solution

Integer Break Solution - Leetcode

Leetcode Solution: Understand Leetcode problem Integer Break (343) With a Brute Force and Optimal Solution

Longest Arithmetic Sequence Solution - Leetcode

Leetcode Solution: Understand Leetcode problem Longest Arithmetic Sequence With a Brute Force and Optimal Solution

Longest Zig Zag Path in a Binary Tree Solution - Leetcode

Leetcode Solution: Understand Leetcode problem Longest Zig Zag Path in a Binary Tree With a Brute Force and Optimal Solution

Minimum Path Sum Solution - Leetcode

Leetcode Solution: Understand Leetcode Minimum Path Sum With Brute Force and Optimal Solution

InfluxDB Out of Memory Solution

InfluxDB Out of Memory: Ways to Debug and solve the influxDB Out of Memory(OOM) issue

Arithemtic Slices Solution - Leetcode

Understand Arithmetic Slices(413 Leetcode) With Brute Force and Optimal Solution

Count Submatrices With All Ones Solution - Leetcode

Understand Leetcode Count Submatrices With All Ones(1504) With Brute Force and Optimal Solution

Center align code to reduce Distraction In Idea, Goland, Pycharm

Change to center alignment code editor for Intelliji IDEs

Filling Bookcase Shelves Solution - Leetcode

Understand Leetcode Filling Bookcase Shelves Optimal Solution

Minimum Cost for Tickets Solution - Leetcode

Understand Leetcode Minimum Cost for Tickets With Brute Force and Optimal Solution

Airplane Seat Assignment Probability Solution - Leetcode

Understand Leetcode Airplane Seat Assignment Probability With Brute Force and Optimal Solution

Proxy Design Pattern With Real World Example In Java

Proxy Pattern or Proxy Design Pattern: Learn Proxy Design Pattern with a Real World example by looking into How Hibernate ORM works!

State Design Pattern With Real World Example In Java

State Pattern or State Design Pattern: Learn State Design Pattern with a Real World example by creating a Document Management Application

Composite Design Pattern With Real World Example In Java

Composite Pattern or Composite Design Pattern: Learn Composite Design Pattern with Real World Example by creating an HTML parser

Simple CI/CD using Github Action Workflows from Scratch

Learn GitHub Actions and Workflows by creating a workflow pipeline from Scratch

Template Method Design Pattern With Real World Example

Template Design Pattern or Template Method Design Pattern: Learn Template Method Design Pattern through aR Real World Example by creating a Report Generator

Adapter Design Pattern With Real World Example In Java

Adapter Pattern or Adapter Design Pattern: Learn the Adapter Design Pattern with a Real World Example using a Currency Converter

Command Design Pattern With Real World Example In Java

Command Pattern or Command Design Pattern: Learn Command Design Pattern with a Real World Example of Quartz Scheduler

Singleton Design Pattern With Real World Example In Java

Singleton Pattern or Singleton Design Pattern: Learn Singleton Design Pattern with a real world example by creating a Configuration Manager

Factory Method Design Pattern With Real World Example

Factory Design Pattern or Factory Method Design Pattern: Learn Factory Method Design Pattern from Real World Example by creating a Milk Shake Factory

Simple Factory Pattern With Real World Example In Java

Factory Pattern or Simple Factory Design Pattern: Learn Simple Factory Design Pattern from Real World Example by creating a Milk Shake Factory

Decorator Pattern With Real World Example In Java

Decorator Pattern or Decorator Design Pattern: Learn Design Pattern Decorator with a Real World Example by creating a Coffee Ordering System

Observer Pattern With Real World Example In Java

Observer Pattern or Observer Design Pattern: Learn Observer Design Pattern in detail from a Real World Example by creating a Magazine's Subscription System

Strategy Pattern With Real World Example In Java

Strategy Pattern or Strategy Design Pattern: Learn Strategy Design Pattern by understanding a Real World example of hierarchies that involves interfaces, inheritance and ducks!