Interview Prep Day — 1
This series will contain, all the daily activities I did for my interview preparation. The problems I faced while preparing and the learnings
The first day of interview prep. Started with solving leetcode easy question which was removed duplicates from sorted array.
Started with full confidence. The irony is that I haven’t read the whole question and started solving came out with a solution also, but it wasn’t working fine. After some time I realized I have read the incomplete question. I missed the word sorted which created confusion. I also missed that it has to be done in O(1) space. Although it was easy still I wasn’t able to solve it. And ended up looking at the solution.
After checking the solution and going through the discussion I thought how easy was it. I just have to fix start and endpoints and when I caught a unique integer, I will add it next to start, that is ->start+1 and if not I will keep on iterating the whole length and print the count. Also, there was another confusion in the problem, the return type was an integer, but output it was the printing of array, which was confusing, and later when I read the whole question I realized the reason for this behavior. Today most of the problems raised because I haven’t read and understood the question properly. I hope I will not make this mistake in the future.
Then I read some java interview question, maybe if some interview call came, I should be prepared with any kind of rapid-fire round, which happens most of the times in telephonic interviews. I prepared java interview questions from this page.
Although I haven’t completed it yet, will complete reading these questions by tomorrow. Also, I solved one leetcode challenge problem, which I solve on daily basis, it will also help me in clearing the interviews.
I know this much preparation will take me nowhere and I have to make time for doing more study and fasten my speed of learning.
God Bless me, may all my dreams come true. May I study more. Miracles do happen. And I am waiting for the one to happen.
Happy Reading!!!