×
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.

Software Engineering

Delete files that have not been accessed recently using Python

In this article, you will learn how to use the functionality provided by python modules to get the last access time of a file, recursively traversing the directories and deleting files.

Devansh Thapa Devansh Thapa
Software Engineering

Advanced Bitwise Operations in Python

In this article, we have explored advanced bitwise operations in Python. Some of these operations include check if Two Numbers are the Same, add Two Numbers, multiply Two Numbers, swap Two Numbers and check Divisibility of a Number.

Lyndi Castrejon Lyndi Castrejon
Machine Learning (ML)

Performance metrics in Classification and Regression

In this post, we will look at different performance metrics for classification and regression. For regression, metrics are Mean absolute error, Mean squared error, R-Square and many more. For classification, the metrics are accuracy, precision, recall and many more.

Akshat Maheshwari Akshat Maheshwari
Software Engineering

Put array in register in C/ C++

Placing an array in a register can improve performance significantly but only statically allocated array can be placed in a register explicitly as we cannot deal with memory location directly. We have explained this in detail.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Creating a custom Node.js module

In this article, we have developed a custom Node.JS module to capitalize a string and have also published our module to NPM. We have illustrated the ideas step by step.

Pranjal Srivastava Pranjal Srivastava
Software Engineering

I Promise only in JavaScript! But Why?

Promise is the keyword used for creating promises in JavaScript and is used to manage multiple asynchronous events. We have explained it in depth along with a comparison with callback.

Abhiram Reddy Duggempudi Abhiram Reddy Duggempudi
Software Engineering

Variadic function in C/ C++

Variadic functions in C and C++ are the functions that can take any number of arguments. This is a central part of utilities like printf. We have explained this in detail with examples.

Khitish Panigrahi Khitish Panigrahi
Software Engineering

How to convert Word document to PDF in JavaScript?

In this article, we have explored how to convert a Word document to PDF in JavaScript. Popular methods include using libraries like awesome-unoconv, libreoffice-convert and docx-pdf.

Prateek Sharma
Algorithms

Longest Palindromic Substring using Dynamic Programming

In this article, we have explored the longest palindromic substring problem for which brute force takes O(N^3) time while a Dynamic Programming approach takes O(N^2) time.

K. Sai Drishya K. Sai Drishya
Software Engineering

Rounding Functions in C / C++

In this article, we have focused on different rounding functions in C and C++ such as floor, ceil, round, trunc and fmod. We have explained each in detail with C++ code examples.

Ankit Rustagi Ankit Rustagi
Software Engineering

Variables in C

Variable in C is a name of a memory location which holds a particular data as defined in the program. We have covered all points related to variables and the different types of variables as well.

Subhash Bhandari
Software Engineering

Archiving in Python using shutil

In this article, we are going to learn about using the shutil module in python to create an archive consisting of several smaller files. This is often required when we want to distribute the source code of any complex software applications which might contain hundreds of different files.

Arna Maity Arna Maity
Machine Learning (ML)

Hindi OCR (Optical Character Recognition)

Hindi OCR is basically a model which is used to recognize handwritten Hindi (Devanagari) characters. We have demonstrated this with a custom CNN model.

Apoorva Kandpal Apoorva Kandpal
Software Engineering

Flask SQLAlchemy for Beginners

SQLAlchemy is a toolkit and object relational mapper (ORM) that allows programmers to take hold of the power of SQL without all of the trouble of configuring their Python app to communicate correctly.

Lyndi Castrejon Lyndi Castrejon
Algorithms

Number of ways to reach a given number using increments of 1 and 2

The problem we will try to solve is to find the Number of ways to reach a given number (or a score in a game) using increments of 1 and 2 with consecutive 1s and consecutive 2s allowed. This is solved in linear time O(N) using Dynamic Programming.

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

Understand AdaBoost and Implement it Effectively

In this article we will see how AdaBoost works and we will see main advantages and disadvantages that lead to an effective usage of the AdaBoost algorithm.

Naseem Sadki
Machine Learning (ML)

Lexicon based Sentiment Analysis

Lexicon-based Sentiment Analysis techniques, as opposed to the Machine Learning techniques, are based on calculation of polarity scores given to positive and negative words in a document.

Chaitanyasuma Jain Chaitanyasuma Jain
Software Engineering

Chrono Library in C++

Chrono library is also used to measure time elapsed during execution of a C++ program. It can measure the time in seconds, milliseconds , micro seconds and nano seconds.

Khitish Panigrahi Khitish Panigrahi
Software Engineering

Build Management

Software build is the process of converting source code into executable application or program. Build Management plays very important role in releasing an application.

Kshitiz Saini Kshitiz Saini
Software Engineering

Shutil module in Python

Shutil module in Python offers a range of high level operations and functions to work with files and collections of files. The functionalities provided are copying a file, moving a file, disk usage, directory removal and many more.

Devansh Thapa Devansh Thapa
Software Engineering

Module in Python

A module in Python is a library which is a collection of various utilities/ functions which can be loaded in external Python code and used accordingly. For example: One module in Python is string.

Gaurav Patel Gaurav Patel
Software Engineering

Writing to a File in C++

In this article, we have explored the way to write to a file in C++ in depth and explored opening and closing a file, appending data to the front of a file and appending data to end of a file (default).

Yash Kedia Yash Kedia
Machine Learning (ML)

Simplifying "Intriguing properties of neural networks"

In this article, we have explored the paper "Intriguing properties of neural networks" by Christian Szegedy in depth as it is an influential paper which introduces two key properties that define Neural Networks.

Murugesh Manthiramoorthi Murugesh Manthiramoorthi
Machine Learning (ML)

Understanding the VGG19 Architecture

VGG19 is a variant of VGG model which in short consists of 19 layers (16 convolution layers, 3 Fully connected layer, 5 MaxPool layers and 1 SoftMax layer). There are other variants of VGG like VGG11, VGG16 and others. VGG19 has 19.6 billion FLOPs.

Aakash Kaushik Aakash Kaushik
Software Engineering

Using the Pathlib Module in Python

Pathlib module was introduced in Python 3.4 to handle file paths better across different Operating Systems. It solves the problems and bugs previously faced with os.path module to achieve similar tasks.

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