Practice Programming at Rosalind.info

  • (2 Pages)
  • +
  • 1
  • 2

27 Replies - 8944 Views - Last Post: 21 June 2013 - 03:46 PM

#16 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7293
  • View blog
  • Posts: 12,132
  • Joined: 19-March 11

Re: Practice Programming at Rosalind.info

Posted 07 April 2013 - 07:04 AM

17 down. They're starting to get a little trickier - there are a few that I'm going to have to think about.
Was This Post Helpful? 0
  • +
  • -

#17 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7293
  • View blog
  • Posts: 12,132
  • Joined: 19-March 11

Re: Practice Programming at Rosalind.info

Posted 16 April 2013 - 05:51 PM

So how's everyone doing with these? I'm definitely finding that they're getting more involved as I go along, which is what I'd hoped for. The interesting thing about this set is that I'm noticing my weaknesses a lot more that I do with something like Euler. Not in the sense that "I'm feeling like I have more weaknesses", but some of the problems are really working over some areas where I've always been a little weak. The "Mortal Rabbits" problem seems like it keeps getting a lot more complicated than I want it to be - every time I think I've managed to come up with a reasonably simple approach, it blows up on me. I suspect that's the point of the problem, though - I feel like the answer is right on the tip of my brain, and it's a lot simpler than I think.


Good find, cfoley.
Was This Post Helpful? 0
  • +
  • -

#18 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon



Reputation: 1335
  • View blog
  • Posts: 3,398
  • Joined: 28-November 09

Re: Practice Programming at Rosalind.info

Posted 16 April 2013 - 08:22 PM

I read that one, and yeah, it is pretty harey.

I think I finished off 9 and got a tad busy.
Was This Post Helpful? 1
  • +
  • -

#19 Locke  Icon User is offline

  • Sarcasm Extraordinaire!
  • member icon

Reputation: 520
  • View blog
  • Posts: 5,596
  • Joined: 20-March 08

Re: Practice Programming at Rosalind.info

Posted 16 April 2013 - 09:57 PM

View PostLemur, on 16 April 2013 - 10:22 PM, said:

harey.


That was terrible... :P
Was This Post Helpful? 0
  • +
  • -

#20 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon



Reputation: 1335
  • View blog
  • Posts: 3,398
  • Joined: 28-November 09

Re: Practice Programming at Rosalind.info

Posted 16 April 2013 - 10:16 PM

View PostLocke, on 16 April 2013 - 11:57 PM, said:

View PostLemur, on 16 April 2013 - 10:22 PM, said:

harey.


That was terrible... :P/>


I don't carrot all how horrid my jokes are.

OT - What languages are being used?
Was This Post Helpful? 0
  • +
  • -

#21 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7293
  • View blog
  • Posts: 12,132
  • Joined: 19-March 11

Re: Practice Programming at Rosalind.info

Posted 16 April 2013 - 10:27 PM

Lettuce quit with these awful puns before I have to beet you!


OT: Python. If I were feeling more ambitious, I'd be doing them in Ruby, but I'm feeling less ambitious.
Was This Post Helpful? 0
  • +
  • -

#22 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon



Reputation: 1335
  • View blog
  • Posts: 3,398
  • Joined: 28-November 09

Re: Practice Programming at Rosalind.info

Posted 16 April 2013 - 10:45 PM

View Postjon.kiparsky, on 17 April 2013 - 12:27 AM, said:

Lettuce quit with these awful puns before I have to beet you!


OT: Python. If I were feeling more ambitious, I'd be doing them in Ruby, but I'm feeling less ambitious.


Check out the link I posted earlier. I've done most all in Ruby so far. I'm going back over them in LISP for practice in a bit.
Was This Post Helpful? 0
  • +
  • -

#23 cfoley  Icon User is offline

  • Cabbage
  • member icon

Reputation: 1907
  • View blog
  • Posts: 3,953
  • Joined: 11-December 07

Re: Practice Programming at Rosalind.info

Posted 16 April 2013 - 11:49 PM

I like that they make you use different parts of your chosen language. A full solution includes all the file handling/networking as well as the logic for the problem itself.

I'm using Racket. I'm surprised at the number of people thinking of using a Lisp.
Was This Post Helpful? 0
  • +
  • -

#24 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5643
  • View blog
  • Posts: 12,359
  • Joined: 16-October 07

Re: Practice Programming at Rosalind.info

Posted 06 June 2013 - 10:46 AM

I still do some of these. Not banging them out as when I first started. Some take a while. I've used Python, Scala, Scheme, and F#. I've stuck with F#.

Just necro'd this because I'm choosing my coursera list and this one looked apropos.
Was This Post Helpful? 0
  • +
  • -

#25 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7293
  • View blog
  • Posts: 12,132
  • Joined: 19-March 11

Re: Practice Programming at Rosalind.info

Posted 06 June 2013 - 11:07 AM

I'm definitely past the "banging out" phase, but I'm still going - though I've been back to the Euler set lately. I have this notion I want to make it to 50 on Euler, so I might be doing more of those this month. I don't know why that should matter to me, but it looks doable, so I want to do it.

If you don't mind me asking, which ones are you finding tough? The one that's really been sticky for me has been Independent Alleles - I've never been good at probabilities. There are a couple of others that I feel like I should have solved, like the reverse palindromes, but I haven't nailed yet.
Was This Post Helpful? 0
  • +
  • -

#26 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5643
  • View blog
  • Posts: 12,359
  • Joined: 16-October 07

Re: Practice Programming at Rosalind.info

Posted 06 June 2013 - 12:33 PM

I've only done 16. Part of the time consuming is me being my own worst enemy.

Or, rather, just being amusedly distracted. e.g. After solving "Longest Increasing Subsequence" I ended up writing several implementations of a patience sort and optimizing my solution until I was happy with it. I probably spent a few evenings messing about with it.

Here's the code I was finally pleased with:
Spoiler


I should note that I spent considerable time on testing frameworks, in each language, just because it's fun. With parseFASTA, codon tables several ways, file loaders, whatever...

You know, I think I got stuck on "Independent Alleles." "Open Reading Frames" also took some time, because the description didn't seem clear to me at first. When I got it working, I also compulsively optimized it for a while.
Was This Post Helpful? 0
  • +
  • -

#27 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7293
  • View blog
  • Posts: 12,132
  • Joined: 19-March 11

Re: Practice Programming at Rosalind.info

Posted 06 June 2013 - 01:05 PM

That's funny, we seem to be sticking at the same spots - but I'm up to 25 solved. There are probably some easy pickings that you haven't puck. :)/>

I'm looking forward to checking out how you did Longest Increasing Substring - that's the next one on my list!

This post has been edited by jon.kiparsky: 06 June 2013 - 01:05 PM

Was This Post Helpful? 0
  • +
  • -

#28 wordswords  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 76
  • View blog
  • Posts: 272
  • Joined: 17-December 11

Re: Practice Programming at Rosalind.info

Posted 21 June 2013 - 03:46 PM

View PostMichael26, on 01 April 2013 - 04:57 PM, said:

I know it's correct because i try the supplied sample dataset first to see if i did right, and then when i get the same result i download dataset to solve.

for example in first problem "A Rapid Introduction to Molecular Biology" i got the correct answer but the order was incorrect and it didn't accept the answer. It's supposed to be A,C,G,T but i did C,G,T,A


Then that is incorrect though.. surely. You need to get the right order.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2