Wednesday, March 18, 2015

Wednesday, March 18th

Normal class in the morning today.

I don't really have anything special to say, to be honest. I got straight to work on Array problems, and worked on those the whole class. I finished enough to say that I now have finished 2/3 of Array 2. I will be presenting on Tuesday, so I hope to finish Array 2 on Friday.

The problem for today:

----------------------------------------------------------------------------------------------------------------------------------
Return an array that is "left shifted" by one -- so {6, 2, 5, 3} returns {2, 5, 3, 6}. You may modify and return the given array, or return a new array. 

shiftLeft({6, 2, 5, 3}) → {2, 5, 3, 6}
shiftLeft({1, 2}) → {2, 1}
shiftLeft({1}) → {1}








Hoping to finish Array 2 next class.

No comments:

Post a Comment