Hello World! Hello World! Using this project This is the Glitch Hello Website project. You can use it to build your own site. Check out the code in the editor and open the TODO for next steps!
संदेश
Two Sum Problem
- लिंक पाएं
- X
- ईमेल
- दूसरे ऐप
class Solution { public: vector < int > twoSum ( vector < int > & nums , int target ) { vector <int> vec; unordered_map <int , int> map; for ( int i = 0 ; i < nums . size (); i ++ ) { if (map. find ( target - nums [i]) != map. end ()) { vec. push_back (map[ target - nums [i]]); vec. push_back (i); return vec; } map[ nums [i]] = i; } return vec; } };
Salesforce Day 22-07-2022
- लिंक पाएं
- X
- ईमेल
- दूसरे ऐप
Creation of a Button in the below of Service Console. 1.Go to setup. 2.Search App Manager. 3.Look at the Service Console. 4.Edit the Service Console by Clicking the Drop down icon at the last column of it. 5.Then go to the Utility Items. 6.Add a Utility item that will be flow. 7.In that flow, you can select the height and width and also select the flow you want. 8.After that you can select the Layout as well. 9.Then click on save button. Salesforce Connect Odata via WebServices 1.Create a New external data Source. 2.Make sure No Authorization is Selected and In the URL Section, put the Northwind Odata URL that is of read only. (https://services.odata.org/ ) 3.When it is done then we click on Validate and Sync then data will be sync, then we have to select some tables of the data. then we press the Sync button. 4.Then we can look at the External Objects that are created with those tables that we sync here. 5.We want to see the External Objects record
Day 1: Time Complexity and Arrays
- लिंक पाएं
- X
- ईमेल
- दूसरे ऐप
Now, I am going to learn Data Structures and Algorithms and also the Competitive Programming and Problem Solving. Date: 14th Sept. 2021 Day 1: Time Complexity and Array Problems: 1. Insertion 2. Deletion 3. Linear Search 4. Binary Search 5. Maximum Element in an Array 6. Second Largest Element. 7. Third Largest Element. 8. Move 0's to the End. 9. Move 1's to the End. 10. Reverse and Array. 11. Left Rotation of an Array. 12. Right Rotation of an Array. 13. Leader in An Array. 14. Maximum Difference in Array. 15. Stocks Sell and Buy. 16. Trapping Rain Water Problem. 17. Maximum Consecutive 1's in an Array. 18. Maximum Sum of Subarray. 19. Maximum Length Even-Odd SubArray. 20. Maximum Circular Subarray Sum. 21. Majority Element in an Array. 22. Maximum Group Flips to make the same. 23. Maximum sum of k Consecutive Elements (Sliding Window Technique). 24. Prefix Sum. 25. Maximum Appearing Element in the Range. 26