Skip to main content
0:03est. 4 min

Coding Question From Web

/**
- 1) Given a string and a dictionary of words, determine if the string is valid based on all dictionary words. (interview.io)
- 2) Determine if the given string contains valid words while ignoring extraneous characters (https://leetcode.com/problems/word-break/submissions/)
- Design robot movement in 2d space (https://leetcode.com/problems/walking-robot-simulation/)
- code Sudoku
- Pair programming included a URL shortener problem and the other code refactoring.
- How would you build a shopping cart?
- What is the purpose of promises in JS
- sort an array
- https://www.geeksforgeeks.org/how-to-sort-strings-in-javascript/
- Sort a list of strings using java comparator class.
- Check nested strings following this examples: (intermediate).
'{}' -> is nested
'{{}}' -> is nested
'{}{}' -> is nested
'{}}{' -> not nested
'}{{}' -> not nested
'{{{}}}' -> is nested
- Cubiks test
- https://jigarius.com/blog/shopify-software-developer-interview
- Just a slightly more complicated version of finding certain characters in a string
- There are some sets of strings that map to an item - Given a string, determined the number of items
- general string manipulation, arrays, etc.
- classic system design questions
- array of strings "productName, PopularityScoreAsaStringOutOf100, and priceIntegerAsaString" how would you rank the items by popularity. If there is a tie with pop score, place the cheaper priced item first.
- I was asked to build a URL Shortener in 1hr
- you are given a list of sorted words as they would appear in a dictionary, but the language is 'alien' to you. Using the words, create a list that shows the order of occurrence of letters in that language's 'alphabet' sequence. (https://www.geeksforgeeks.org/given-sorted-dictionary-find-precedence-characters/)
- Given a list of items and quantities, apply discount rules and determine the cart's checkout value.
- Print certain geometrical shapes on the screen. (https://www.geeksforgeeks.org/program-print-2d-shapes/)
- Implement a sorting algorithm to manipulate strings
- Solve a String permutation algorithm problem;
- how to handle the growth of databases after 1M records.
- how most relations got translated to SQL
- Given a string buffer, implement search and replace.
- It was about sort list of products
*/