DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 637 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

3
kicks
submitted by nrstott 5 months, 10 days ago

davesquared.blogspot.com — An interesting story about a common task in text-manipulation done with TDD. The problem is stated as such: This aim of this challenge was to determine whether any given string has a legal bracket structure. Basically, make sure all the '(', '[', '{', and '<' have matching ')', ']', '}' and '>'. We also need to take nesting into account, so that "({)}" is incorrect, and "({}<{}>)" will pass.

Add a comment 1 comment | category: | Views: 11 | Get KickIt image code
tags: | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
The linked to post is an effort to work through a problem posed on the dev102.com site (kicked here: http://www.dotnetkicks.com/architecture/A_Programming_Job_Interview_Challenge_13_Brackets). Probably a good idea to look at that first (especially if you're keen to work through the problem yourself).
posted by david 5 months, 10 days ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads by The Lounge