×
Home Discussions Write at Opengenus IQ
×
  • About
  • Track your progress
  • Deep Learning Projects
  • Python Projects
  • Join our Internship 🎓
  • RANDOM
  • 100+ Graph Algorithms
  • 100+ DP Problems
  • 50+ Linked List Problems
  • 50+ Array Problems
  • One Liner
  • 50+ Binary Tree problems
  • Home
  • Rust Projects
Harshita Sahai

Harshita Sahai

Maintainer at OpenGenus | Previously Software Developer, Intern at OpenGenus (June to August 2019) | B.Tech in Information Technology from Guru Gobind Singh Indraprastha University (2017 to 2021)

South Delhi, India •
50 posts •
Machine Learning (ML)

Compare two different Audio in Python

In this article, we have explored how to compare two different audio in Python using librosa library.

Harshita Sahai Harshita Sahai
Software Engineering

equal_range() in Set C++ STL

equal_range() is a built in function for Set container in C++ STL which is used to determine the range of a number or key value passed as a parameter.

Harshita Sahai Harshita Sahai
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
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

set::rbegin() and set::rend() in C++ STL

In this article, we will explore the rbegin and rend function of set container in C++ STL and use examples to demonstrate different use cases like reverse traversal

Harshita Sahai Harshita Sahai
Software Engineering

set::begin and set::end in C++ STL

In this article, we will explore the begin and end function of set container in C++ STL and use examples to demonstrate different use cases.

Harshita Sahai Harshita Sahai
Software Engineering

An introduction to libROSA for working with audio

In this article, we will learn how to use Librosa and load an audio file into it, Get audio timeline, plot it for amplitude, find tempo and pitch, Compute mel-scaled spectrogram, time stretch and remix an audio

Harshita Sahai Harshita Sahai
Software Engineering

Learn about basics of Audio as a Data

In this article, we will explore various aspects about audio like different formats, features and representation with code demonstrations.

Harshita Sahai Harshita Sahai
Software Engineering

Type Casting in C++

Learn about type casting in C++ where data types can be converted automatically by compiler, explicitly converted by user and by using the cast operator.

Harshita Sahai Harshita Sahai
Software Engineering

Sorting in C++ using std::sort()

With Standard template library available in C++, many functions are easier to implement. One of them present is sort function as well which we are going to discuss.

Harshita Sahai Harshita Sahai
Software Engineering

Creating a Set in C++ STL

In this article, we took a look at creating a set in C++ Standard template library in different ways.

Harshita Sahai Harshita Sahai
Software Engineering

Understanding Singleton Design Pattern in C++ with 4 techniques

Singleton pattern in C++ is a design pattern which prevents multiple objects of a class to exist. This is a very useful and widely used design pattern

Harshita Sahai Harshita Sahai
Software Engineering

Null Object Design Pattern in C++

Null object pattern is a design pattern that simplifies the use of dependencies that can be undefined. This is achieved by using instances of a concrete class that implements a known interface, instead of null references.

Harshita Sahai Harshita Sahai
Software Engineering

Understanding Observer Pattern in C++ in depth

The Observer Pattern is a design pattern where changes in one object can be notified to other objects. This is important as with this, we can use objects that have dependency

Harshita Sahai Harshita Sahai
Software Engineering

Understanding Abstract Factory Pattern in C++ with an example

Abstract factory pattern provides a framework that allows to create objects that follows a pattern. So at runtime, abstract factory is coupled with any desired factory which can create objects of desired type.

Harshita Sahai Harshita Sahai
Software Engineering

Functors in C++

Function objects are another example of the power of generic programming and the concept of pure abstraction. We could say that anything that behaves like a function is a function. So, if we define an object that behaves as a function, it can be used as a function as well.

Harshita Sahai Harshita Sahai
Software Engineering

Decltype keyword in C++

Decltype stands for declared type of an entity or the type of an expression. It lets you extract the type from the variable so decltype is sort of an operator that evaluates the type of passed expression.

Harshita Sahai Harshita Sahai
Software Engineering

Auto keyword in C++

The auto keyword specifies the type of the variable that is being declared will be automatically identified by the compiler. It is used for type inference, save time while creating iterators and create method with return type as auto

Harshita Sahai Harshita Sahai
Algorithms

Pigeonhole Sort

Pigeonhole sorting is a sorting algorithm that is suitable for sorting lists of elements where the number of elements and the number of possible key values are approximately the same.

Harshita Sahai Harshita Sahai
Algorithms

Cocktail Shaker Sort / Bidirectional bubble sort

Cocktail Sort is a variation of Bubble sort. The Bubble sort algorithm always traverses elements from left and moves the largest element to its correct position in first iteration and second largest in second iteration and so on. It traverses through a given array in both directions alternatively.

Harshita Sahai Harshita Sahai
Algorithms

Odd Even Sort / Brick Sort

Odd Even Sort uses parallel algorithm which is based on bubble sort technique. It is also known as Brick Sort. It has a best time complexity of O(N) whereas the worst case time complexity is O(N^2)

Harshita Sahai Harshita Sahai
C Programming

Union in C

A union is a special data type available in C that allows to store different data types in the same memory location. You can define a union with many members, but only one member can contain a value at any given time. Unions provide an efficient way of using the same memory location for multiple use

Harshita Sahai Harshita Sahai
C++

Hierarchical inheritance in C++

When more than one classes are derived from a single base class, such inheritance is known as Hierarchical Inheritance, where features that are common in lower level are included in parent class. We explore hierarchical inheritance in C++

Harshita Sahai Harshita Sahai
C++

Containers in C++ STL

In C++ STL, Containers or container classes store objects and data. There are in total seven standard “first-class” container classes and three container adaptor classes and only seven header files that provide access to these containers or container adaptors.

Harshita Sahai Harshita Sahai
OpenGenus IQ © 2023 All rights reserved ™ [email: team@opengenus.org]
Top Posts LinkedIn Twitter