Chapter 10: Arrays and Strings

This chapter covers a wide range of problems involving strings and arrays. Since Java strings and arrays are common topics for developers, I will briefly introduce them via several headlines that you must remember. However, if you need to deep dive into this topic, then consider the official Java documentation (https://docs.oracle.com/javase/tutorial/java/).

By the end of this chapter, you should be able to tackle any problem involving Java strings and/or arrays. It is highly likely that they will show up in a technical interview. So, the topics that will be covered in this chapter are pretty short and clear:

  • Arrays and strings in a nutshell
  • Coding challenges

Let's start with a quick recap of strings and arrays. ...

Get The Complete Coding Interview Guide in Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.