Welcome!
wildcard matching using dynamic programming wildcard matching using dynamic programming
Problem:Given an input string (s) and a pattern (p), implement wildcard pattern matching with support for ‘?’ and ‘‘ whe
2022-11-06
Compute how much water are trapped after raining (trapping rain water) Compute how much water are trapped after raining (trapping rain water)
Problem:Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much w
2022-11-02
Find first missing positive integer in an unsorted array Find first missing positive integer in an unsorted array
Problem:Given an unsorted integer array nums, return the smallest missing positive integer.You must implement an algorit
2022-11-01
How to call a function multi-times with try and catch before raise error in Python How to call a function multi-times with try and catch before raise error in Python
Here is one task that we might be doing: scraping some webpages in a for loop. Then some error happens for one of the pa
2022-10-28
Merge K sorted lists Merge K sorted lists
Problem:You are given an array of k linked-lists lists, each linked-list is sorted in ascending order.Merge all the link
2022-10-27
Regular expression matching Regular expression matching
Problem:Given an input string s and a pattern p, implement regular expression matching with support for ‘.’ and ‘*’ wher
2022-10-25
Find median of two sorted arrays Find median of two sorted arrays
Problem:Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays
2022-10-24
Create secrets scopes and keys for databricks, and how to give scope access to someone else Create secrets scopes and keys for databricks, and how to give scope access to someone else
In previous blogs, we have discussed about how to install the databricks command line tool (CLI),and how to add authenti
How to authenticate databricks command line tool How to authenticate databricks command line tool
Once we have installed the databricks command line tool (CLI), we still need to add authentication to the databricks web
How to install databricks command line tool in linux and windows How to install databricks command line tool in linux and windows
Sometimes we need to interact with databricks command line to get work done, for example, create new secrets scope and k
How to add watermark using Python How to add watermark using Python
The main idea of adding watermark with PIL library in Python is this: (1) First create new empty image RGBA with the sam
How to make AWS S3 buckets public through bucket policy How to make AWS S3 buckets public through bucket policy
The first step is to create a S3 buckets, here is how we can create one on AWS website through UI: After clicking the “c
24 / 28