r/Competitive_Coding • • Feb 13 '21

Even More Pizza Practice Problem Solution | Google Hash Code Competition 2021

Thumbnail
youtu.be
8 Upvotes

r/Competitive_Coding • • Jan 10 '22

Hey everyone, hope a lot of u are giving Google Hashcode. I do not have a team yet but I wanna take part. Also, I would like to mention that I am a Div 3, still learning things. Please dm me if I can join ur team. I'll be grateful, it will be a learning opportunity for me.

5 Upvotes

r/Competitive_Coding • • Jan 20 '21

Google hash-Code 2021 search for TEAMMATES

5 Upvotes

Hi, I'm Rohan a CS undergrad, and I just started learning and doing coding and DSA and all from last year, So this year as the Google hashcode is coming, so, I and one of my friends are searching for a teammate to join us as a team in the Hash Code, for experience and connecting with new people and to learn a hell lot of things. If you are also up for a new experience as a beginner too, then please dm me, and let's join in this journey together.


r/Competitive_Coding • • Feb 02 '20

Google Hash code 2020

5 Upvotes

r/Competitive_Coding • • Sep 12 '19

Can someone give hint in this question?😔😔

Thumbnail
codechef.com
5 Upvotes

r/Competitive_Coding • • Feb 25 '21

Google HashCode 2021 Global Chat

4 Upvotes

We have created a global chat for the Google HashCode, if you like please join and share!

Google HashCode competition Global Chat


r/Competitive_Coding • • Oct 26 '20

I wrote a blog post comparing the Fibonacci Series - Iterative vs Recursive

4 Upvotes

Do you know which method is the fastest? Fibonacci Series - Iterative vs Recursive


r/Competitive_Coding • • Oct 17 '18

An awesome list for competitive coding

Thumbnail
discuss.codechef.com
4 Upvotes

r/Competitive_Coding • • Nov 03 '24

Finding person

3 Upvotes

Hey anyone interested competitive programing plz DM me . I am searching for partner with which I can participate in competition and solve problem


r/Competitive_Coding • • Sep 06 '24

How do i solve this, got this problem in a recent interview, i want to upsolve this.

Thumbnail
gallery
3 Upvotes

r/Competitive_Coding • • Jan 09 '22

Hey everyone, I am from India, I have created a community for healthy discussions on competitive programming, I'd love to have u guys there too, right now there are only 2 members.

Thumbnail reddit.com
3 Upvotes

r/Competitive_Coding • • Feb 24 '21

Google Hashcode Team

3 Upvotes

I am looking to form a team for HashCode but I do not know anyone who is participating, if you'd like to collaborate then DM me! I am good with python and java.


r/Competitive_Coding • • Feb 21 '21

Prepare for Google Hashcode with this self hosted Scoreboard

3 Upvotes

In order to prepare for the upcoming (and future versions) of Google Hashcode I set up a Scoreboard you can host yourself:

https://github.com/ccssmnn/scoreboard

It is implemented in Go, but provides an HTTP interface. You can write a GET request to receive the problem file and a POST request to get the score for your solution.

Implemented are the qualification rounds of 2020, 2019 and 2018.


r/Competitive_Coding • • Feb 18 '21

Looking for Google Hashcode teammate(s)

3 Upvotes

My handle in Github is the same as here. Happy to have a 2-3 people team (so I am looking for 1-2 people). Ideally Python and/or C++. DM.


r/Competitive_Coding • • Jan 27 '21

Get Coding Ninjas Competitive Programming Course course worth ₹ 14,159 at just ₹ 9,911. Visit: https://cnoffers.github.io/

Post image
3 Upvotes

r/Competitive_Coding • • Jan 06 '21

Need help with one interview question

3 Upvotes

This is my first time posting here so I am not sure if asking interview questions is valid here or not.

The question is as below. Any help is appreciated.

A Company is running a promotion. Customers purchased a secret list of fruit will receive prizes. Notice the order of the fruits matters.

Also, there can be a keyword anything
in the secretFruitList which can be used for any type of fruit.

Examples

Example 1:

Input:

customerPurchasedList = [orange, mongo, strawberry, watermelon, mongo]

secretFruitLists = [[orange, mongo], [watermelon, mongo]]

Output: true

Example 2:

Input:

customerPurchasedList = [watermelon, orange, mongo]

secretFruitLists = [[watermelon, anything, mongo]]

Output: true

Example 3:

Input:

customerPurchasedList = [watermelon, apple, orange, mongo]

secretFruitLists = [[watermelon, anything, mongo]]

Output: false

r/Competitive_Coding • • Nov 08 '20

Google Hash Code 2018 Solutions

3 Upvotes

Where can I find Google hash code solutions - specifically 2018 final round : Urban Planning. I am able to see qualifier round solutions in plenty on GitHub but not final round.


r/Competitive_Coding • • Nov 01 '20

#30DaysofCode

3 Upvotes

I solved one problem every day for 30 days and documented my approach to each problem in my blog, most of them are basic and easy, I compiled this list to help beginners, view it here. I'll be happy to hear your feedback.


r/Competitive_Coding • • Oct 02 '20

Need help with a leetcode question

3 Upvotes

Question -

```

Given marrays, and each array is sorted in ascending order. Now you can pick up two integers from two different arrays (each array picks one) and calculate the distance. We define the distance between two integers aand bto be their absolute difference |a-b|. Your task is to find the maximum distance.

Example 1:

Input: [[1,2,3], [4,5], [1,2,3]] Output: 4

```

My Approach -

Use m pointers, each time increase the pointer of array having maximum value.

```

class Solution:

def maxDistance(self, arrays: List[List[int]]) -> int:

# m-pointer based question.

pointers = [0]*len(arrays)

ans = float('-inf')

while all([val < len(arrays[idx]) for idx, val in enumerate(pointers)]):

vals = [arrays[idx][val] for idx, val in enumerate(pointers)]

mini = min(vals)

maxi = max(vals)

# p_m = mini

ans = max(ans, abs(maxi-mini))

idx = vals.index(maxi)

pointers[idx] += 1

# p_m = arrays[idx][pointers[idx]-1]

return ans

```

Please help me / give me some hint in the direction of correct approach.


r/Competitive_Coding • • May 24 '20

A BREAK FOR COMPETITIVE CODERS WITH A COMFORTABLE HACKATHON

3 Upvotes

Competitive or development? At this time I know people are under the so-called ultra pressure of the placement so all you think of doing is competitive all day. But guess what, that's what you have been doing for so many months so get over it for a few days now. The development will help you with real-life problems which you haven't even exposed yourself to yet.

Not saying don't do competitive, but if given a platform to either practice your Dev skills or show it off, grab it.

It's high time you guys start focusing on development and this hackathon is easy and comfortable too and we have got great judges, all co-founders and data scientist of great companies so just think if they love your idea, that's bigger than a golden badge on hacker rank or so.

Go register at https://mindjam.devfolio.co/ if you actually could make sense out of what I wrote.


r/Competitive_Coding • • Apr 16 '20

Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1.

3 Upvotes

how to apporoach this question ??


r/Competitive_Coding • • Jan 04 '20

Looking for team member(s) for Google HashCode

3 Upvotes

r/Competitive_Coding • • Jan 20 '19

Google HashCode

3 Upvotes

What are the subject areas/topics that Google HashCode focuses on? Can you please specify the algorithms that one should focus on and some resources where one could practice for this contest? Which language is most suitable/preferred for the contest? Please reply in comment.


r/Competitive_Coding • • Oct 17 '18

Stuck or need an idea on how to begin? Ask em here!

3 Upvotes

public class help {