Given an NXN array, filled with battleships that can only be horizontal or vertical, count how many battleships are there in the board. The battleships will always have at least one horizontal/vertical space between them. Solution should be with no extra memory, one pass, and without changing the board.
Students Interview Questions
37,347 students interview questions shared by candidates
Waru entschieden Sie sich für Wirtschaftsinformatik?
what is your greatest weakness
Would you please sign this contract?
Warum haben Sie sich nicht für angewandte Informatik beworben?
Suggest ways to correct an incorrectly taken digital photograph (with bad lighting, over or under exposure, etc) using a one-click intelligent program.
Weshalb Maturaarbeit, wieso ZKB, was weiss ich über die ZKB?
Write a code that prints a permutation of numbers between 0-9. Tip: you can use rand() function
Can you assemble some mechanical parts according to SOP instructions?
what the maximum number of char a you can insert to a string without being more than 3 consecutive of the char a .
Viewing 1351 - 1360 interview questions
See Interview Questions for Similar Jobs
Professeur De SciencesInstructeur De SciencesProfesseur De Sciences SecondaireProfesseurProfesseur D'école Secondaire En BiologieProfesseur AdjointProfesseur TurcProfesseur AssistantProfesseur De Langue AllemandeÉducation Et La RechercheProfesseur De TechnologieSummer Instructor, Woodshop FundamentalsProfesseur Adjoint D'enseignement Des MathématiquesProfesseur De LycéeProfesseur D'écoleRecherche En ÉducationProfesseur De ChantChercheur