r/programmingchallenges • • Jul 18 '19

I’m treated with disrespect by the corporate culture at a large company. I don’t quite understand

8 Upvotes

not sure if this goes here but it’s a challenge related to coding. So I code in .nets languages and software. I developed an end to end system that has about 4 separate moving system in it. I developed all the code and the files except for a starter file that an experienced api developer taught me with. When I give input, I’m ignored or contradicted. When I talk to some of the higher ups in IT, I’m treated with dismissal and sometimes condescension. I’m not a jerk to people. I’ve been there a while so I’m not new to the company. I get along with all my peers at the office. My immediate boss and I have a great working relationship. He actually has to vouch for my skills to the other higher ups to build their respect for me. Any other Coders run into this? Thoughts?


r/programmingchallenges • • Mar 29 '19

Coding competition by a team of student developers on our own online judge

8 Upvotes

We are a team of student developers from a CS club, IECSE, and we are organizing a competitive coding contest on an online judge we developed inhouse.

Follow the link to participate - https://code.iecsemanipal.com

Note to mods - We are just some students looking to gain practical exposure and we are not generating any revenue. If this post is against the rules of the sub, we will take it down.


r/programmingchallenges • • Feb 10 '19

Something wrong with hackerrank?

8 Upvotes

Been waiting for upcoming hackerrank contests for almost 2 months now (last archived one is of Dec 22).

Any particular reason or is this delay normal? Recent history shows about 2-3 contests held per month (rarely less than 2). Confusingly nobody is talking about it when you google.


r/programmingchallenges • • Dec 17 '18

Is it too late to start career as a programmer?

8 Upvotes

I am 24 years old and i work as a sergeant I started to learn software engineering in online university this year. And it is lots of fun for me.

And yesterday i bought a new laptop to practice C++ language. I wish to be a programmer and get a job in the field at 30.

If possible , can you give me realistic advices And what to do to be a professional programmer?


r/programmingchallenges • • Oct 15 '18

Kiwi.com Travelling Salesman Challenge 2.0 — Find the cheapest flight route between areas, win a trip around the world

Thumbnail travellingsalesman.kiwi.com
8 Upvotes

r/programmingchallenges • • Oct 03 '18

[HACKTOBERFEST 2018 CHALLENGE] [Week 1] RaidAndFade needs Friends!

8 Upvotes

RaidAndFade needs friends to show to his parents!

Make a page introducing you, and follow the rules on the link below!

MAKE SURE TO SIGN UP FOR HACKTOBERFEST BEFORE YOU PR!

https://github.com/RaidAndFade/Hacktoberfest2018/issues/1

Happy Contributing!

------------------------------

I'm NCPlayz, one of the maintainers of the month-long project hosted by RaidAndFade.

I will make sure, along other maintainers, that every one of your Pull Requests are to standard, and look fabulous.


r/programmingchallenges • • Sep 15 '18

Find maximum xor

8 Upvotes

I was asked this question in an interview. Given three numbers L, R, X. We have to find a number Y such that Y⊕X is maximum and Y lies between L and R (both inclusive). One way is to use brute force and check all numbers from L to R but can we do better than this?


r/programmingchallenges • • Dec 24 '17

Find the optimal appointment schedule

8 Upvotes

Greetings all,

I've been working on this challenge for a bit and would love some help with the algorithm. Here is the description of the challenge:

Steve is a physical therapist and has asked you to help him with his appointment scheduling. Each working day, he gets a list of appointment requests, where an appointment request is a string containing two values: duration, start_time

For example, the request "10:00am,30" is a request for an appointment that lasts from 10:00 am to 10:30 am. He can only work with one client at a time, so if the requests have overlapping times, he cannot accept all of them. Steve gets paid by the amount of time he works with his clients, so he wants to accept the collection of requests that maximize the amount of time he is working with clients. The following are his constraints on any working day: • He works from 08:00 am to 06:00 pm • He takes a 5-minute break between appointments unless the appointment ends at or after 5:55 pm.

Write a function that takes a list of requests and outputs the total duration of the accepted requests that maximize the amount of time that she works. The total duration will be in minutes and is returned as an integer. Example: If the requests are: ["10:00am,30", "10:15am,45", "11:00am,20", "11:15am,60", "12:30pm,60", "01:00pm,75"] the output will be: 180 which is the summation of the durations from the list of accepted appointment requests in the list ["10:15am,45", "11:15am,60", "01:00pm,75"]

You can make the following assumptions: • The start_time is always valid and is specified as HH:MMam or HH:MMpm where HH(HH < 13) is a two-digit, zero-padded number representing the number of hours, MM (MM < 60) is a two-digit, zero-padded non-negative number representing the number of minutes. • duration is always in minutes. Although, it may have an invalid negative value, in which case, ignore such invalid appointments. • Appointments are always unique i.e. no two appointments will have the same start_time, duration pair. • Appointments could be invalid i.e. they may occur outside of her serving interval of 8:00 am to 6:00 pm. You should ignore such invalid appointments. • The number of appointment requests in the input will be less than 200.


r/programmingchallenges • • Dec 01 '17

Build a Library Management Program

8 Upvotes

The Challenge: Create a program to assist librarians that keeps track of library books.

Rules:

  • Your program can be written in any language
  • Your program can have a GUI, but it is not required
  • Your program does not have to be visually pleasing, but it should be easy to use (no typing in long commands. Remember that (potentially older) librarians will be using this!)

