Learned or Solved Something Today?

Dump it here! Let others learn from you

Showing 5 of 5 from page 1

metabox posted in #java #codingchallenge #interviewquestion #amazon

[Solution] Number of "islands" in the matrix | Amazon Interview Question

This problem was asked by Amazon. Given a matrix of 1s and 0s, return the number of islands in the matrix. A 1 represents land and 0 represents water, so an island is a group of 1s that are neighborin

metabox posted in #javascript #codingchallenge #interviewquestion #amazon

[Solution] Words-per-line | Amazon Interview Question

This problem was asked by Amazon. Given a string s and an integer k, break up the string into multiple lines such that each line has a length of k or less. You must break it up so that words don t bre

metabox posted in #javascript #codingchallenge #amazon #interviewquestion

[Solution] Espiral matrix print | Amazon Interview Question

Here s your coding interview problem for today. This problem was asked by Amazon. Given a N by M matrix of numbers, print out the matrix in a clockwise spiral. For example, given the following matrix

metabox posted in #javascript #amazon #microsoft #apple #interviewquestion #codingchallenge

Solution For Interview Question: Rotate Array Matrix | Asked By Amazon, Microsoft, Apple

Solving array rotation problem is one of my favourite problem You have to rotate a 2D array with certain conditions This simple question has been asked in many different interviews in companies includ

metabox posted in #javascript #codingchallenge #amazon #interviewquestion

Solution For Interview Question: First Not Repeating Character | Asked By Amazon

First Non Repeating Character is another interview question that has been asked by Amazon and several companies Here you have to find first occurrence of aa non repeating character from a given string

fb