×
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

MineSweeper Game in React.Js

In this tutorial, we have explained how to build a MineSweeper Game in React.Js. We have explained the rules of minesweeper and have explained the design of the app like 3 components: app, board and cell.

Devansh Chaubey Devansh Chaubey
Machine Learning (ML)

Introduction to GPT models

Generative Pre-Training (GPT) models are trained on unlabeled dataset (which are available in abundance). There are different variants like GPT-1, GPT-2 and GPT-3 which we have explored.

Zuhaib Akhtar Zuhaib Akhtar
Data Structures

Splay Tree

Splay trees are Self adjusting Binary Trees with additional property that recently accessed elements as kept near the top and hence, are quick to access next time.

Ayush Sonare
Software Engineering

Function scope in Python

Function scope in Python means how a particular function is accessible from different components depending on LEGB (Local -> Enclosing -> Global -> Built-in) rule.

Sushma Narayan Hegde
Algorithms

Find number of substrings with same first and last characters

You are given a string lets say "S" , you need to find the number of all contiguous substrings (part of "S") starting and ending with the same character.

Shubham Kumar
Software Engineering

Different ways to print in C

Different ways to print in C are Formatted and Unformatted Output Functions, Printing using Formatted Function - printf(), putchar() and puts(). We have covered it with C code examples.

Devika Nair
Algorithms

Algorithms for Calculating Day of Week

Some of the Algorithms for Calculating Day of Week are: Tomohiko Sakamoto Algorithm, Gausses Algorithm and Wang's Algorithm. We have covered the basics of Julian and Georgian calender as well.

Anjali Chaturvedi Anjali Chaturvedi
Algorithms

Set Partition Problem (Same sum)

Set Partition Problem: determine whether a given set can be partitioned into two subsets such that the sum of elements in both subsets is same. The time complexity of solving this using Dynamic Programming takes O(N x SUM) time.

Shruti
Software Engineering

Linked List implementation in C language

We have designed and implemented Linked List in C Programming Language. We have create a Node structure in C and implemented all Linked List operations in C.

Subhash Bhandari
Software Engineering

Linked List Implementation in Java

We learn how to implement and design Linked List in Java using Object Oriented Programming (OOP) concepts. We have provided the complete Java implementation of Linked List.

William Fang
Algorithms

Wildcard Pattern Matching (Dynamic Programming)

In the Wildcard Pattern Matching problem, we find if a pattern matches a given input string. We will be using a Dynamic Programming approach with the time complexity of O(m * n), here m and n represent length of string and pattern respectively.

Shalini Jaiswal
Software Engineering

SHA1 Algorithm (+ JavaScript Implementation)

In this article, we have explained the algorithmic steps in SHA1 Algorithm in depth. We have demonstrated an example by implementing SHA1 algorithm in JavaScript.

Mohammed Ajmal Siddiqui
Machine Learning (ML)

Filtering spam using Naive Bayes

Naive Bayes is a Bayes Theorem-based probabilistic algorithm used in data analytics for email spam filtering. In this article, we have explored the step to filter spam using Naive Bayes in depth.

Saurabh Prakash Giri
Algorithms

Binary Search in a Linked List

You are given a sorted singly linked list and a key (element to be searched), find the key in the linked list using binary search algorithm. The challenge is to find the middle element as Linked List does not support random access.

Shubham Kumar
Software Engineering

Capitalize letters in Python

In this article, we have covered how to capitalize the first letter using capitalize() in Python, convert the entire string to upper-case, convert the entire string to lower-case and capitalize first letter of each word.

Rohit Topi
Machine Learning (ML)

Disadvantages of GANs || Am I real or a Trained Model to write?

We have explored the problems with GANs in this article and have divided them into two major parts: General Problems with GANs and Technical Disadvantages of GANs.

Sneha Gupta
Machine Learning (ML)

Elastic Net Regularization

Elastic Net Regularization is a regularization technique that uses both L1 and L2 regularizations to produce most optimized output. This is one of the best regularization technique.

Ayush Mehar
Software Engineering

Implementation of ls command in C

In this article, we have implemented the ls command in C using dirent header library. ls command is used to list the files and directories in a given location.

Sahil Silare Sahil Silare
Machine Learning (ML)

BERT and SEARCH: How BERT is used to improve searching?

In this article, we have explored how BERT model can be used to improve search results in search engines like Google Search, Bing and others.

Zuhaib Akhtar Zuhaib Akhtar
Problems on Binary Tree

Finding Diameter of a Tree using DFS

In this article, we will be discussing how to find the diameter of a tree or graph using Depth First Search (DFS).

Hrithik Shrivastava Hrithik Shrivastava
Problems on Binary Tree

Diameter of a Binary Tree

In this problem, we are given input as the reference to the root of a binary tree. We need to find the diameter of the tree. We find the diameter using recursion and Depth First Search (DFS).

Amruta U. Koshe Amruta U. Koshe
Machine Learning (ML)

Introduction to Multilingual BERT (M-BERT)

We explored what is Multilingual BERT (M-BERT) and see a general introduction of this NLP model.

Zuhaib Akhtar Zuhaib Akhtar
Software Engineering

Check if file exists in Python

In this article, we have explored different ways to check if a file exists in Python. We have explored 6 different methods like try catch block, isfile, pathlib and much more.

Boddu Venkata Sai Ganesh
Algorithms

Understand Randomized Algorithms once and for all

In this post, we discuss what randomized algorithms are, and have a look at the Solovay-Strassen Primality Tester to see what they are like.

Divij Kulshrestha
Machine Learning (ML)

Heaps' law in NLP for Frequency of Words

Heap's Law in NLP is a relation between the number of unique words to the total number of words in a document. It is, also, known as Herdan's law.

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