Python - Some useful Pytest Commands
Introduction In this post, we will explore some useful command line options for running python unit tests. Running Selective Test File…
Introduction In this post, we will explore some useful command line options for running python unit tests. Running Selective Test File…
Introduction In this post, we will see how we can apply a patch to Python and install it through pyenv. Python Patch for FIPS (as example…
Introduction We will list few interesting automation techniques with powershell. Get the directory of your current script Get the name of…
Introduction We will introduce a Package Manager for Windows: . In automations, it is necessary to install various tools, softwares from…
Introduction In previous posts, we saw how to build FIPS enabled Openssl, and how to Patch and Build Python 3.9.2 In this post, we will put…
Introduction We will see how we can install Python from command line using pyenv, and we will also create a Dockerfile. Install Python from…
Introduction We will see how we can install Python 3.7 on Windows without UI. i.e. from command line Install Python 3.7.9 First we will run…
Introduction In this post, we will see Python 3.9.x patch for FIPS enabled Openssl Test with Hashlib Test with Cryptography module Test…
Introduction In this post, we will see how we can build FIPS enabled openssl in docker. how we can enable a host FIPS enabled at kernel…
Introduction In this post, we will see Python 3.7.9 patch for FIPS enabled Openssl Test with Hashlib Test with Cryptography module Test…
Introduction In this post, I will take example for Python project. And how we can start debugging or launch a code file by passing command…
Read file all in one shot Above code read whole file at once, but if the files have multiple lines, the result string will have new line…
Introduction In this tutorial we will see, How to list and download storage container blobs without using Azure python libraries. Note…
Introduction In this tutorial we will see: How to instantiate different classes required for talking to Azure storage container How to…
In this post, we will see some of the frequently used concepts/vocabulary in System Design interviews preparations. Node This is very basic…
System design interview is pretty common these days, specially if you are having experience of more than 4-5 years. It is infact a good way…
Introduction You are given an array of integers with size N, and a number K. Find the maximum sum of continuous subarray of size K. Example…
Graph Topological Sorting This is a well known problem in graph world. Topological sort is to put vertices in order and output a list of…
Problem Statement Given a Binary tree, print out nodes in level order traversal from left to right. Approach-1 Use BFS (Breadth First Search…
Problem Statement Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d…
Problem Statement You are given a string text of words that are placed among some number of spaces. Each word consists of one or more…
Problem Statement You are given a rows x cols matrix grid. Initially, you are located at the top-left corner (0, 0), and in each step, you…
Problem Statement Given a string s, return the maximum number of unique substrings that the given string can be split into. You can split…
Problem The Leetcode file system keeps a log each time some user performs a change folder operation. The operations are described below…
Problem Statement Replace all spaces in a string with ‘%20’ (three characters). Do this in place and assume you have enough space in array…
Problem Implement an algorithm to determine if a string has all the characters as unique. Lets try to understand the problem first. Always…
Problem Statement Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For…
Problem Statement Given two strings s and t , write a function to determine if t is an anagram of s. Example Note: You may assume the…
Problem Statement Given a string, find the first non-repeating character in it and return its index. If it doesn’t exist, return -1. Example…
Problem Statement Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra…
Problem Statement You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise). You have to rotate the…
Problem Statement Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules…
Problem Statement Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non…