Category

Programming Tutorials and Coding Guides

Explore programming tutorials with practical examples across multiple languages, scripting, and development concepts for beginners and advanced users.

Welcome to the Programming tutorials section, where you will learn coding concepts with real-world examples across multiple languages and platforms.

This category includes beginner to advanced guides covering scripting, automation, and application development in Java, JavaScript, Python, Go, TypeScript, and related stacks.

Whether you are learning programming for system administration or building applications, browse the articles below for practical examples and language-specific references.

Programming plays a crucial role in modern infrastructure and DevOps workflows. You can also explore DevOps and Linux to see how code integrates with system-level operations.

956 articles

Programming category illustration with code editor, automation, and debugging graphics
programming

Java Memory Management [In-Depth Tutorial]

Java memory management is handled by the Java Virtual Machine (JVM). The JVM allocates memory for Java objects on the heap, which is a portion of memory that

Bashir Alam10 min read
programming

How to add quotation marks within string Java?

Quotation marks are a commonly used character in programming, especially when it comes to strings. In Java, there are two types of quotation marks that can be

Bashir Alam5 min read
programming

How to skip a line in Java Scanner?

In Java, you can use the nextLine method of the Scanner class to read a line of input from the user. If you want to skip a line, you can simply call the

Bashir Alam6 min read
programming

HackerRank Solution: String Formatting

In this tutorial we will solve string formatting problem of python strings from hacker rank using python. We have covered 3 methods to solve this problem using

Bashir Alam4 min read
programming

HackerRank Solution: Designer Door Mat

In thus tutorial we will solve hacker rank problem on designer door mat using python3 with following 4 methods, Solution-1: Using the map function, Solution-2: Using user-defined functions, Solution-3: Using if-else …

Bashir Alam5 min read
programming

HackerRank Solution: Python Text Wrap

In this tutorial we cover 3 different methods to solve Python text wrap problem from hacker rank using Solution-1: Using for loop Solution-2: Using textwrap module Solution-3: Using join() method

Bashir Alam4 min read
programming

HackerRank Solution: Python Text Alignment

There are two methods to solve text alignment problem from Hacker Rank. 1. Using user defined function, 2. Using for loop.

Bashir Alam4 min read
programming

HackerRank Solution: Python String Validators

Python has built-in string validation methods for basic data. It can check if a string is composed of alphabetical characters, alphanumeric characters,

Bashir Alam5 min read
programming

HackerRank Solution: Python Find a string

In this challenge, the user enters a string and a substring. You have to print the number of times that the substring occurs in the given string. String

Bashir Alam4 min read
programming

HackerRank Solution: Summing the N series

There is a sequence whose term nth is:

Bashir Alam4 min read
programming

HackerRank Solution: Does Path Exist

Adam is standing at point (a, b) in an infinite 2D grid. He wants to know if he can reach point (x, y) or not. The only operation he can do is to move to

Bashir Alam4 min read
programming

HackerRank Solution: Python sWAP cASE [3 Methods]

You are given a string and your task is to swap cases. In other words, convert all lowercase letters to uppercase letters and vice versa.

Bashir Alam4 min read
programming

HackerRank Solution: String Split and Join

In Python, a string can be split on a delimiter.

Bashir Alam4 min read
programming

HackerRank Solution: Python What's your name? [3 Methods]

In this tutorial we are going to explore different methods to solve the hacker rank problem what's your name in Python

Bashir Alam3 min read
programming

HackerRank Solution: Python Mutations

There are 4 possible methdos to solve python mutations from hacker rank using a while loop, One-line solution, Using list comprehension, Using for loop

Bashir Alam6 min read
programming

How to archive username in Java?

To "archive the username" in Java means to store the username for later access and retrieval. This may mean storing the username in a variable, class field,

Deepak Prasad5 min read
programming

HackerRank Solution: Python Print Function

In this tutorial we cover different methods to solve python print function hackerrank solution

Bashir Alam4 min read
programming

HackerRank Solution: Finding the Percentage

The provided code stub will read in a dictionary containing key/value pairs of name: for a list of students. Print the average of the marks array for the

Bashir Alam5 min read
programming

HackerRank Solution: Python Nested Lists [4 Methods]

In this tutorial we will cover 4 different methods to solve python nested list hackerrank solution using different functions and modules.

Bashir Alam6 min read
programming

HackerRank Solution: Find the Runner-up Score!

In this tutorial we cover 4 different methods to solve find the runner up score hackerrank solution using different python functions and modules

Bashir Alam5 min read
programming

HackerRank Solution: List comprehensions

In this tutorial we explore 3 different methods to solve Python List Comprehension of Basic Data Types problem from Hacker Rank

Bashir Alam5 min read
programming

HackerRank Solution: Python Division

We can solve the Python division hackerrank problem using single or multiple print methods. There are 2 possible solutions.

Bashir Alam3 min read
programming

HackerRank Solution: Python Company Logo

company logo hackerrank solution python, company logo hackerrank solution python3, hackerrank solution for company logo in python

Bashir Alam4 min read
programming

HackerRank Solution: ginortS in Python

ginorts hackerrank solution, athlete sort hackerrank solution

Bashir Alam4 min read
programming

HackerRank solution: Python Triangle Quest 2

triangle quest hackerrank solution, triangle quest 2 hackerrank solution, triangle quest 2 hackerrank solution python3, triangle quest 2, triangle quest 2 hackerrank

Bashir Alam4 min read
programming

HackerRank Solution: Words Score in Python

Input format:

Bashir Alam7 min read
programming

HackerRank Solution: Python If-Else

This tutorial explains different solution to solve hackerrank problem Python if else from Introduction section.

Bashir Alam4 min read
programming

HackerRank Solution: The Minion Game

In this tutorial we will share multiple solutions for the minion game from hackerrank.

Bashir Alam6 min read
programming

HackerRank Solution: Python Arithmetic Operators

We can solve python arithmetic operators hackerrank problem using either single print or with multiple print statements

Bashir Alam3 min read
programming

HackerRank Solution: Classes - Dealing with complex numbers Python

Learn how to solve classes: dealing with complex numbers which is asked in HackerRank

Bashir Alam4 min read