# Cisco Coding Interview Questions

> 86 DSA problems asked in Cisco coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on InternHack.

Canonical: https://www.internhack.in/learn/dsa/companies/cisco
Last updated: 2026-11-28

86 DSA problems tagged as asked in Cisco coding interviews and online assessments. Below are all 86: 22 easy, 49 medium and 15 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

## Cisco DSA problems, easiest first

1. [Best Time to Buy and Sell Stock](https://www.internhack.in/learn/dsa/problem/best-time-to-buy-and-sell-stock) (Easy)
2. [Can Place Flowers](https://www.internhack.in/learn/dsa/problem/can-place-flowers) (Easy)
3. [Check if Binary String Has at Most One Segment of Ones](https://www.internhack.in/learn/dsa/problem/check-if-binary-string-has-at-most-one-segment-of-ones) (Easy)
4. [Convert Binary Number in a Linked List to Integer](https://www.internhack.in/learn/dsa/problem/convert-binary-number-in-a-linked-list-to-integer) (Easy)
5. [Fizz Buzz](https://www.internhack.in/learn/dsa/problem/fizz-buzz) (Easy)
6. [Happy Number](https://www.internhack.in/learn/dsa/problem/happy-number) (Easy)
7. [Linked List Cycle](https://www.internhack.in/learn/dsa/problem/linked-list-cycle) (Easy)
8. [Lucky Numbers in a Matrix](https://www.internhack.in/learn/dsa/problem/lucky-numbers-in-a-matrix) (Easy)
9. [Maximum Difference Between Increasing Elements](https://www.internhack.in/learn/dsa/problem/maximum-difference-between-increasing-elements) (Easy)
10. [Merge Sorted Array](https://www.internhack.in/learn/dsa/problem/merge-sorted-array) (Easy)
11. [Move Zeroes](https://www.internhack.in/learn/dsa/problem/move-zeroes) (Easy)
12. [Number of Valid Words in a Sentence](https://www.internhack.in/learn/dsa/problem/number-of-valid-words-in-a-sentence) (Easy)
13. [Pascal's Triangle](https://www.internhack.in/learn/dsa/problem/pascals-triangle) (Easy)
14. [Remove All Adjacent Duplicates In String](https://www.internhack.in/learn/dsa/problem/remove-all-adjacent-duplicates-in-string) (Easy)
15. [Remove Duplicates from Sorted Array](https://www.internhack.in/learn/dsa/problem/remove-duplicates-from-sorted-array) (Easy)
16. [Reverse Linked List](https://www.internhack.in/learn/dsa/problem/reverse-linked-list) (Easy)
17. [Rising Temperature](https://www.internhack.in/learn/dsa/problem/rising-temperature) (Easy)
18. [Single Number](https://www.internhack.in/learn/dsa/problem/single-number) (Easy)
19. [Two Sum](https://www.internhack.in/learn/dsa/problem/two-sum) (Easy)
20. [Two Sum IV - Input is a BST](https://www.internhack.in/learn/dsa/problem/two-sum-iv-input-is-a-bst) (Easy)
21. [Valid Palindrome](https://www.internhack.in/learn/dsa/problem/valid-palindrome) (Easy)
22. [Valid Parentheses](https://www.internhack.in/learn/dsa/problem/valid-parentheses) (Easy)
23. [3Sum](https://www.internhack.in/learn/dsa/problem/3sum) (Medium)
24. [Add Two Numbers](https://www.internhack.in/learn/dsa/problem/add-two-numbers) (Medium)
25. [Decode String](https://www.internhack.in/learn/dsa/problem/decode-string) (Medium)
26. [Diagonal Traverse](https://www.internhack.in/learn/dsa/problem/diagonal-traverse) (Medium)
27. [Edit Distance](https://www.internhack.in/learn/dsa/problem/edit-distance) (Medium)
28. [Expressive Words](https://www.internhack.in/learn/dsa/problem/expressive-words) (Medium)
29. [Find the Duplicate Number](https://www.internhack.in/learn/dsa/problem/find-the-duplicate-number) (Medium)
30. [Find the Largest Area of Square Inside Two Rectangles](https://www.internhack.in/learn/dsa/problem/find-the-largest-area-of-square-inside-two-rectangles) (Medium)
31. [Find Third Transaction](https://www.internhack.in/learn/dsa/problem/find-third-transaction) (Medium)
32. [Gas Station](https://www.internhack.in/learn/dsa/problem/gas-station) (Medium)
33. [Group Anagrams](https://www.internhack.in/learn/dsa/problem/group-anagrams) (Medium)
34. [House Robber](https://www.internhack.in/learn/dsa/problem/house-robber) (Medium)
35. [Implement Router](https://www.internhack.in/learn/dsa/problem/implement-router) (Medium)
36. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
37. [Interval List Intersections](https://www.internhack.in/learn/dsa/problem/interval-list-intersections) (Medium)
38. [Jump Game](https://www.internhack.in/learn/dsa/problem/jump-game) (Medium)
39. [Kth Smallest Element in a BST](https://www.internhack.in/learn/dsa/problem/kth-smallest-element-in-a-bst) (Medium)
40. [Letter Combinations of a Phone Number](https://www.internhack.in/learn/dsa/problem/letter-combinations-of-a-phone-number) (Medium)
41. [Longest Common Subsequence](https://www.internhack.in/learn/dsa/problem/longest-common-subsequence) (Medium)
42. [Longest Consecutive Sequence](https://www.internhack.in/learn/dsa/problem/longest-consecutive-sequence) (Medium)
43. [Longest Palindromic Substring](https://www.internhack.in/learn/dsa/problem/longest-palindromic-substring) (Medium)
44. [Longest Substring Without Repeating Characters](https://www.internhack.in/learn/dsa/problem/longest-substring-without-repeating-characters) (Medium)
45. [Lowest Common Ancestor of a Binary Tree](https://www.internhack.in/learn/dsa/problem/lowest-common-ancestor-of-a-binary-tree) (Medium)
46. [LRU Cache](https://www.internhack.in/learn/dsa/problem/lru-cache) (Medium)
47. [Maximum Subarray](https://www.internhack.in/learn/dsa/problem/maximum-subarray) (Medium)
48. [Meeting Rooms II](https://www.internhack.in/learn/dsa/problem/meeting-rooms-ii) (Medium)
49. [Merge Intervals](https://www.internhack.in/learn/dsa/problem/merge-intervals) (Medium)
50. [Minimum Sensors to Cover Grid](https://www.internhack.in/learn/dsa/problem/minimum-sensors-to-cover-grid) (Medium)
51. [Minimum Time to Collect All Apples in a Tree](https://www.internhack.in/learn/dsa/problem/minimum-time-to-collect-all-apples-in-a-tree) (Medium)
52. [Number of Equal Count Substrings](https://www.internhack.in/learn/dsa/problem/number-of-equal-count-substrings) (Medium)
53. [Number of Islands](https://www.internhack.in/learn/dsa/problem/number-of-islands) (Medium)
54. [Palindromic Substrings](https://www.internhack.in/learn/dsa/problem/palindromic-substrings) (Medium)
55. [Permutation in String](https://www.internhack.in/learn/dsa/problem/permutation-in-string) (Medium)
56. [Permutations](https://www.internhack.in/learn/dsa/problem/permutations) (Medium)
57. [Pow(x, n)](https://www.internhack.in/learn/dsa/problem/powx-n) (Medium)
58. [Power Grid Maintenance](https://www.internhack.in/learn/dsa/problem/power-grid-maintenance) (Medium)
59. [Predict the Winner](https://www.internhack.in/learn/dsa/problem/predict-the-winner) (Medium)
60. [Product of Array Except Self](https://www.internhack.in/learn/dsa/problem/product-of-array-except-self) (Medium)
61. [Reverse Words in a String](https://www.internhack.in/learn/dsa/problem/reverse-words-in-a-string) (Medium)
62. [Rotate Image](https://www.internhack.in/learn/dsa/problem/rotate-image) (Medium)
63. [Search in Rotated Sorted Array](https://www.internhack.in/learn/dsa/problem/search-in-rotated-sorted-array) (Medium)
64. [Search in Rotated Sorted Array II](https://www.internhack.in/learn/dsa/problem/search-in-rotated-sorted-array-ii) (Medium)
65. [Snakes and Ladders](https://www.internhack.in/learn/dsa/problem/snakes-and-ladders) (Medium)
66. [Sort Colors](https://www.internhack.in/learn/dsa/problem/sort-colors) (Medium)
67. [Spiral Matrix](https://www.internhack.in/learn/dsa/problem/spiral-matrix) (Medium)
68. [Stone Game](https://www.internhack.in/learn/dsa/problem/stone-game) (Medium)
69. [Subarray Sum Equals K](https://www.internhack.in/learn/dsa/problem/subarray-sum-equals-k) (Medium)
70. [Validate IP Address](https://www.internhack.in/learn/dsa/problem/validate-ip-address) (Medium)
71. [Word Search](https://www.internhack.in/learn/dsa/problem/word-search) (Medium)
72. [Collect Coins in a Tree](https://www.internhack.in/learn/dsa/problem/collect-coins-in-a-tree) (Hard)
73. [Count of Integers](https://www.internhack.in/learn/dsa/problem/count-of-integers) (Hard)
74. [Design Search Autocomplete System](https://www.internhack.in/learn/dsa/problem/design-search-autocomplete-system) (Hard)
75. [Find Servers That Handled Most Number of Requests](https://www.internhack.in/learn/dsa/problem/find-servers-that-handled-most-number-of-requests) (Hard)
76. [Integer to English Words](https://www.internhack.in/learn/dsa/problem/integer-to-english-words) (Hard)
77. [Largest Rectangle in Histogram](https://www.internhack.in/learn/dsa/problem/largest-rectangle-in-histogram) (Hard)
78. [Max Points on a Line](https://www.internhack.in/learn/dsa/problem/max-points-on-a-line) (Hard)
79. [Merge k Sorted Lists](https://www.internhack.in/learn/dsa/problem/merge-k-sorted-lists) (Hard)
80. [Minimum Cost to Make Array Equal](https://www.internhack.in/learn/dsa/problem/minimum-cost-to-make-array-equal) (Hard)
81. [Minimum Window Substring](https://www.internhack.in/learn/dsa/problem/minimum-window-substring) (Hard)
82. [Reverse Nodes in k-Group](https://www.internhack.in/learn/dsa/problem/reverse-nodes-in-k-group) (Hard)
83. [Sliding Window Maximum](https://www.internhack.in/learn/dsa/problem/sliding-window-maximum) (Hard)
84. [Sum of k-Mirror Numbers](https://www.internhack.in/learn/dsa/problem/sum-of-k-mirror-numbers) (Hard)
85. [Trapping Rain Water](https://www.internhack.in/learn/dsa/problem/trapping-rain-water) (Hard)
86. [Word Search II](https://www.internhack.in/learn/dsa/problem/word-search-ii) (Hard)

## Prepare for the rest of the Cisco process

- [Aptitude questions by company](https://www.internhack.in/learn/aptitude/companies)
- [Technical interview questions](https://www.internhack.in/learn/interview)
- [Free ATS resume check](https://www.internhack.in/ats-score/try), no signup

## Other companies

- [Google](https://www.internhack.in/learn/dsa/companies/google) (2217)
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon) (1938)
- [Meta](https://www.internhack.in/learn/dsa/companies/meta) (1387)
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft) (1352)
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg) (1173)
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok) (383)
- [Uber](https://www.internhack.in/learn/dsa/companies/uber) (381)
- [Apple](https://www.internhack.in/learn/dsa/companies/apple) (356)
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle) (340)
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs) (270)
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe) (227)
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs) (217)
- [Salesforce](https://www.internhack.in/learn/dsa/companies/salesforce) (189)
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin) (180)
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho) (179)
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm) (170)
- [Infosys](https://www.internhack.in/learn/dsa/companies/infosys) (158)
- [Walmart Labs](https://www.internhack.in/learn/dsa/companies/walmart-labs) (152)
- [Accenture](https://www.internhack.in/learn/dsa/companies/accenture) (144)
- [Nvidia](https://www.internhack.in/learn/dsa/companies/nvidia) (137)
- [Yandex](https://www.internhack.in/learn/dsa/companies/yandex) (134)
- [DE Shaw](https://www.internhack.in/learn/dsa/companies/de-shaw) (124)
- [Visa](https://www.internhack.in/learn/dsa/companies/visa) (124)
- [Flipkart](https://www.internhack.in/learn/dsa/companies/flipkart) (117)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA by company](https://www.internhack.in/learn/dsa/companies)
