Strings Interview Questions
707+ real questions from verified interview reports across 12 companies.
Sourced from 1Point3Acres, Blind, Glassdoor, Reddit, and more. Translated and cleaned.
Top Companies Asking Strings Questions
Sample Strings Questions
I recently received the OA for Workday SWE intern for Summer 2024. I was wondering if anyone had taken it either this year or in years prior. It's 3 questions in 75 minutes, but I really want to give
70 minutes, 4 questions All Geography questions Toggle case of String If the letter is a vowel, change to capital case; if it is constant, change to the next string per rule: b -> c c -> d ... v -> w
The following content requires a score of 200 or higher. You can already view it. To be honest, this was the most difficult interview I've ever seen. Although I prepared in advance, I still didn't pas
Capital One Power Day interview lasted four hours, divided into three parts plus a one-hour break: a case study, a coding technical interview, and a behavioral interview. It was my first time having s
Got asked this question for an interview: ``` """ Given an encoded string, return its decoded string. The encoding rule is: k[encodedstring], where the encodedstring inside the square brackets is bein
Had an opportunity to give interview for Forward Networks Company for SSE Role. Below question was asked in the first round in DSA: https://leetcode.com/problems/find-the-index-of-the-first-occurrence
Hi everyone, I recently got this question in an OA (Rubrik): Given a binary string s consisting of only '0' and '1', find the minimum number of swaps (swap any two characters, not necessarily adjacent
I know this problem is marked easy, but it made me pause longer than expected đŸ˜… At first I started simulating everything with coordinates, adding a bunch of conditions… and it got messy quickly. Then
Codium/Qodo interview; required screen sharing; was a document parsing and formatting question, overall not too difficult, no particularly challenging algorithms.
Two questions. The first question is a variation of the LeetCode problem, specifically the text justification problem, but with right alignment. The second question is to find the sum of the inner pro
The platform used is CodeSignal. You need to have your webcam and microphone on for the entire screen recording. Before starting, you need to check your ID and have your face captured. You can open an
It's the Greenhouse job board that many compani
String to Integer (atoi) Implement the `myAtoi(string s)` function, which converts a string to a 32-bit signed integer. The algorithm for `myAtoi(string s)` is as follows: 1. Ignore any leading whit
Count Disjoint String Pairs Given an array of lowercase strings `words`, return the number of unique index pairs `(i, j)` such that `i < j` and the two strings share no common characters. Two string
**Problem Description** Determine if a singer can perform a specific song based on their vocal range. A song is considered singable if and only if every note in the song falls within the inclusive ran
Recently, Akamai visited our campus for its summer internship program, and I had the opportunity to participate in the selection process. Although I didn't make it through...
LeetCode #3043: Find the Length of the Longest Common Prefix. Difficulty: Medium. Topics: Array, Hash Table, String, Trie. Asked at Capital One in the last 6 months.
LeetCode #2023: Number of Pairs of Strings With Concatenation Equal to Target. Difficulty: Medium. Topics: Array, Hash Table, String, Counting. Asked at Capital One in the last 6 months.
LeetCode #2259: Remove Digit From Number to Maximize Result. Difficulty: Easy. Topics: String, Greedy, Enumeration. Asked at Infosys in the last 6 months.
#14 Longest Common Prefix
LeetCode #14: Longest Common Prefix. Difficulty: Easy. Topics: Array, String, Trie. Asked at Infosys in the last 6 months.
#6 Zigzag Conversion
LeetCode #6: Zigzag Conversion. Difficulty: Medium. Topics: String. Asked at Infosys in the last 6 months.
#38 Count and Say
LeetCode #38: Count and Say. Difficulty: Medium. Topics: String. Asked at Expedia in the last 6 months.
#767 Reorganize String
LeetCode #767: Reorganize String. Difficulty: Medium. Topics: Hash Table, String, Greedy, Sorting, Heap (Priority Queue), Counting. Asked at Tesla in the last 6 months.
#680 Valid Palindrome II
LeetCode #680: Valid Palindrome II. Difficulty: Easy. Topics: Two Pointers, String, Greedy. Asked at Yandex in the last 6 months.
LeetCode #3105: Longest Strictly Increasing or Strictly Decreasing Subarray. Difficulty: Easy. Topics: Array. Asked at Yandex in the last 6 months.
See All 707 Strings Questions
Full question text, interview context, and company-specific frequency data for subscribers.
Get Access