Skip to main content

Posts

Showing posts from September, 2021

How to Make Money through reddit -Different ways

  What is reddit? Reddit is aptly referred to as the "Internet homepage" and has more than 55 million daily active users, and this number is still growing. It is a social media platform that mainly focuses on sharing different news and content in the community.   Reddit may be different from many other social media sites, and it may initially confuse those who are not familiar with the platform.   People who participate in Reddit, often referred to as "Redditors", post on subreddit tailored to their interests or selected topics. These sub-sections are where Reddit users share information through posts, pictures, videos, and links.   Even without actively posting, Reddit provides a lot of valuable information, one of which is how to make money online. Subreddit that help to  Earn Money: 💰💰💰 Below are some popular subreddit that will light up your mind with some ideas to earn money easily and online 1. /r/startups /r/Startups is a subreddit with almost 836K  users

Sparse Arrays-HackerRank Solution

 Problem: There is a collection of input strings and a collection of query strings. For each query string, determine how many times it occurs in the list of input strings. Return an array of the results. Example There are   instances of ' ,   of ' ' and   of ' '. For each query, add an element to the return array,  . Function Description Complete the function  matchingStrings  in the editor below. The function must return an array of integers representing the frequency of occurrence of each query string in  strings . matchingStrings has the following parameters: string strings[n]  - an array of strings to search string queries[q]  - an array of query strings Returns int[q]:  an array of results for each query Input Format The first line contains and integer  , the size of  . Each of the next   lines contains a string  . The next line contains  , the size of  . Each of the next   lines contains a string  . Solution: #include   < bits/stdc++.h > using   namespac