Archive for the ‘Java’ Category

Interview Code Snippets: Part 3

The latest in this series makes a shift from C++ to Java since that’s what I’ve been mucking about with lately. I’m in a little bit of a time squeeze at the moment so explanations will have to come later (though this code should be fairly readable and obvious what its doing).

import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import [...]

Interviews

I knew that when I started the job search, I would ultimately end up doing a lot of algorithm development in my interviews, so I made an investment in a good dry-erase whiteboard to practice on. I explained to Susanna that, as a programmer, a whiteboard is just as important as the computer or code [...]

Maze Solver

In my spare time this weekend, I wrote a maze solving algorithm, which is reminiscent of a program I wrote as homework over a year ago, but slightly better. Its still wasteful in terms of efficient moves, but the improvements can come later. Here’s a snippet of some methods from it, for the curious:

[...]

EasyEclipse

I found this today, which some may find useful. It provides prepackaged Eclipse distributions for certain tasks, all ready to go.
http://www.easyeclipse.org/site/distributions/index.html

Anagrams

The code below is from an interesting problem I was solving as part of practice for an upcoming programming competition. It’s purpose is to read in a series of strings from an input file (the number of which is defined on the first line of that file), and discover the various permutations of the letters [...]

A Grab Bag of Busy

So I have some time this weekend, so I’m using it effectively.

Finishing a brush-up skim read through of Code Complete
Starting Design Patterns
Learning Ant
Brushing up on C++ skills in anticipation of…
Thinking about some planning aspects of a project Ian and I are starting
Playing around with some SVN commands I’d not used before

I’m also still working on [...]

I’m Alive

It’s been a fair amount of time since I last posted warning of the dry spell in my blogging, but I think things have stabilized to a point where I can offer some words.
Of course, the primary reason for my busyness as of late is the 4 classes I’m taking this quarter, CSCD350 Software Engineering, [...]

Development Environment

I’ve spent the past couple days working towards getting a common development environment set up, so that I don’t have to use different IDE’s and tools. I’m trying to get everything situated, since Winter quarter is likely to be one of the most programming intensive quarters that I’ve had. I want to be prepared, so [...]

Internship, ASP.NET, Visual Studio, C++

It’s kind of a shotgun approach to a title, but the title fits the blog post content well.
Today I received confirmation that I’ll be doing an internship for a local Spokane company. As an part-time intern, I will be learning ASP.NET, which is really nice. ASP.NET will round out start some of my Microsoft programming [...]

Code updates, New ideas

Tonight I was finally able to (mostly) finish updating my programming code page. It’s quite a massive update, and includes a large number of code that myself and others have written, for a variety of different languages. I intend to continue updating the code page as I learn, and write new code. Enjoy.
It occured to [...]