Skip to content

Commit 9bbaa36

Browse files
committed
Add solution #2396
1 parent 90f5063 commit 9bbaa36

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@
309309
2154|[Keep Multiplying Found Values by Two](./2154-keep-multiplying-found-values-by-two.js)|Easy|
310310
2235|[Add Two Integers](./2235-add-two-integers.js)|Easy|
311311
2244|[Minimum Rounds to Complete All Tasks](./2244-minimum-rounds-to-complete-all-tasks.js)|Medium|
312+
2396|[Strictly Palindromic Number](./2396-strictly-palindromic-number.js)|Medium|
312313
2427|[Number of Common Factors](./2427-number-of-common-factors.js)|Easy|
313314
2469|[Convert the Temperature](./2469-convert-the-temperature.js)|Easy|
314315
2482|[Difference Between Ones and Zeros in Row and Column](./2482-difference-between-ones-and-zeros-in-row-and-column.js)|Medium|
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* 2396. Strictly Palindromic Number
3+
* https://leetcode.com/problems/strictly-palindromic-number/
4+
* Difficulty: Medium
5+
*
6+
* An integer n is strictly palindromic if, for every base b between 2 and n - 2 (inclusive),
7+
* the string representation of the integer n in base b is palindromic.
8+
*
9+
* Given an integer n, return true if n is strictly palindromic and false otherwise.
10+
*
11+
* A string is palindromic if it reads the same forward and backward.
12+
*/
13+
14+
/**
15+
* @param {number} n
16+
* @return {boolean}
17+
*/
18+
var isStrictlyPalindromic = function(n) {
19+
return false;
20+
};

0 commit comments

Comments
 (0)