---
title: "Discussion on \"1160. Find Words That Can Be Formed by Characters\" | Hashnode"
description: "Discussion on \"1160. Find Words That Can Be Formed by Characters\". You are given an array of strings words and a string chars.\nA string is good if it can be formed by characters from chars (each character can only be used once).\nReturn the sum of lengths of all good strings in words.\nExample 1:\nInput: words = [\"cat\"..."
url: "https://hashnode.com/posts/1160-find-words-that-can-be-formed-by-characters/656b2c40153fe7d1aeae53fd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [1160\. Find Words That Can Be Formed by Characters](https://sirishachallagiri.hashnode.dev/1160-find-words-that-can-be-formed-by-characters?utm_source=hashnode&utm_medium=feed)

You are given an array of strings words and a string chars. A string is good if it can be formed by characters from chars (each character can only be used once). Return the sum of lengths of all good strings in words. Example 1: Input: words = \["cat"...

Dec 2, 2023 · 3 min read · sirishachallagiri.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#java](https://hashnode.com/tag/java)
-   [#coding](https://hashnode.com/tag/coding)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#string](https://hashnode.com/tag/string)
-   [#explanation](https://hashnode.com/tag/explanation)

## Written by

[Sirisha Challagiri](https://hashnode.com/@Siri2316)

@Siri2316

  
[View profile](https://hashnode.com/@Siri2316)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
