×
Home Discussions Write at Opengenus IQ
×
  • DSA Cheatsheet
  • HOME
  • Track your progress
  • Deep Learning (FREE)
  • Join our Internship 🎓
  • RANDOM
  • One Liner

Harshit Raj

Student at VIT Bhopal | App Development | Open Source Contributor | Front End Web Development | Tech Content Writer | Game Development Unity | and always observing to find solutions

Kothri Kalan, Madhya Pradesh •
23 posts •
Search Algorithms

OOP design for Search Algorithms

In this article, we have presented good implementation designs considering there are multiple search algorithms and different data types.

Harshit Raj
Sorting Algorithms

OOP design for Sorting Algorithms

In this article, we have presented good implementation designs considering there are multiple sorting algorithms and different datatypes.

Harshit Raj
binary search

K-th Smallest Number in Multiplication Table [Solved]

In this article, we have solved the problem of finding the K-th Smallest Number in Multiplication Table. This involve the concept of Binary Search.

Harshit Raj
Algorithms

Find K-th Smallest Pair Distance [Solved]

In this article, we have solved the problem of finding the K-th smallest pair distance. This involve the concept of Binary Search.

Harshit Raj
Algorithms

Maximum Gap [Solved]

In this article, we are going to see the interesting solution to the problem - "Maximum Gap". This will involve the concept of Bucket Sort and Radix Sort.

Harshit Raj
cheatsheet

Cheatsheet for Search algorithms

This is the complete cheatsheet for all the Searching Algorithms that will act as a summary of each concepts including time complexity, key weakness and strengths.

Harshit Raj
Algorithms

Cheatsheet for Selection Algorithms (selecting K-th largest element)

This is a cheatsheet for different selection algorithms for selecting K-th largest or smallest element.

Harshit Raj
cheatsheet

Cheatsheet for sorting algorithms

This is the complete cheatsheet for all the important sorting algorithms that comprises that will act as a summary of each concepts including time complexity, key weakness and strengths.

Harshit Raj
Algorithms

Height Checker Problem

In this article, we have solved the Height Checker Problem with two different approaches. This involve the concept of using Counting Sort efficiently.

Harshit Raj
Algorithms

H-index problem

Calculate the researcher's h-index from an array of integer citations, where citations[i] is the number of citations a researcher obtained for their ith work.

Harshit Raj
C Programming

Matrix Multiplication in C

In this article, we are going to perform the matrix multiplication operation using C language. We will also be learning how to optimize it using Strassen's algorithm.

Harshit Raj
recursion

Static and Global Variables in Recursion

In this article, we are going to see how recursion uses Static and Global Variables with the help of examples.

Harshit Raj
C Programming

Copy struct in C [Shallow & Deep Copy]

In this article, we have explained how to copy a struct in C Programming Language to another struct. We have covered different cases including Shallow and Deep copy.

Harshit Raj
C++

Struct inheritance in C++

One of the most important concepts in object-oriented programming is inheritance. Inheritance allows us to define a class or a structure (struct) in terms of another class, which makes it easier to create and maintain an application.

Harshit Raj
C++

ifstream in C++

In this article, we have explored the idea of ifstream in C++ and explained how it is used with C++ code examples.

Harshit Raj
C++

Different ways to delete elements in list in C++

In this article, we will explore Different ways to delete elements in list in C++ such as pop_front(), pop_back(), clear(), removeif() and much more.

Harshit Raj
C Programming

typedef struct in C [Explained]

In this article, we have explored the concept of typedef struct in C Programming Language which brings in two core concepts. We have explained the ideas with code examples and differences between typedef struct and struct.

Harshit Raj
Algorithms

Magic Dictionary Problem [Solved]

In this article we are going to discuss a famous Leetcode medium level problem called "Implement Magic Dictionary" problem. This will involve the concept of Hash Table/ Map and Tries.

Harshit Raj
List of Mathematical Algorithms

Brocard’s conjecture

The Brocard conjecture states that the number of prime numbers lying between the squares of two consecutive prime numbers is four or more.

Harshit Raj
C++

istringstream in C++

In this article we are going to learn about istringstream and explore how to use it for various input cases using C++ code examples.

Harshit Raj
recursion

Non-Tail Recursion

In this article, we will be in depth discussing about Non-Tail Recursion. The basic algorithm, its time complexity, space complexity, advantages and disadvantages of using a non-tail recursive function in a code.

Harshit Raj
Algorithms

Shannon Fano coding

In this article we are going to talk about the classic data compression algorithm called "Shannon-Fano code".

Harshit Raj
C Programming

Initialize struct in C [3 ways]

In this article, we have explored how to initialize struct in C Programming Language using different techniques such as designated initializer, dot operator and more.

Harshit Raj
OpenGenus IQ © 2025 All rights reserved â„¢
Contact - Email: team@opengenus.org
Primary Address: JR Shinjuku Miraina Tower, Tokyo, Shinjuku 160-0022, JP
Office #2: Commercial Complex D4, Delhi, Delhi 110017, IN
Top Posts LinkedIn Twitter
Android App
Apply for Internship