Program On Queue In C

Have you ever seen a program on queue in C? No. Then you are in the right place. Today we will write a program in C that will use the queue data structure. What is Queue? In C, a queue is essentially a linear data structure for managing and storing data components. First In, First … Read more

Regular Expression Matching Leetcode Python Solution

LeetCode has a Medium coding Problem in Its’ Algorithm Section “Regular Expression Matching Leetcode Python”. Today We are going to solve this problem. LeetCode Link of the Problem is HERE. Question Given an input string s and a pattern p, implement regular expression matching with support for ‘.’ and ‘*’ where: ‘.’ Matches any single character.​​​​ ‘*’ Matches zero or more of the preceding … Read more

Palindrome Number Leetcode Python – Python Solutions

LeetCode has an Easy coding Problem in Its’ Algorithm Section in Python “Palindrome Number Leetcode Python”. Today We are going to solve this problem. LeetCode Link of the Problem is HERE. Question Given an integer x, return true if x is palindrome integer. An integer is a palindrome when it reads the same backward as forward. For example, 121 is a palindrome while 123 is not. Examples … Read more

Basic Data Types HackerRank solution in C++

Today we will give you the Basic Data Types HackerRank solution in C++. There are primitive data types and abstract data types in any programming language to learn more about them visit HERE. Before going towards the problem let’s see the format specifiers and common bit widths of different data types. Data Types Format Specifiers Common … Read more

C++ Programming Solutions – Encrypt String

Today we will give you the C++ Programming Solution of Encrypting a String. There are many types of encrypting a string some of them are HERE. We are going to encrypt a simple String in C++. The Coding Problem and its Solution are below. Question Kathy is a scientist who is developing a machine that creates 5-character long string code. She prefers to encrypt the strings rather than save them as they are. She’s requested you to create software that would accept a 5-character string as input and encrypt it in the format she’s provided. You must look for the letters in the odd locations of the string and, if they are vowels, you must replace them with  _ (underscore). Example … Read more

Can you get the loop? – Codewars C++ Solution

Codewars has been a great platform for computer science students to nourish their coding skills. There are great problems to solve on topics like Data Structures, Algorithms, simple loops, etc. Codewars provide coding exercises in almost every programming language. We are going to solve a problem related to Linked List in Codewars C++  programming language. … Read more