×
Home Discussions Write at Opengenus IQ
×
  • About
  • Track your progress
  • Deep Learning (FREE)
  • 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
Vidhi Srivastava

Vidhi Srivastava

Intern @ OpenGenus IQ | Algorithms & Data Structures | Exploring code and writing tech. Connect with me at https://www.linkedin.com/in/vidhisrivastava01/

4 posts •
Python

Hangman game in Python [with source code]

Hangman is a fun game for two or more players. In this game, one player picks a word, phrase, or sentence, and the others try to guess it by suggesting letters or numbers.

Vidhi Srivastava Vidhi Srivastava
Python

AVL Tree in Python [using OOP + Inheritance]

AVL (Adelson-Velsky and Landis) tree is a self-balancing binary search tree, where the balance factor of each node is the difference between the heights of its left and right subtrees i.e. either -1, 0, or 1.

Vidhi Srivastava Vidhi Srivastava
Python

Selection Sort in Python using OOP concepts [Iterative + Recursive]

To implement selection sort in Python using an object-oriented approach, we can create a class called SelectionSort that encapsulates the functionality of the sorting algorithm.

Vidhi Srivastava Vidhi Srivastava
C++

Map::swap() in C++

The swap() function in C++ is used to interchange the elements of two variables. Similarly, the Map::swap() member function is used to swap the elements of two map objects.

Vidhi Srivastava Vidhi Srivastava
OpenGenus IQ © 2023 All rights reserved â„¢ [email: team@opengenus.org]
Top Posts LinkedIn Twitter