×
Home Discussions Write at Opengenus IQ
×

Search anything:

  • DSA Cheatsheet
  • HOME
  • Jobs
  • About
  • One Liner
  • RANDOM
  • Track your progress
  • Deep Learning (FREE)
  • Join our Internship 🎓
  • AI Engineering
  • Scholarship
  • Campus Ambassador

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.

Software Engineering

Vector::size() in C++ STL

Vector::size() in C++ STL is used to get the size of a vector container that is the number of elements it has. We have compared it with empty() and capacity() functions as well which are related.

Riya Tyagi
Software Engineering

Implementing Backdoor in Node.JS

Backdoor is a exploit in web application that makes it vulnerable and allows unauthorized access. In this article, we will explore how Backdoor is implemented in a Node.JS application using child_process library.

Pranjal Srivastava Pranjal Srivastava
Algorithms

Time bounds for selection

In this article, we have discussed the paper titled "Time bounds for selection" submitted by Blum and others. It presents PICK algorithm for the problem which is "Given an array of n integers, we have to pick the ith smallest number". It takes no more than 5.4305 * n comparisons.

K. Sai Drishya K. Sai Drishya
Machine Learning (ML)

Sobel Filter/ Operator for Edge Detection

Sobel Filter/ Operator is a filter used in Convolution that is used to detect edges in an image. This is one of the fundamental approaches in Image Processing/ Machine Learning to detect edges.

Annie Lee Annie Lee
Software Engineering

Different ways to delete elements from Stack container in C++ STL

Stack container in C++ STL uses Deque container internally. So, the pop() operation in stack actually calls pop_back() function in the internal deque container. We will explore ways to delete elements from a stack.

Deepak Tiwari
Software Engineering

Get Started with Flutter App Development

We have explored the basic steps to create a simple application using Flutter which is a mobile application development framework.

Shubham Kumar Shubham Kumar
Machine Learning (ML)

Everything about Pooling layers and different types of Pooling

We have explored the idea and computation details behind pooling layers in Machine Learning models and different types of pooling operations as well. In short, the different types of pooling operations are Maximum Pool, Minimum Pool, Average Pool and Adaptive Pool.

Priyanshi Sharma Priyanshi Sharma
Algorithms

Number of distinct elements in a given range

This is a problem in which we have an integer array which contains some elements and our job is to find out number of distinct elements in a given range. We have solved this using three methods with the most efficient approach being a hashing technique with linear time complexity O(N).

Shujaa Ahmad Shujaa Ahmad
Data Structures

Dynamic Stack

Dynamic Stack, just like Dynamic Array, is a stack data structure whose the length or capacity (maximum number of elements that can be stored) increases or decreases in real time based on the operations (like insertion or deletion) performed on it.

Aarushi Ghadiya
Python

Node structure of different trees in Python

We have explored the node structure in Python of different trees in data structure. This gives fundamental idea of implementing such trees in Python. Some of the trees we explored are Binary Tree, Binary Search Tree (BST), AVL Tree, B Tree, B+ Tree, Red-Black Tree, Treap, Splay Tree and R Tree.

Avishi Gupta
Machine Learning (ML)

Linear Discriminant Analysis (LDA)

The process of predicting a qualitative variable based on input variables/predictors is known as classification and Linear Discriminant Analysis (LDA) is one of the techniques, or classifiers. We have explained the inner workings of LDA for dimensionality reduction.

Ashish Kumar Sinha Ashish Kumar Sinha
Algorithms

Connected Component Labeling

This article covers: Connected Components (also known as Connected Component Analysis, Blob Extraction, Region Labeling, Blob Discovery or Region Extraction), Connected Component Labeling, Algorithms and an Example of Applying in Python using OpenCV.

Yash Joshi Yash Joshi
Machine Learning (ML)

What is Linear Regression?

Linear Regression is regression technique modelling relationship between dependent variable(y) and one or more independent variables(x) by using a linear approach.

Aditya Mangla
Algorithms

Run Length Encoding

Learn more about Run Length encoding which is a lossless data compression algorithm, supported by many bitmap file formats. In short, it picks the next unique character and appends the character and it’s count of subsequent occurrences in the encoded string.

Sonali Singhal
Software Engineering

Different ways to initialize a queue in C++ STL

In this article, we have explored different ways to initialize a queue in C++ Standard Template Library (STL). There are three ways to initialize Member functions for inserting elements, Container objects and another Queue.

Tushti
Algorithms

Breadth first search (BFS)

Breadth first search (BFS) is one of the most used graph traversal techniques where nodes at the same level are traversed first before going into the next level. Queue is used internally in its implementation.

Sourajeet Mohanty Sourajeet Mohanty
Algorithms

Knuth-Morris-Pratt (KMP) vs Boyer Moore Pattern Searching algorithm

In this article, we have explored the difference between two popular string pattern searching algorithms: Knuth-Morris-Pratt (KMP) vs Boyer Moore Pattern Searching algorithm.

Sweta Behera
Software Engineering

Defining a 2D vector in C++

In this article, we have explored the different ways of defining a 2D vector in C++

Raghav Somani
Software Engineering

delete vs delete[] vs free in C++

In this article, we will explore the difference between delete, delete[], free keywords of C++ which are often confused with each other and sometimes wrongly used leading to the errors in one's program.

Rasika Kedia
Software Engineering

<datalist> element in HTML

Datalist element in HTML is used to specify a set of options/suggestions for the input Element and thus provide a dropdown to choose from , based on user input.

FAHAD ISRAR FAHAD ISRAR
Software Engineering

Callbacks in JavaScript

A callback function in JavaScript is function where a function passed as an argument to the original function. It is an useful feature in JavaScript to handle asynchronous operations and much more.

Abhiram Reddy Duggempudi Abhiram Reddy Duggempudi
Software Engineering

Learn DOM by building a Roll the Dice game

In this article, we will introduce you to important DOM concepts by building roll the dice game. This article will be divided into five core sections so that you can follow along.

Shannon Zhong Shannon Zhong
Machine Learning (ML)

Practical Black box Attacks against Machine Learning

There are several techniques which can be used to fool any Machine Learning model without having any information regarding the model like model architecture or training dataset. We have explored an influential research regarding this topic.

Apoorva Kandpal Apoorva Kandpal
Software Engineering

Boolean and None in Python

"if x" and "if x is not None" are not equivalent - the proof can be seen by setting x to an empty list or string. In this article, we have explored the two important concepts namely boolean and none in Python.

Annie Lee Annie Lee
Machine Learning (ML)

MaxPool vs AvgPool

In this article, we have explored the difference between MaxPool and AvgPool operations (in ML models) in depth. In short, in AvgPool, the average presence of features is highlighted while in MaxPool, specific features are highlighted irrespective of location.

Priyanshi Sharma Priyanshi Sharma
OpenGenus IQ © 2026 All rights reserved â„¢ [email: team@opengenus.org]
Top Posts LinkedIn Twitter