×
Home Discussions Write at Opengenus IQ
×

Search anything:

  • DSA Cheatsheet
  • HOME
  • Track your progress
  • Deep Learning (FREE)
  • Join our Internship 🎓
  • RANDOM
  • One Liner

OpenGenus IQ, an open-source Computer Science Publication House, is driven by 2500+ BSc/MSc/PhD holders globally, exploring Algorithms, Deep Learning, System Design, and more since 2017.

C++

#pragma omp parallel for

In this article, we have explained the concept behind `#`pragma omp parallel and presented the idea with C++ code examples. We have explained how it is different from pragma omp parallel and pragma omp for.

Geoffrey Ziskovin Geoffrey Ziskovin
C++

#pragma omp critical [explained with example]

In this article, we have explained the concept of #pragma omp critical with a C++ code example, when it is used and the difference between omp critical and omp single and atomic.

Geoffrey Ziskovin Geoffrey Ziskovin
Time Complexity

Time and Space Complexity of Selection Sort on Linked List

In this article, we will learn about the space and time complexity of the Merge sort algorithm on Linked List using Mathematical analysis of various cases.

Harsit Agarwalla
HTML

Types of HTML file extensions

There are 4 different types of HTML file extensions and the extension denote a specific feature enabled in the HTML web page. In this article, we have explored all different types of HTML file extensions in depth.

Benjamin QoChuk, PhD Benjamin QoChuk, PhD
C++

Different ways to convert array to set in C++

In this article, we will discuss the three most common ways to convert an array into a set in C++.

Jerry Zhu
git

Git delete master branch

In this article, we have presented the technical details why deleting a master branch is not straight-forward and presented the commands to delete the master branch of any Git repository (local or remote) and also, covered the case when the repository is hosted at GitHub, GitLab or BitBucket.

Benjamin QoChuk, PhD Benjamin QoChuk, PhD
Machine Learning (ML)

Deep Belief Network

Deep Belief Networks are unsupervised learning models that overcome these limitations. We will explore them in details in this article.

CHERIFI Imane
C++

Sort Vector of Custom Object in C++ STL

In this article, we will sort a vector having custom object as elements of vector in C++ using comparator.

Harsit Agarwalla
System Design

Liskov Substitution Principle

In this article, we have explained the concept of Liskov Substitution Principle in depth with code examples and code design.

FOUOTSOP FOSSO Patrick
c#

Console Guessing Game in C#

This article describes the process of creating a guessing game through a Console Application using C#. By the end of reading this, you will know how to handle user output/input, exception handling, while loops, and selection statements with if/else if/else.

Troy Martin Troy Martin
C++

Different ways to convert vector to set in C++

In this article, we have explored different ways to convert vector to set in C++.

FOUOTSOP FOSSO Patrick
Randomized Algorithm

Majority Element using randomized algorithm

This article at OpenGenus introduces a randomized algorithm for finding the majority element. On average it has the same runtime, but when the size of the array increases exponentially, this algorithm is much much faster probabilistically.

Ananyapam De
C++

KMP_AFFINITY [complete guide]

KMP_AFFINITY is an environment variable that is used to control how hardware threads are distributed in relative to each other. This is used along with KMP_HW_SUBSET for finer control over the threads.

Geoffrey Ziskovin Geoffrey Ziskovin
git

Git delete remote branch [2 methods]

In this article, we have explored 2 different ways to delete a remote branch in Git repository.

Benjamin QoChuk, PhD Benjamin QoChuk, PhD
Linux

Unzip all ZIP files together at once in Linux [5 methods]

While coding, we download several data in ZIP format. We need to extract these files to use them. If there are multiple ZIP files, extract each one separately is a tedious process. To ease this in Linux, we have presented over 5 methods to unzip multiple ZIP files together at once.

Benjamin QoChuk, PhD Benjamin QoChuk, PhD
List of Mathematical Algorithms

Fermat number and Pepin's test

In this article, we have explored the concept of Fermat number, demonstrated C++ implementations to compute and verify fermat number and explained Pepin's test for Fermat number.

Gabriel
Algorithms

Sparse matrix multiplication

In this article, we aim to study sparse matrices and the sparse matrix multiplication.

Sai Siri Chandana Namala Sai Siri Chandana Namala
Python

Python lambda if else

In this article, we have presented how to use if else elif as a part of Lambda function in Python. We have covered different cases like if, if else and if else elif with Python code examples.

Ned Nedialkov Ned Nedialkov
Python

Range len-1 in Python

In this article, we have explained the Python code snippet "range(len(list)-1, -1, -1)" and other variants of the code snippet.

Benjamin QoChuk, PhD Benjamin QoChuk, PhD
Python

[FIXED] TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'

In this article, we have explained the reason behind the Python runtime error "TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'" and presented two ways to fix the error.

Ned Nedialkov Ned Nedialkov
List of Interview Questions

Interview Questions on Software Development Life Cycle models (SDLC)

In this article, we have presented the Interview Questions on Software Development Life Cycle models with detailed answers.

Astha Jain Astha Jain
HTML

What is SHTML?

SHTML is a file extension (.shtml) that denotes that the current file is an HTML document (.html) with an extra feature known as Server Side Includes. This was a widely used feature in early 2010s.

OpenGenus Tech Review Team OpenGenus Tech Review Team
git

Git delete local branch [3 methods]

In this article, we have presented 3 methods to delete local git branches along with git branch diagrams so that you can visualize the process. We have explained the case of deleting main local branches as well.

Benjamin QoChuk, PhD Benjamin QoChuk, PhD
Culture

Lingyu Jiang

Lingyu Jiang is one of the top Competitive Programmer from China who is known for winning Silver medal at Google Code Jam 2022 and Bronze medal at Facebook Hacker Cup 2021. She is known as "jiangly" online.

OpenGenus Tech Review Team OpenGenus Tech Review Team
C++

Convert vector to string in C++ [6 methods]

In this article, we have explored different ways of converting vector to string in C++.

SHIVAM TRIPATHI
OpenGenus IQ © 2025 All rights reserved â„¢ [email: team@opengenus.org]
Top Posts LinkedIn Twitter