Given a matrix of ints and a rectangular region inside the matrix, find the sum of all the numbers within the rectangle. This is a very good interview question that…
Well hi again, it has been a while since I last posted…. well these weeks have been hectic. Lots of work and lots of side projects… Anyway leaving all the…
This is a fun little question that will give an interviewer the chance to gauge your understanding of Trees and BSTrees. If wanting more clarification check our binary TreeNode implementation…
When I first stumbled upon this question, I immediately made a TreeNode implementation and tried to write down the solution. As it turns out, I forgot one important step of…
Following our Binary Tree Implementation in Java, I put 5 mins of my time towards a small tutorial on ‘How to implement a Linked List in Java. Everything can be…
I was thinking about writing a Binary Tree coding question and just realized I need a Binary Tree implementation in Java for that. Explaining shortly – we will keep track…
This was asked to me in an interview a long long time ago. The question seems easy at first sight – Find next higher number with the same digits: i.e.:…
When I first saw this question I got quite intrigued and a bit #mindflabergasted. This sounds like something you could get asked on interviews. A very interesting question that can…
I think the first time I got asked this question was when I was applying for a summer job after my second year. I am assuming you know what a…
So, by now you should know how to create and delete Files and Directories as described in the previous post – How To Do Basic Operations With Files In Java…