Skip to main content

Code Review Weekly Newsletter - Thursday, August 28, 2014

Code Review newsletter

Top new questions this week:

Diamond in the rough! Finding Gems in the rocks

Recently a question was asked that solved a hackerrank problem: Counting gems amongst the rocks The description of the challenge is: John has discovered various rocks. Each rock is composed of …

java programming-challenge bitwise rags-to-riches  
asked by rolfl 14 votes
answered by JaDogg 11 votes

Tic Tac Toe in plain JavaScript

I have created Tic Tac Toe game using plain JavaScript. Can any javascript expert review it and let me know whether the way I have written JavaScript code that is right (preferable)? I am unsure that …

javascript beginner html css tic-tac-toe  
asked by Sharath Bangera 14 votes
answered by janos 10 votes

Reverse words in a given String

I'd like this code to be improved Input string: codereview is awesome Output string: awesome is codereview My approach: Reverse the entire string Reverse each word in a string package …

java beginner strings array  
asked by Arun Prakash 12 votes
answered by janos 16 votes

My final sign up controller

I've asked a couple of questions here before regarding my controller, but I think I've finally gotten to understand controllers completely, but I'll never be sure unless I get my code reviewed. I've …

php optimization oop mvc controller  
asked by Kid Diamond 11 votes
answered by ajameswolf -1 votes

Project Euler #2 (Even Fibonacci numbers) in Swift

I figured working through Project Euler problems in Swift would be a good way to learn any tips or tricks. For example, tuples are something I'm not used to using, but they proved useful here. Using …

programming-challenge fibonacci-sequence swift  
asked by nhgrif 11 votes
answered by Martin R 12 votes

Hackerrank "Sherlock Holmes" challenge

Watson gives to Sherlock an array: A1, A2, ⋯, AN. He also gives to Sherlock two other arrays: B1, B2, ⋯, BM and C1, C2, ⋯, CM. Then Watson asks Sherlock to perform the following program: for …

java array programming-challenge  
asked by Sharath 10 votes
answered by mleyfman 2 votes

Super sophisticated game information web application

Considering I've got an exam on Spring tomorrow, I figured you could review a small example application I whipped together as preparation (and as such, I'd prefer the emphasis to be on Spring-related …

java spring jsp  
asked by Jeroen Vannevel 10 votes
answered by janos 6 votes

Greatest hits from previous weeks:

File Browser GUI

FileBro is a basic GUI based File Browser. FileBro Functionality Directory tree - shows the file system roots at start-up, but is otherwise built lazily as the user browses around the file …

swing java  
asked by Andrew Thompson 45 votes
answered by Hovercraft Full Of Eels 18 votes

Solving Sudoku using backtracking

This is a solver for Sudoku using backtracking. How can I make it more optimized and clean? #include <stdio.h> int isAvailable(int sudoku[][9], int row, int col, int num) { int i, j; …

optimization c sudoku backtracking  
asked by user1526667 8 votes
answered by Loki Astari 7 votes

Can you answer these?

Topological Sort and Graphing in Python 3

I wrote a program for DFS traversal, topological sort, find all vertices, and has_cycle methods. Can you please suggest more elegant and eloquent ways for this program? (Perhaps better ways to …

python algorithm graph  
asked by user2617521 5 votes

Pausing a SwingWorker with a Timer

I made a SwingWorker which is fetching tweets using the twitter4j API. The twitter API will allow 180 queries every 15 minutes, and then throw an exception with code 88 which says that the rate …

java loop exception-handling swing timer  
asked by Sillicon Touch 1 vote

Creating a server for user Internet orders

I've been learning the basics of node over the last couple of days and finally hooked up what I needed. I'm just after someone to comment on if I have gone the right way around this task. It creates …

javascript beginner node.js session redis  
asked by Rlweb 3 votes
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3

Comments

Popular posts from this blog

Drupal Answers Weekly Newsletter - Wednesday, December 31, 2014

Top new questions this week: Can I delete old hook_update_N functions? Suppose you have a custom module, and you have hook_update_N() implementations in your .install file. If you have old update functions, and all updates have run in all sites that the module is ... node-update hook-update-n   asked by AyeshK ...

[New post] 8th Class Result 2014 PEC Hafizabad Board

Muhammad Waqas posted: "PEC Hafizabad Board 8th Class Result 2014 expected date is 28th March, 2014 by PEC. Punjab Examination Commission (PEC) will announce 8th class result for Hafizabad Board soon and all the students of Hafizabad Board who are extremely waiting for the resul" New post on Jobs in Pakistan 8th Class Result 2014 PEC Hafizabad Board by Muhammad Waqas ...

[New post] 1st Year (11th Class) Result 2014 BISE Rawalpindi Board

Xaib Aslam posted: "BISERWP board Inter part 1 result expected on 10th October 2014 according our source. students of Rawalpindi board desperately waiting for 11th class result. 1st they upload the 12th class result and after some time they ready for showing the 1st year fin" New post on Jobs in Pakistan 1st Year (11th Class) Result 2014 BISE Rawalpindi Board by Xaib Aslam ...