How to build a basic Django 3.0 application
There are various python web frameworks and Django is one of the most popular ones. If we compare Django with Flask, we can say full-stack vs lightweight. If you want…
There are various python web frameworks and Django is one of the most popular ones. If we compare Django with Flask, we can say full-stack vs lightweight. If you want…
Given an array of integers arr, a lucky integer is an integer which has a frequency in the array equal to its value. Return a lucky integer in the array.…
Given two integer arrays arr1 and arr2, and the integer d, return the distance value between the two arrays. The distance value is defined as the number of elements arr1…
Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both s and…
Given a string s consisting only of letters 'a' and 'b'. In a single step you can remove one palindromic subsequence from s. Return the minimum number of steps to…
Given two equal-size strings s and t. In one step you can choose any character of t and replace it with another character. Return the minimum number of steps to…
Given a (singly) linked list with head node root, write a function to split the linked list into k consecutive linked list “parts”. The length of each part should be…
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in…
Let’s define a function f(s) over a non-empty string s, which calculates the frequency of the smallest character in s. For example, if s = "dcce" then f(s) = 2…
In my previous post, I have shown you how to build a basic Flask application, now lets dockerize the application. You can follow the Django 3.0 application which we will…