Tag Info

New answers tagged

1

I thought I'd make a quick comment on your first question: 1) How do you come up with what entities are needed? The first thing I do for a new project is, either on a white board or big blank piece of paper, write down all the physical and conceptual things about that particular project that I and my team can think of. It's a brainstorm session. ...


3

Remember that Seattle has Microsoft in it's backyard, so the town is crawling with disgruntled Microsoft ex-pats, or Microsoft employees right on the verge of becoming disgruntled. And they are as immersed in the .Net stack as you can get. Also, Amazon, Google, and Facebook have a presence in Seattle, which ups the ante too. However, Seattle has a roaring ...


5

Since you tagged the question with language-agnostic, here's a solution in a language suited to recursive functions and data structures: let rec swapTwo lst acc = match lst with | a::b::tail -> swapTwo tail (a::b::acc) | h::tail -> swapTwo tail (h::acc) | [] -> List.rev acc As for a solution in C++, I don't fancy doing the ...



Top 50 recent answers are included