Coding
66 notes.
Python: Add Two or More Numbers – Linked List
Learn how to add two non-negative integers represented by linked lists in reverse order. Check out this Python code example.
Python: Two Sum Problem
Learn how to find indices of two numbers in an array that add up to a specific target using Python. Check out this code and examples.
Python: Stack with Push, Pop and seek Minimum Value with O(1)
Learn how to implement a stack with push, pop, and seekMin functions in Python 3 with a time complexity of O(1). Check out this code!
Python: Lowest Common Ancestor of a Binary Tree – Non Recursive
Python 3 code to find the Lowest Common Ancestor of a Binary Tree This is a Non Recursive solution using DFS method. 9004336556ab761d54841a_000006 9004336556ab761d54841a_000007 Hope it helps.
Python: Lowest Common Ancestor of a Binary Search Tree
Python 3 code to find the Lowest Common Ancestor of a Binary Search Tree 9004336556ab761d54841a_000008 Hope it helps.
Python: Array/List Rotation – Right
Python program to rotate an array towards its right Inplace Method 9004336556ab761d54841a_000009 Split and Merge Method 9004336556ab761d54841a_000010 Hope this helps.
Python: Array/List Rotation – Left
Python program to rotate an array towards its left Inplace Method 9004336556ab761d54841a_000011 Split and Merge Method 9004336556ab761d54841a_000012 Hope this helps.
PHP Error:0607A082:digital envelope routines:EVP_CI PHER_CTX_set_key_length:invalid key length
If you are trying to use an older version of PHP to connect MYSQL over SSL, there is a good chance that you encounter the following errors: error:0607A082:digital…
HubSpot Cookie Consent – Control the use of non-HubSpot cookies on your website
The HubSpot Cookie Consent banner sets a cookie name '__hs_opt_out' when you accept/decline the cookie consent. You can make use of the status of the consent to remove/allow…
HubSpot – Show the Privacy Cookie Consent Banner above the Body instead of an Overlay
When you enable the Cookie Policy in HubSpot you only have two options, either to show it as a top banner or as a bottom banner. The top…
HubSpot – Search Functionality for Blogs
This piece of HubL code can be used to search for a keyword in a single blog or multiple blogs. You can use the below HubL code in…
iOS Login and Signup Screen tutorial : Swift 2 + XCode 7 + iOS 9 + JSON
This tutorial will guide you to create a simple app with a Signup and Login screen which takes username and password from the user and then posts it to an url and parse the JSON response.