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

Machine Learning (ML)

K means vs K means++

The main difference between K Means and K Means++ lies in the selection of the centroids around which the clustering takes place and k means++ removes the drawback of K means which is it is dependent on initialization of centroid.

Sachit Mishra
Software Engineering

Viewing the history of git commits (git log)

In this article, we have explored how we can view the history of git commits that is using git log. We have explored several different options that can be used along with "git log".

Nikita Masand Nikita Masand
Software Engineering

Undoing Local Changes in Git when in the Working area or Staging area

In this article, we have explored how to can undo Local Changes in Git when in the Working area or Staging area. We have demonstrated this with example and complete understanding.

Nikita Masand Nikita Masand
Software Engineering

Explaining Blockchain intuitively to a Five year old!

In this article, we have explained Blockchain intuitively so that a five year old can get the basic idea as well. We have covered concepts like decentralization, immutability, fraudulent transaction, consensus protocol and much more.

Nikita Masand Nikita Masand
Software Engineering

.norm() method of Numpy library in Python

In this article, you will know about vector norm and the method to apply them in python by using the Linear Algebra module of the NumPy library. In general, three types of norms are used: L1 norm, L2 norm and Vector Max Norm

Abhijit Tripathy Abhijit Tripathy
Algorithms

Maximum houses a Robber can rob

Given a list of non-negative integers representing the amount of money of each house, determine the maximum amount of money the robber can rob tonight without alerting the police. We have solved this problem using Dynamic Programming.

Priya Raut Priya Raut
Software Engineering

Unary and Binary Operations in C++

In this article, we have explored the different types of Unary and Binary Operations in C++ in depth. These includes common operators like increment (++) and decrement (--) along with all variants.

Disha Sharma
Software Engineering

Implementing Binary search in C++

We have explained in depth how to implement Binary Search in C++. We have covered 3 approaches: Recursive implementation, Iterative implementation and using STL functions.

Anuj Jhamb
Algorithms

Kadane's Algorithm for largest subarray sum

Kadane's Algorithm is commonly known for Finding the largest sum of a subarray in linear time O(N). We have presented 3 variants of Kadane's Algorithm along with in-depth explanation of basic ideas.

Raksha Jain
Software Engineering

Reducing Time limit of code in Java

In this article, we have explored how to make a Java code execute faster by handling Input and Output better. The ways we presented are Scanner class, BufferedReader class, User-defined FastReader Class and Reader Class.

Raksha Jain
Algorithms

Binary GCD Algorithm

Binary GCD algorithm or Stein's algorithm is an algorithm that calculates two non-negative integer's largest common divisor by using simpler arithmetic operations than the standard euclidean algorithm and it reinstates division by numerical shifts, comparisons, and subtraction operations.

Simrann Arora Simrann Arora
Software Engineering

String Class (java.lang.String) in Java

The java.lang.String class provides a lot of methods to work on string. By the help of these methods, we can perform operations on string such as trimming, concatenating, converting, comparing, replacing strings etc. We have explored it in detail.

Ritish Singh Ritish Singh
Software Engineering

Auto Key Cipher

Autokey (Autoclave) Cipher is a Symmetric polyalphabetic (Polyceaser) substitution cipher. This algorithm is about changing plain text letters based on secret key letters.

RAVI KANTH GOJUR RAVI KANTH GOJUR
Software Engineering

Play Fair Cipher

Play Fair Cipher was the first practical digraph substitution cipher. In play fair cipher unlike traditional cipher, we encrypt a pair/digraph of alphabets (digraphs) instead of a single alphabet.

RAVI KANTH GOJUR RAVI KANTH GOJUR
Algorithms

Finding the Largest Element in an Array

We are given an integer array of size N or we can say number of elements is equal to N. We have to find the largest/ maximum element in an array. The time complexity to solve this is linear O(N) and space complexity is O(1).

Meenakshi Kumar
Software Engineering

How is 'this' reference in Java used?

The 'this' keyword in Java is a reference ( which means it manages some relation ) to the current object where it is called. We have presented 6 usage of this keyword which includes referring to current class instance variable and much more.

Ritish Singh Ritish Singh
Machine Learning (ML)

Bernoulli Naive Bayes

Bernoulli Naive Bayes is used for discrete data and it works on Bernoulli distribution. The main feature of Bernoulli Naive Bayes is that it accepts features only as binary values like true or false, yes or no, success or failure, 0 or 1 and so on.

Namita Mutha
Software Engineering

begin() and end() in Array C++ STL

In this article, we have explored begin() and end() functions in Array container of C++ STL in depth. We have covered the basic idea of iterators as well as both functions deal with iterators.

Rudrakshi Soni Rudrakshi Soni
Software Engineering

Types of CSS layout

In this article, we have deep dived into the CSS layouts. CSS layouts are mainly used to enhance the beauty of the website and make the website responsive. The various CSS layouts are Normal flow, Flexbox, Grids, Floats, Positioning and Multiple-column layout.

Hari Sapna Nair Hari Sapna Nair
Machine Learning (ML)

How I mastered Machine Learning as a Fresher?

This is a complete guide by Shaurya Bhandari who went through the basics of Machine Learning as a fresher in College on his own. He explains the path he had taken so that you can follow it as well.

Shaurya Bhandari
Software Engineering

Different ways of Initializing multimap in C++

We have covered the different ways to initialize multimaps which includes inserting elements using make_pair, pair, initializer list, using another multimap, copy constructor and emplace_hint().

Harini Jeyaraman Harini Jeyaraman
Algorithms

Postman Sort

Postman sort works by sorting the integers of an array from their most significant digits to their least significant digits. It is a variant of radix sort.

Shweta Gurnani
Software Engineering

Counter Objects in Python

In this article, we have explored Counter Objects in Python in depth. Counter is a part of collections module and is a subclass of a dictionary which is used to keep a track off elements and their count.

SRISTI DAKSHIT
Machine Learning (ML)

VGG-11 Architecture

In this article, we have explored VGG-11 model architecture which has 11 layers namely 9 Convolution layers (with 5 MaxPool layers), 2 Fully connected layers and an output layer with softmax activation.

Sonali Gupta
Machine Learning (ML)

The Inception Pre-Trained CNN Model

This is an overview of the Inception pre-trained CNN model along with a detailed description about its versions and network architectures including Inception V1, V2, V3, V4 and Inception-ResNet.

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