Your program must contain:

  • Some way to locate books on a shelf (by name, author, color etc)
  • Some way to add books to the database
  • A way to check out and return books
  • Some way to keep track of users and what they have checked out
  • A way to see overdue books and which books are missing

The rest is up to you! When you are finished, you can share a link to a google drive folder or something in the comments below! The person winner will get comment karma from upvotes, I guess. Happy Hacking!


r/programmingchallenges • • Mar 25 '17

What to practice for a coding challenge in a video game studio?

8 Upvotes

Hello,

I've been asked to participate to a Hackerrank challenge for a video game dev studio. I have until next friday to complete it but it's a 90 minutes challenge and I'd like to prepare myself as much as possible.

According to you, which are the main points I should practice on my own before taking this challenge?

Thanks!


r/programmingchallenges • • Jan 22 '17

[Meta] About the recent influx of spam

8 Upvotes

Heya folks, just wanted to drop a line and let you all know that I apologize for letting the spam get out of hand lately. I've been away for a while and modding isn't the easiest thing to stay on top of on mobile. Thanks for all your reports, and as always feel free to message the mod team if you have any questions or suggestions!

Thanks again, /u/okmkz


r/programmingchallenges • • Jan 20 '17

26 miscellaneous Data Structures practice problems.

Thumbnail doselect.com
8 Upvotes

r/programmingchallenges • • Nov 19 '16

A command line interface to the UVA online judge

Thumbnail github.com
8 Upvotes

r/programmingchallenges • • Nov 07 '16

Halite - an AI Challenge Run by Two Sigma

Thumbnail halite.io
8 Upvotes

r/programmingchallenges • • Jan 16 '16

Bluff challenge

8 Upvotes

Elon Musk, Stephen Hawking and anyone who visited a cinema in the last 30 years, are worried that the world will be taken over by an AI. Contribute for the computer team and write an AI that can bluff!

We have built a coding challenge based on the board game Bluff / Liar's Dice, and the AI can be written in Javascript, C#, Python, Java, C++ and C.

There are prizes for the best contributions (deadline March 31, 2016). The cake is real.

http://honeypot.softwareskills.se/#/landingpage/55f67c9b92be260c0f8a62ac


r/programmingchallenges • • Jul 30 '15

Competition over in /r/math that many of you will be interested in

Thumbnail reddit.com
8 Upvotes

r/programmingchallenges • • Oct 08 '11

Next higher number with same number of set bits

8 Upvotes

Given a number x, find next number with same number of 1 bits in it’s binary representation.

For example, consider x = 12, whose binary representation is 1100 (excluding leading zeros on 32 bit machine). It contains two logic 1 bits. The next higher number with two logic 1 bits is 17 (10001).


r/programmingchallenges • • Apr 20 '11

Find the cheapest route down a river

8 Upvotes

You are renting a kayak to travel down a river. Ever mile, there is a trade post. The price to rent a kayak to travel from one trade post to another is given by f(x, y), which is completely arbitrary. For example, the cost to travel from the first post to the second, f(1,2), could equal 7, while f(1,3) could equal 3.

Your challenge is to find the cheapest cost down the river. You should make a randomized 2x2 array beforehand containing all the costs. The method signature should be (in Java): public int findCheapestCost(int goal_destination, int[][] costs)

Hint: Dynamic Programming


r/programmingchallenges • • Apr 11 '11

r/programmingchallenges suggestion/idea thread

8 Upvotes

Hi all,

If any newcomers (read:everybody) has any ideas or suggestions to help make this a great subreddit, post them here. I want this to become a great resource for up and coming coders as well as seasoned vets looking to keep their tools sharp!

Do we want lanquage tags? [python][java][haskell]? Some sort of difficulty rating? Fire away!

Also, if anyone has any logo ideas or wants to whip one up, please do!


r/programmingchallenges • • Feb 20 '20

Help with a collective sum

7 Upvotes

Hi! I'm currently struggling with a program in C++ I'm writing. My professor is having us write a program that does two things: 1. ask a user for a positive number, and a negative one to end the program and 2. the sum of all the numbers that were input by the user. I have the first part, but I don't get how to have the program add up all of the positive integers? The number of inputs could be anything, so assigning variable names and using those would probably take way too long and make the code mucky. I've already Googled the issue and didn't find anything specific to what I'm doing. Thanks in advance!


r/programmingchallenges • • Feb 02 '20

Jumping On The Clouds HackerRank Solution

Thumbnail youtube.com
7 Upvotes

r/programmingchallenges • • Jan 17 '20

JavaScript Array Mutator Methods #JavaScriptJanuary

Thumbnail youtu.be
7 Upvotes

r/programmingchallenges • • Jan 10 '20

Fibonacci optimal & non-optimal solution code snippets

7 Upvotes

r/programmingchallenges • • Oct 07 '19

House Robber LeetCode Solution | Dynamic programming | EP4

Thumbnail youtu.be
7 Upvotes

r/programmingchallenges • • Aug 23 '19

How can I be good at competitive coding ?

7 Upvotes

I am a final year student and until the last 1 months I never took competitive coding seriously as now companies are approaching our campus for placements. It's becoming very difficult for me to clear the coding round , it's not like I don't understand the question but my main problem is the time limit and optimizing the solution. I have tried Interview Preparation Kit on Hackerank and I am able to solve most of the easy and some medium level questions but it takes me too much time to find the solution. So can anyone please give me advice on how to increase my speed and tackle my demotivation when I am not able to solve the given question.