Chaining using hashing20) Write a cpp program to demonstrate the Hashing #include<iostream> #include<stdlib.h> using namespace std; #define max 100 typedef struct list { int data; struct list *next; }node; node *ptr[max],*root[max],*temp[max]; class dic { public: int i...Aug 30, 2023·1 min read
Python mid 2Programs 21.Write a python program that generates a set of prime numbers and another set of odd numbers. Demonstrate the result of union, intersection, difference and symmetric difference operations on these sets. CODE: n=int(input("Enter a number: "...Mar 2, 2023·5 min read
Pointers in C language"Pointers" is a concept that most beginners consider it as rocket science. let's see what pointers are in c language. A pointer is a variable that stores the address of another variable. let's say we have an integer variable "a" with a value of 20. A...Jan 26, 2023·5 min read
Introduction to Databases and SQL for beginnersWhat is data? Data is the collection of facts like numbers, text, images, videos, etc. The biggest example, the blog post you are reading now is a collection of text stored in a text document (but with the file extension ' .html ') What is a database...Aug 17, 2022·4 min read
Analyzing Uber Trips -EDA using pythonWhat is uber? Uber is an independent taxicab company that hires drivers who use their personal vehicles while logged into the Uber app on a mobile device. Passengers request rides using the app, inputting pick-up and drop-off locations, and all payme...Aug 11, 2022·2 min read
The 'Set'data structure in pythonSet is an in-built python data structure. You can store integers, floats, booleans, and strings in a set. Example of a set: store={2,True, 3.14 , 'hello'} Important: A set in python does not store duplicates. And this is why it is an important data s...Aug 9, 2022·2 min read
Scraping IMDB data using python(Beautiful soup)The source website I used here to pull data is IMDB. From top rated movies page. so here is a screenshot of the data that's available on the web and store it in an excel file like this. To scrape the data I used the requests module and beautiful so...Aug 1, 2022·2 min read