CodeDaily
Topics
DSA
Arrays & Strings
Recursion
Trees & Graphs
Dynamic Programming
Linked Lists
View all →
Web Dev
Frontend
Backend
Full Stack
DevOps
APIs & REST
View all →
AI & ML
Machine Learning
Deep Learning
Computer Vision
NLP
Data Science
View all →
Blockchain
Smart Contracts
DeFi
Web3
Solidity
NFTs & Tokens
View all →
Questions
Level 1 · Easy
Patterns
Linked Lists
Stacks and Queues
Binary Tree
Graphs
2D Arrays
Hashmap And Heap
All Level 1 →
Level 2 · Medium
Arrays and Strings
Dynamic Programming
Trees
Graphs
Linked List
Stacks
Bit Manipulation
All Level 2 →
Level 3 · Hard
Maths
Segment Tree
Game Theory
Number Theory
Geometry
Digit DP
Range Queries
All Level 3 →
Compiler
Python
JavaScript
Java
C++
C
TypeScript
Go
Rust
Kotlin
Swift
Ruby
C#
Dart
PHP
Zig
Perl
Haskell
Julia
F#
OCaml
Pascal
COBOL
All languages →
Contests
Sign In
CodeDaily
Topics
DSA
Web Dev
AI & ML
Blockchain
Cybersecurity
Cloud
DevOps
Mobile
System Design
Questions
Level 1 · Easy
Patterns
Linked Lists
Stacks and Queues
Binary Tree
Graphs
2D Arrays
Hashmap And Heap
Level 2 · Medium
Arrays and Strings
Dynamic Programming
Trees
Graphs
Linked List
Stacks
Bit Manipulation
Level 3 · Hard
Maths
Segment Tree
Game Theory
Number Theory
Geometry
Digit DP
Range Queries
Compiler
Python
JavaScript
TypeScript
Java
C++
C
Go
Rust
Kotlin
Swift
Ruby
C#
Dart
PHP
Zig
Perl
Haskell
Julia
F#
OCaml
Pascal
COBOL
All languages →
Contests
Sign In
Compiler
Swift
Sw
Swift
.swift
Run
Input (stdin)
5 10 20 30 40 50
Output
Click Run or press Ctrl+Enter
Other Compilers
Py
Python
JS
JavaScript
TS
TypeScript
Ja
Java
C+
C++
C
C
Go
Go
Rs
Rust
Kt
Kotlin
Rb
Ruby
C#
C#
Da
Dart
Ph
PHP
Zi
Zig
Pl
Perl
Hs
Haskell
Pa
Pascal
ML
OCaml
Jl
Julia
F#
F#
Co
COBOL
Practice DSA
Easy
Level 1 Problems
Medium
Level 2 Problems
Hard
Level 3 Problems