×
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

Swap two sets (set::swap) in C++ STL

In this article, we will take a look into swapping two set containers in C++ Standard Template Library using swap method.

Harshita Sahai Harshita Sahai
Machine Learning (ML)

Hopfield Network

Hopfield Network is a recurrent neural network with bipolar threshold neurons. It consists of a set of interconnected neurons that update their activation values asynchronously.

Eklavya Chopra
Software Engineering

gets() vs fgets() in C and C++

gets() and fgets() are functions in C language to take input of string with spaces in between characters. gets suffer from buffer overflow which is solved by fgets

Harshiv Patel Harshiv Patel
Algorithms

Find number of subsets with sum divisible by given number M

Find the number of subsets with sum divisible by given number M. We solved this using a Dynamic Programming approach with time complexity O(N * M).

Siddharth Agarwal Siddharth Agarwal
Software Engineering

Types of CPU Scheduling algorithms

We explored different types of CPU Scheduling algorithms such as FCFS, SJF, SRTF, Round Robin, priority, multilevel queue and feedback queue scheduling.

Kshitiz Saini Kshitiz Saini
Software Engineering

Method Reference in Java

Method reference introduced in Java 8 release along with lambda expression as a mechanism to further shorten the lambda expressions containing a method call.

Navya Praniyath
Machine Learning (ML)

Luhn’s Heuristic Method for text summarization

The idea of Luhn’s Heuristic Method for text summarization is that any sentence with maximum occurrences of the highest frequency words(Stopwords) and least occurrences are not important to the meaning of the document

Ashutosh Vashisht Ashutosh Vashisht
Algorithms

Implement Least Recently Used (LRU) Cache

In this article, we have implemented Least Recently Used cache using 2 data structures: Doubly Linked Lists and Hash Map and compared LRU with FIFO cache.

Tanmay Maheshwari Tanmay Maheshwari
Software Engineering

ctype.h in C

ctype.h header file of the C Programming Language provide several functions that are used to testing different characters and changing some properties.

Amber Price
Software Engineering

Different ways to remove elements from vector in C++ STL

In this article, we will go through multiple ways to delete elements from a vector container in C++ STL like pop_back, pop_front, erase, clear, remove and more

Dilip Krishna
Software Engineering

Auto in C

Auto is a storage class/ keyword in C Programming language which is used to declare a local variable, forward declaration of nested functions and non-contiguous memory allocation.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Data Structures

Gap Buffer

Gap buffer is a data structure used to edit array of text in an efficient manner which is currently being edited. It is used in text editors.

Shivang Patel
Software Engineering

Canvas Fingerprinting

Canvas Fingerprinting is the most commonly used method of fingerprinting. It's one of the techniques that identify users based on device performance.

Dawit U
Software Engineering

Volatile in C

Volatile in C programming language is a keyword which is used with variables to inform the compiler not to apply any optimizations to code dealing with the variable.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Extern in C

Extern is a keyword in C programming language which is used to declare a global variable that is a variable without any memory assigned to it. It is used to declare variables and functions in header files.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

Register in C

Register is a keyword in C which suggests the system to use register as a memory for a variable instead of RAM. This accelerates the reading and writing of memory

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

_Bool in C

_bool is a keyword in C Programming language representing boolean data type. It is an alternative to bool in C.

OpenGenus Tech Review Team OpenGenus Tech Review Team
Machine Learning (ML)

Eigenfaces for Face recognition

In this article, we have explored EigenFaces in depth and how it can be used for Face recognition and developed a Python demo using OpenCV for it.

Yashwant Saini Yashwant Saini
Software Engineering

Methods to track users on the Web

In this article, we have discussed some of the most powerful methods used to track users on the web which includes caching, cookies, fingerprinting and more

Dawit U
Software Engineering

List of C Compilers (As early as 1973 and with the latest one at 2017)

We have listed all major C compilers that has been in use. Some compilers were developed in 1980s (GNU GCC) while the recent ones are from 2017 (AOCC).

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

#if directive in C / C++

#if is a preprocessor directive in C to define conditional compilation. It can be used just like an if condition statement which impacts the compilation process

OpenGenus Tech Review Team OpenGenus Tech Review Team
Software Engineering

emplace_hint() in Set C++ STL

emplace_hint() is a method of Set container in C++ STL to insert unique elements in a set at a desired position while maintaining the ascending order property of the set.

Harshita Sahai Harshita Sahai
Software Engineering

emplace() in Set C++ STL

Emplace is a function of set container in C++ STL which is used to insert elements in the set. It is considered to be a faster alternative to insert().

Harshita Sahai Harshita Sahai
Software Engineering

Scanf and Printf in C

Printf() and Scanf() are inbuilt library functions in C language that perform formatted input and formatted output functions. These functions are defined and declared in stdio.h header file.

Rishabh Singh
Software Engineering

Working with Navigator property of DOM

In this article, we will look into navigator property of window object of a web document and use it to get information about the browser and load different code depending on browser.

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